SlideShare una empresa de Scribd logo
1 de 51
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
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!

Más contenido relacionado

La actualidad más candente

Traceroute- A Networking Tool
Traceroute- A Networking ToolTraceroute- A Networking Tool
Traceroute- A Networking ToolAmit Kumar
 
Wireshark course, Ch 03: Capture and display filters
Wireshark course, Ch 03: Capture and display filtersWireshark course, Ch 03: Capture and display filters
Wireshark course, Ch 03: Capture and display filtersYoram Orzach
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic AnalysisDavid Sweigert
 
Wireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsWireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsSachidananda Sahu
 
Nmap 9 truth "Nothing to say any more"
Nmap 9 truth "Nothing to say  any more"Nmap 9 truth "Nothing to say  any more"
Nmap 9 truth "Nothing to say any more"abend_cve_9999_0001
 
Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with WiresharkJim Gilsinn
 
Network analysis Using Wireshark Lesson 11: TCP and UDP Analysis
Network analysis Using Wireshark Lesson 11: TCP and UDP AnalysisNetwork analysis Using Wireshark Lesson 11: TCP and UDP Analysis
Network analysis Using Wireshark Lesson 11: TCP and UDP AnalysisYoram Orzach
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking ExplainedThomas Graf
 

La actualidad más candente (20)

Wireshark tutorial
Wireshark tutorialWireshark tutorial
Wireshark tutorial
 
Wireshark
WiresharkWireshark
Wireshark
 
wireshark
wiresharkwireshark
wireshark
 
Traceroute- A Networking Tool
Traceroute- A Networking ToolTraceroute- A Networking Tool
Traceroute- A Networking Tool
 
Wireshark Tutorial
Wireshark TutorialWireshark Tutorial
Wireshark Tutorial
 
Wireshark course, Ch 03: Capture and display filters
Wireshark course, Ch 03: Capture and display filtersWireshark course, Ch 03: Capture and display filters
Wireshark course, Ch 03: Capture and display filters
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
 
Wireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsWireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance tools
 
Wireshark Basics
Wireshark BasicsWireshark Basics
Wireshark Basics
 
Wireshark Basic Presentation
Wireshark Basic PresentationWireshark Basic Presentation
Wireshark Basic Presentation
 
Understanding NMAP
Understanding NMAPUnderstanding NMAP
Understanding NMAP
 
Wireshark - presentation
Wireshark - presentationWireshark - presentation
Wireshark - presentation
 
Nmap 9 truth "Nothing to say any more"
Nmap 9 truth "Nothing to say  any more"Nmap 9 truth "Nothing to say  any more"
Nmap 9 truth "Nothing to say any more"
 
Wireshark
WiresharkWireshark
Wireshark
 
Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with Wireshark
 
Port scanning
Port scanningPort scanning
Port scanning
 
Packet Sniffing
Packet SniffingPacket Sniffing
Packet Sniffing
 
Network analysis Using Wireshark Lesson 11: TCP and UDP Analysis
Network analysis Using Wireshark Lesson 11: TCP and UDP AnalysisNetwork analysis Using Wireshark Lesson 11: TCP and UDP Analysis
Network analysis Using Wireshark Lesson 11: TCP and UDP Analysis
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 
Nmap tutorial
Nmap tutorialNmap tutorial
Nmap tutorial
 

Similar a 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 CenturyGnu 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 CenturyGnu Alsonative
 
Workshop Wireshark
Workshop Wireshark Workshop Wireshark
Workshop Wireshark Fabio Rosa
 
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 ModelBrandon Checketts
 
Protocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDNProtocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDNGerardo Pardo-Castellote
 
Peer-to-peer Internet telephony
Peer-to-peer Internet telephonyPeer-to-peer Internet telephony
Peer-to-peer Internet telephonyKundan 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 ExpertAbhishek Sagar
 
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.pptIwan89629
 
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 PortingMathivanan 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
 
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorialopenflow
 
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 designEnterpriseGRC Solutions, Inc.
 
Ap nr5000 pt file
Ap nr5000 pt fileAp nr5000 pt file
Ap nr5000 pt fileAddPac1999
 

Similar a 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
 
Workshop Wireshark
Workshop Wireshark Workshop Wireshark
Workshop Wireshark
 
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
 

Wireshark

Notas del editor

  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