BruteShark
BruteShark is a Network Forensic Analysis Tool (NFAT) that performs deep processing and inspection of network traffic from PCAP files or live captures. It extracts passwords, builds network maps, reconstructs TCP sessions, and converts encrypted password hashes to Hashcat format for offline brute force attacks.
Description
BruteShark provides a solution for security researchers and network administrators tasked with network traffic analysis to identify weaknesses that could be exploited by attackers to gain access to critical network points. The tool processes captured network traffic to extract valuable forensic artifacts such as credentials and files, reconstruct communication sessions, and map network topology.
Use cases include analyzing PCAP files for password harvesting, identifying DNS queries, VoIP communications, and generating reports for incident response or penetration testing. It supports both offline analysis of stored captures and real-time processing from live network interfaces.
On Linux, BruteShark operates as a command-line interface tool named brutesharkcli, making it suitable for automated scripts and terminal-based workflows in cybersecurity investigations.
How It Works
BruteShark deeply inspects network traffic using libpcap for packet capture and processing, supporting both PCAP files and live interfaces. It employs specialized modules for tasks like credential extraction from protocols, TCP session reconstruction, file carving, network mapping via topology inference, DNS query logging, and VoIP stream analysis. Hashes of encrypted passwords are identified and exported in Hashcat-compatible format for offline cracking, leveraging deep packet inspection techniques across common network protocols.
Installation
sudo apt install brutesharkFlags
Examples
brutesharkcli -hbrutesharkcli -i file1.pcap,file2.pcap -m Credentials -o /output/dirbrutesharkcli -d /path/to/pcaps -m NetworkMap,DNS -o resultsbrutesharkcli -l -p -f 'tcp port 80' -m FileExtracting -o live_resultsbrutesharkcli --input-dir captures/ --modules Voip,FileExtracting --output forensicsbrutesharkcli --input traffic.pcap --modules Credentials,NetworkMap --output /tmp/outputbrutesharkcli -l eth0 -m DNS --output dns_logs