Network Traffic Analysis
Network Traffic Analysis may involve capture traffic and investigating it to find useful information such as:
- π Interesting files to reverse
- ποΈ Cleartext passwords
- πΊοΈ Lists of hosts/IP and protocols
- ...
We may not have a GUI and have to use a TUI or CLI applications.
You may use tshark -r xxx.pcap -w yyy.pcap -F libpcap
to convert a libpcap file to a standard file if Python tools complain.
Additional Uncommon Tools
net-creds β Simple Packet Analyzer
net-creds (1.6k β, 2019 πͺ¦) is a network packet sniffer which superseded creds.py (0.2k β, 2015 πͺ¦). It's written in Python2.
$ wget "https://raw.githubusercontent.com/DanMcInerney/net-creds/master/net-creds.py"
$ wget "https://raw.githubusercontent.com//quentinra/blog.quentinra.dev/cybersecurity/red-team/_knowledge/topics/_files/py3_and_fixes.patch"
$ patch -u < py3_and_fixes.patch
$ python3 net-creds.py -p xxx.pcap
NetworkMiner β Paid Packet Analyzer
NetworkMiner is a paid packet analyzer for Windows. It groups network traffic in tabs and per host. There is a free version πΈ.
π» To-do π»
Stuff that I found, but never read/used yet.
- Port scanning: look for packets matching the scan (ex: SYN=1;ACK=0)
-
tshark -Y
,tshark -r xxx.pcapng -T fields -e data.txt