Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
An Introduction to Protocol Analysis
INTRODUCTIONS
Gerald Combs

 Author
 Founder
 Developer
 Community Leader
Cace Technologies
 Where Gerald Works (for now)
 Home of AirPcap
    For wireless captures of 802.11 frames
 TurboCap
 Wireshark Appliances
 Pilot Reporting Software
PILOT
Laura Chappell
 Where to begin
 Is an independent
 Runs
    Wireshark University
    Chappell University
    Heads up Wireshark
     Certification
Wireshark University
 Training Materials
 Videos
 Captures
 Books
 CD/DVD
Other Tools
 T Shark                       TCPDump
    Included with wireshark       Native to *nix
 Netmonitor                       Windows version
 Capsa                         Snoop
 Cain                             Sun Microsystems

 Windump                       Ettercap
                                Dsniff
                                Ngrep
OVERVIEW
Purpose
 Troubleshooting
    Slow Networks
    Application Problems
    DNS Issues
    Web Servers
    DHCP Issues
Review of OSI
 Layer 7   Application    (Net Process to App)
 Layer 6   Presentation   (Data Rep. & Encrypt)
 Layer 5   Session        (Interhost Comm)
 Layer 4   Transport      (Delivery Protocol)
 Layer 3   Network        (Logical Addressing)
 Layer 2   Data Link      (Physical Addressing)
             • MAC
             • LLC

 Layer 1   Physical       (Media, signal & Bin)
Review of OSI

 Layer 8   Politics & Money
Review of Ethernet
Ethernet Frame Structure
Review of IP
IP Packet Structure
Review of TCP
TCP Segment Structure
Review of TCP/IP
 TCP                           IP
    Layer 4 Transport            Layer 3 Logical
       RES/NONCE/CWR/ECHO            Addressing Protocol
       URG/ACK/PSH/RST/SYN/          (10.1.0.22/24)
        FIN
   Connection Oriented
 UDP
   Layer 4 Transport
    Protocol
   Connectionless
TCP Flags
• Special Flags (first one reserved)
   • NS = Nonce Sum
   • CWR = Congestion Window Reduced
   • ECE = ECN-Echo
• URG = Urgent
• ACK = Acknowledgement
• PSH = Push
• RST = Reset
• SYN = Synchronize
• FIN = Finish
See Appendix A
Wireshark
Basic Network Applications
 FTP - TCP           SIP – TCP/UDP
    Ports 20 & 21       Port 5060
 Telnet - TCP        SQL - TCP
    Port 23             Port 1433
 SMTP - TCP          RDP - TCP
    Port 25             Port 3389
 DNS - UDP           PPTP - TCP
    Port 53             1723 & 1725
 HTTP - TCP          Syslog – UDP
    Port 80             Port 514
TCP HADNSHAKE
DATA TRANSFER
SESSION CLOSURE
LAB/BREAK
A Guided Tour
Profiles
Preferences
DIRECTORY STRUCTURE
Personal Settings
 C:users<username>AppDataRoamingWireshark
 profiles
   Profiles
       cfilters
       preferences
System Settings
 C:program fileswireshark
    Dfilters – display filters
    Dumpcap - program
    Editcap – edit .pcap files
    Mergecap – merge .pcap files
    Rawshark – capture in “raw” format
    Text2pcap – conversion tool
    Tshark – cli version of wireshark
    Colorfilters (don’t touch!)
Ring Buffers
 What are they            Configuring
 Where are they stored       Single/multiple
 Why are they useful         What size
                              How often
                              How many
                              Stopping
Selecting an Interface
 Preferences       Manually
Saving Files
 Where?
 How big?
 How many?
 What format?
 Speed to disk
Placement
 Hubbing Out        ->   Easy but loss of data
 Port Spanning      ->   Good on less busy net
 In Line Taps       ->   Best but pricey
CAPTURES


Get as close as possible!
Captures
 Where to store them
 How much space do they
  take up
 How to store them
Display Filters
 Not my MAC
Capture Filters
 Not my MAC
Colorizing
 Built in scheme
 Change on the fly
LAB 1
LAB 2
LAB 3
LAB 4
LAB 5
Statistics and Reporting
 Statistics                  Advanced Statistics
    Conversations               Conversation lists
    Endpoints
    IP Addresses
    IP Endpoints
    IP Protocol Types
    UDP Multicast Streams
     WLAN Traffic
RESOURCES
 www.wireshark.org         Wireshark
 www.cacetech.com          Wireshark Certification
 www.chappellseminars.c    Guide
  om                       Wireshark Certification
 www.wiresharkuniversity   Exm Prep Guide
  .com
STAY SECURE!

More Related Content

What's hot

Wireshark network analysing software
Wireshark network analysing softwareWireshark network analysing software
Wireshark network analysing software
dharmesh nakum
 
Wireshark
Wireshark Wireshark
Wireshark
antivirusspam
 
Wireshark Tutorial
Wireshark TutorialWireshark Tutorial
Wireshark Tutorial
Coursenvy.com
 
Wireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsWireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance tools
Sachidananda Sahu
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
David Sweigert
 
Wireshark
WiresharkWireshark
Wireshark
Vijay kumar
 
Vlan
VlanVlan
Tcpdump
TcpdumpTcpdump
Tcpdump
Sourav Roy
 
Workshop Wireshark
Workshop Wireshark Workshop Wireshark
Workshop Wireshark
Fabio Rosa
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
Er. Anmol Bhagat
 
CCNA training 101
CCNA training 101CCNA training 101
CCNA training 101
Rohan Reddy
 
Network monitoring tools
Network monitoring toolsNetwork monitoring tools
Network monitoring tools
Chathurangi Shyalika
 
Wireshark - presentation
Wireshark - presentationWireshark - presentation
Wireshark - presentation
Kateryna Haskova
 
Wireshark
WiresharkWireshark
Wireshark
Alanoud Alqoufi
 
Wireshark
WiresharkWireshark
Wireshark Basic Presentation
Wireshark Basic PresentationWireshark Basic Presentation
Wireshark Basic Presentation
MD. SHORIFUL ISLAM
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
VISHNU N
 
Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with Wireshark
Jim Gilsinn
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
Reetesh Gupta
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
Dsunte Wilson
 

What's hot (20)

Wireshark network analysing software
Wireshark network analysing softwareWireshark network analysing software
Wireshark network analysing software
 
Wireshark
Wireshark Wireshark
Wireshark
 
Wireshark Tutorial
Wireshark TutorialWireshark Tutorial
Wireshark Tutorial
 
Wireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsWireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance tools
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
 
Wireshark
WiresharkWireshark
Wireshark
 
Vlan
VlanVlan
Vlan
 
Tcpdump
TcpdumpTcpdump
Tcpdump
 
Workshop Wireshark
Workshop Wireshark Workshop Wireshark
Workshop Wireshark
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
CCNA training 101
CCNA training 101CCNA training 101
CCNA training 101
 
Network monitoring tools
Network monitoring toolsNetwork monitoring tools
Network monitoring tools
 
Wireshark - presentation
Wireshark - presentationWireshark - presentation
Wireshark - presentation
 
Wireshark
WiresharkWireshark
Wireshark
 
Wireshark
WiresharkWireshark
Wireshark
 
Wireshark Basic Presentation
Wireshark Basic PresentationWireshark Basic Presentation
Wireshark Basic Presentation
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with Wireshark
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
 

Similar to Wireshark

JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
Gnu Alsonative
 
JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
Gnu Alsonative
 
Protocols
ProtocolsProtocols
Protocols
Abdelaziz Elbaze
 
FD.io - The Universal Dataplane
FD.io - The Universal DataplaneFD.io - The Universal Dataplane
FD.io - The Universal Dataplane
Open Networking Summit
 
Network
NetworkNetwork
Network
rumoorthyit
 
Networks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI ModelNetworks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI Model
Brandon Checketts
 
Protocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDNProtocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDN
Gerardo Pardo-Castellote
 
Thaker q3 2008
Thaker q3 2008Thaker q3 2008
Thaker q3 2008
Obsidian Software
 
Peer-to-peer Internet telephony
Peer-to-peer Internet telephonyPeer-to-peer Internet telephony
Peer-to-peer Internet telephony
Kundan Singh
 
Master Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to ExpertMaster Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to Expert
Abhishek Sagar
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
Kumar Alok
 
an_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.pptan_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.ppt
Iwan89629
 
2020 osi 7 layers for grade12
2020 osi 7 layers for grade122020 osi 7 layers for grade12
2020 osi 7 layers for grade12
Osama Ghandour Geris
 
ARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack PortingARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack Porting
Mathivanan Elangovan
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack
monad bobo
 
slides
slidesslides
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorial
openflow
 
Networking and communications security – network architecture design
Networking and communications security – network architecture designNetworking and communications security – network architecture design
Networking and communications security – network architecture design
EnterpriseGRC Solutions, Inc.
 
Ap nr5000 pt file
Ap nr5000 pt fileAp nr5000 pt file
Ap nr5000 pt file
AddPac1999
 
NUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osioNUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osio
Hajime Tazaki
 

Similar to Wireshark (20)

JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
 
JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
 
Protocols
ProtocolsProtocols
Protocols
 
FD.io - The Universal Dataplane
FD.io - The Universal DataplaneFD.io - The Universal Dataplane
FD.io - The Universal Dataplane
 
Network
NetworkNetwork
Network
 
Networks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI ModelNetworks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI Model
 
Protocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDNProtocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDN
 
Thaker q3 2008
Thaker q3 2008Thaker q3 2008
Thaker q3 2008
 
Peer-to-peer Internet telephony
Peer-to-peer Internet telephonyPeer-to-peer Internet telephony
Peer-to-peer Internet telephony
 
Master Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to ExpertMaster Class : TCP/IP Mechanics from Scratch to Expert
Master Class : TCP/IP Mechanics from Scratch to Expert
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
an_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.pptan_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.ppt
 
2020 osi 7 layers for grade12
2020 osi 7 layers for grade122020 osi 7 layers for grade12
2020 osi 7 layers for grade12
 
ARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack PortingARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack Porting
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack
 
slides
slidesslides
slides
 
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorial
 
Networking and communications security – network architecture design
Networking and communications security – network architecture designNetworking and communications security – network architecture design
Networking and communications security – network architecture design
 
Ap nr5000 pt file
Ap nr5000 pt fileAp nr5000 pt file
Ap nr5000 pt file
 
NUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osioNUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osio
 

Wireshark

Editor's Notes

  1. Add some slides here but hide them when not needed.
  2. GusBrian
  3. Orignial Author and Developer
  4. Mention Turbocap,Airpcap, and Pilot
  5. Where to begin
  6. Get some more information on commercial tools available.
  7. Explain the outline of the day. 45 minute hours with 10 minute or longer labs and potty and snack breaks builtin.
  8. Show off slides of other sniffersIntroduce tcpdump and tshark and let them know we will provide more info in the advanced section after lunchTalk about how you discuss the transmission medium – wire v fiber v air
  9. Hide when not needed for advanced users.
  10. Check your NIC to see if TCP Checksum offload is available and/or turned on or off. If on it will cause your frames to be 4 bytes smaller than normal because you will not see the FCS at the end of the frame.
  11. Packet structureICMPAD netbiosnmap scan DirbusterSnoopNmap ||parserCpan
  12. Perhaps a more detailed explanation of each of these. Maybe attach and appendix with more detailed info.Mention window size and why it is importantRunts and giantsTcp flagintrduction
  13. See if Gus can give more on NS, CWR and ECE
  14. Just an example of an ACK segment
  15. Go to http://www.wireshark.org and download and reinstall the latest 64 bit version on your system.Install wireless USB nics.Let them do some will packet captures is they want to just mess around as we will go over the application in the next session.
  16. Explain
  17. Explain
  18. HubsSwtichesIn line taps
  19. Colorizing LabReviewthe captures provided.Explore your preferences.Create different profiles for situations like Wlan v Lan v WAN captures.Create profiles for preferred networks.Explore your directory structures.Create at least two coloring rules.Create at least two new capture filters to be applied to a capture file.Create at least two display filters to be applied to a capture file.
  20. Display Filter labCreate a capture of at least 2 meg that consists of 2 1 meg files.Attempt to user mergecap to combine the two files.Download windump, run and attempt to open your saved capture with Wiresharkwindump –i &lt;interface name&gt; &gt; &lt;filename&gt;
  21. Capture filter labDisplay Filter labCreate a capture of at least 2 meg that consists of 2 1 meg files.Attempt to user mergecap to combine the two files.Download windump, run and attempt to open your saved capture with Wiresharkwindump –i &lt;interface name&gt; &gt; &lt;filename&gt;
  22. Merge lab
  23. Tshark lab