17
10 Cool Things Y ou Should Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/Wireshark University SHARKFEST ‘10 Stanford University J 14 17 2010 June 1417, 2010

Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

10 Cool Things You Should Know 0 Coo gs ou S ou d oHow to Do with WiresharkJune 16, 2010

Laura ChappellFounder  |  Chappell University/Wireshark University

SHARKFEST ‘10Stanford UniversityJ 14 17 2010

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

June 14‐17, 2010

Page 2: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

What’s Up These Days?What s Up These Days?• Translations of Wireshark Network Analysis

• Wireshark Certified Network Analyst Exam Release

• Wireshark Certification Official Exam Prep Guide

• Wireshark Certification Bootcamps

• Oh yeah… and thislittle “Microsoft project”

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 3: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Skills to MasterSkills to Master

1 Perform Local/Remote Capture Like a Pro1.   Perform Local/Remote Capture Like a ProLocate most active interface

Test your interfaces (see video at wiresharkbook.com)Use rpcapd.exe for remote capture

2. WLAN Graphing (Get a Wi‐Spy Adapter now… Just do it!)Graphing 802 11 retries (wlan fc retry == 1)Graphing 802.11 retries (wlan.fc.retry == 1)

3. VoIP PlaybackLook for jitter, packet loss and errors

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 4: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Skills to MasterSkills to Master

4. Create Sexy Hot ProfilesyFree profiles online at wiresharkbook.comVideo on copying in profile info at wiresharkbook.com

5 R i M li i T ffi P tt5. Recognize Malicious Traffic PatternsHave a baseline ready

Know scanning/discovery signs

Colorize questionable traffic

6. Analyze an ApplicationWh t i th ?What is the process?

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 5: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Skills to MasterSkills to Master

6. Command‐line statistical reportingp gUsing Tshark effectively

7. Perform QoS Comparisons

8. Compare subnet performanceS #7 b t b t filt h i dd 10 2 0 0/16Same as #7, but use subnet filters such as ip.addr==10.2.0.0/16

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 6: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Skills to MasterSkills to Master

9. Add Columns Fast!Available with version. 1.4.0rc1

Right click on any field and select Apply as ColumnApply as Column

Right click column headings to align, rename and more (yes – you can left‐align the No column!)left align the No. column!) 

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 7: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Skills to MasterSkills to Master

10. Build Your “Exclusion Filter of Death”

ip.addr==192.168.0.106 && !srvloc && !dns && !ip.addr==74.6.114.56 && !ip.addr==239.255.255.250 && !ip.addr==96.17.0.0/16 && !ip.addr==192.168.0.102 && !smb && !nbns && !ip.addr== 192.168.0.103 && !ip.addr==64.74.80.187 && ! ip.addr==83.150.67.33 && !ip.addr==67.217.0.0/16 && !ip.addr==66.102.7.101 && !ip addr==216 115 0 0/16 && !ip addr==216 219 0 0/16 &&!ip.addr==216.115.0.0/16 && !ip.addr==216.219.0.0/16 && !ip.addr==69.90.30.72

See Analyzing TweetDeck Twaffic Project Report atwww.chappellseminars.com/projects.html

See “Google over SSL” Analysis atwww.wiresharkbook.com/coffee

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

www.wiresharkbook.com/coffee

Page 8: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Let’s Go Play with WiresharkLet s Go Play with Wireshark

• Profile StuffProfile Stuff

• Application Analysis Stuff

d d O G hi S ff• Advanced IO Graphing Stuff

• Whatever else comes to mind…

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 9: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Remote Capture 

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 10: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Graphing WLAN RetriesGraphing WLAN Retries

(wlan.fc.retry==1) && (wlan.sa==00:24:b2:1f:27:f9)

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 11: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Try Application Analysis Yourself!Try Application Analysis Yourself!• Launch First Instance of Wireshark

Cl DNS d b i h (i fi /fl hd )• Clear DNS and browsing cache (ipconfig /flushdns)

– Start capture

– http://sharepoint microsoft com/?wax=off– http://sharepoint.microsoft.com/?wax=off

– Stop capture

• Launch Second Instance of Wireshark• Clear DNS and browsing cache (ipconfig /flushdns)

– Start capture

– http://sharepoint.microsoft.com/?wax=on

– Stop capture

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Capture on your local host while running Wireshark and connecting to the site.

Page 12: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Compare Conversations (Time Values)

Page 13: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

VoIP Analysis and PlaybackVoIP Analysis and Playback

• Telephony | VoIP Calls | [select call] | Player | Decode [Check conversation(s)] | Play

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 14: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Malicious Traffic Detection

• Baseline, baseline, baseline

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 15: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Tshark Command‐Line StatisticsTshark Command Line Statistics

• FromWireshark Network AnalysisFrom Wireshark Network Analysis

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 16: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Tshark Command‐LineTshark Command Line 

• tshark –i 3 ‐qz conv eth ‐z conv ip –z conv tcptshark  i 3  qz conv,eth  z conv,ip  z conv,tcp

i 3-qz conv,eth

i -z conv,tcp-i 3

Capture on the 3rd interface listed by

q ,

Don’t show packets (-q ), but capture Ethernet 

-z conv,ip

Only use -qonce. Capture IP conversation

, p

Only use -qonce. Capture 

TCP listed by tshark -D conversation 

statistics

conversation statistics conversation 

statistics

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

Page 17: Cool Things You SSoudhould Know How to Do with Wireshark · 10 Cool Things You SSoudhould Know How to Do with Wireshark June 16, 2010 Laura Chappell Founder | Chappell University/WiresharkUniversity

Keep Up with MeKeep Up with Me

• Twitter ‐ www twitter com/laurachappellTwitter www.twitter.com/laurachappell

• Newsletter (chappellU.com)

i h k kl i ( i h k i i )• Wireshark Weekly Tips (wiresharktraining.com)

• Free Wireshark Webinars (chappellU.com)

• Microsoft Project ‐http://facebook.com/MVPpress ‐ Search for p // / ppost “Laura Needs Your Help” and reply with your ideas and suggestions

SHARKFEST   '09    |    Stanford  University   |    June  15–18,  2009

y gg