TSHARK: THE BASICS
CMD-LINE PACKET ANALYSIS | TSHARK & SUPPLEMENTAL CLI TOOLS
Use the "Desktop/exercise-files/demo.pcapng" file. View the details of the demo.pcapng file with "capinfors". What is the "RIPEMD160" value?
root@thm:~$ cd Desktop/exercise-files/
root@thm:~$ ls
demo.pcapng
root@thm:~$ capinfos demo.pcapng
File name: demo.pcapng
File type: Wireshark/tcpdump/... - pcap
Number of packets: 43
File size: 25 kB
Data size: 25 kB
Capture duration: 30.393704 seconds
First packet time: 2004-05-13 10:17:07.311224
Last packet time: 2004-05-13 10:17:37.704928
SHA256: 25a72bdf10339f2c29916920c8b9501d294923108de8f29b19aba7cc001ab60d
RIPEMD160: 6ef5f0c165a1db4a3cad3116b0c5bcc0cf6b9ab7
SHA1: 3aac91181c3b7eb34fb7d2b6dd6783f4827fcf07TSHARK FUNDAMENTALS I | MAIN PARAMETERS I
What is the installed TShark version in the given VM?
root@thm:~$ tshark -v
TShark (Wireshark) 3.2.3 (Git v3.2.3 packaged as 3.2.3-1)List the available interfaces with TShark. What is the number of available interfaces in the given VM?
root@thm:~$ sudo tshark -D
Running as user "root" and group "root". This could be dangerous.
1. ens5
2. lo (Loopback)
3. any
4. bluetooth-monitor
5. nflog
6. nfqueue
7. ciscodump (Cisco remote capture)
8. dpauxmon (DisplayPort AUX channel monitor capture)
9. randpkt (Random packet generator)
10. sdjournal (systemd Journal Export)
11. sshdump (SSH remote capture)
12. udpdump (UDP Listener remote capture)TSHARK FUNDAMENTALS I | MAIN PARAMETERS II
Read the "Desktop/exercise-files/demo.pcapng" file with TShark. What are the assigned TCP flags in the 29th packet?
root@dco:~$ tshark -r Desktop/exercise-files/demo.pcapng -Y "frame.number == 29"
29 4.105904 65.208.228.223 ? 145.254.160.237 TCP 1434 80 ? 3372 [PSH, ACK] Seq=12421 Ack=480 Win=6432 Len=1380 [TCP segment of a reassembled PDU]
* the -Y flag in tshark is used to apply a display filter to the packets
being processed. it ensures that only packets matching the given filter
expression are displayedRead the "Desktop/exercise-files/demo.pcapng" file with TShark. What is the "Ack" value of the 25th packet?
Read the "Desktop/exercise-files/demo.pcapng" file with TShark. What is the "Window size value" of the 9th packet?
TSHARK FUNDAMENTALS II | CAPTURE CONDITIONS
TSHARK FUNDAMENTALS III | PACKET FILTERING OPTIONS: CAPTURE VS DISPLAY FILTERS
TSHARK FUNDAMENTALS IV | PACKET FILTERING OPTIONS: CAPTURE FILTERS
Create a capture filter against the host 10.10.10.10 then send a curl request. What is the number of packets with SYN bytes?
Create a capture filter against the host 10.10.10.10 then send a curl request. What is the number of packets sent to the IP address "10.10.10.10"?
Create a capture filter against the host 10.10.10.10 then send a curl request. What is the number of packets with ACK bytes?
TSHARK FUNDAMENTALS V | PACKET FILTERING OPTIONS: DISPLAY FILTERS
Use the "Desktop/exercise-files/demo.pcapng" file. What is the number of packets with a "65.208.228.223" IP address?
Use the "Desktop/exercise-files/demo.pcapng" file. What is the number of packets with a "TCP port 3371"?
Last updated