trace file analysis - case studies.ppt › sharkfest.08 › t2-10...principal consultant | dubois...

9
T2-10: Trace File Ana Samples of Wireshar Laura Chappell Founder | Wireshark University Betty DuBois SHARKFEST '08 | Foothill Colleg Betty DuBois Principal Consultant | DuBois Training & SHARKFEST '08 Foothill College March 31 - April 2, 2008 alysis - Case Studies: rk in Action ge | March 31 - April 2, 2008 & Consulting, LLC

Upload: others

Post on 07-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

T2-10: Trace File Analysis Samples of Wireshark in Action

Laura ChappellFounder | Wireshark University

Betty DuBois

SHARKFEST '08 | Foothill College | March 31

Betty DuBoisPrincipal Consultant | DuBois Training & Consulting, LLC

SHARKFEST '08Foothill CollegeMarch 31 - April 2, 2008

10: Trace File Analysis - Case Studies: Samples of Wireshark in Action

SHARKFEST '08 | Foothill College | March 31 - April 2, 2008

Principal Consultant | DuBois Training & Consulting, LLC

Page 2: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Agenda – Network Troubleshooting

Whose fault is it? How do I prove it? What am I looking for?

Placement is critical – what if I have 2 Wiresharks and am looking at both places? Life is good.

The Network

� Packet Loss

� High Latency

SHARKFEST '08 | Foothill College | March 31

� High Latency

The Server

� High TCP handshake times. What should it be?

The Application

� Slow response times

� Once is freaky – twice is a pattern

� Show statistics depending on which trace file I use

Network Troubleshooting

Whose fault is it? How do I prove it? What am I looking for?

what if I have 2 Wiresharks and am looking

SHARKFEST '08 | Foothill College | March 31 - April 2, 2008

High TCP handshake times. What should it be?

twice is a pattern

Show statistics depending on which trace file I use

Page 3: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Best Practices for Protocol Analysis

Onsite v. offsite analysisCreate a baseline when performance is acceptableAnalyze application traffic before deployment (capacity planning)Troubleshooting Tips:

� Who complained?� Begin as close to the user as possible� Name captures appropriately (sue1, sue2, sue3mac, etc.)� Move analyzer as needed or use multiple analyzers and agents

Time-sync if using multiple analyzers� Time-sync if using multiple analyzers� Have taps/hubs in place for when the need arises� Focus on the time column (delta time setting)� Consider command-line capture (nmcap/tshark)

Security Tips:� Baseline protocols, applications, traffic patterns� Examine summary and protocol information for anomalies� Look for signatures in questionable traffic� Snort website has many signatures in the rule sets

Best Practices for Protocol Analysis

Create a baseline when performance is acceptableAnalyze application traffic before deployment (capacity planning)

Name captures appropriately (sue1, sue2, sue3mac, etc.)Move analyzer as needed or use multiple analyzers and agents

Have taps/hubs in place for when the need arisesFocus on the time column (delta time setting)

line capture (nmcap/tshark)

Baseline protocols, applications, traffic patternsExamine summary and protocol information for anomaliesLook for signatures in questionable trafficSnort website has many signatures in the rule sets

Page 4: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Configuration Problems

Network Loop

Is it a

� duplicate ACK

� or looped packet?

Duplicate ACK!

Configuration Problems

Page 5: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Configuration Problems

Network Loop

Is it a

� duplicate ACK

� or looped packet?

Looped Packet!

Configuration Problems

Page 6: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Redirections and InterdependenciesRedirections and Interdependencies

http-espn.pcap

Page 7: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Low Throughput

Determine maximum mbits/sec

Application issue?

Network bottleneck?

Y axis in bits/secondY axis in bits/second

� Y axis on A: 200,000

� Y axis on B: 50,000,000

A

B

Page 8: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

Traces to Review

tcp-handshake-problem.pcap

ftp-pasv-fail.pcap

http-fault-post.pcap

http-espn.pcap

dns-ttl-issue.pcapdns-ttl-issue.pcap

dhcp-server-slow.pcap

problem.pcap

Page 9: Trace file analysis - Case Studies.ppt › sharkfest.08 › T2-10...Principal Consultant | DuBois Training & Consulting, LLC SHARK FEST '08 Foothill College March 31 - April 2, 2008

What’s Next?

Laura’s Lab Kit v9

In show bags as well as…

ISO image: www.novell.com/connectionmagazine/laurachappell.html

Wireshark University: www.wiresharkU.com

Laura’s Blog: laurachappell.blogspot.com/

www.novell.com/connectionmagazine/laurachappell.html

www.wiresharkU.com

laurachappell.blogspot.com/