Categories: Forensics Tools

PcapXray – GUI Network Forensics Tool To Analysis a Packet Capture Offline

Network Forensics Tool is often used by security professionals to test the vulnerabilities in the network. With this kali Linux tutorial, we introduce a Comprehensive tool PcapXray to analyze the pcap file.

The tool plots hosts in the network, network traffic, highlight important traffic and Tor traffic as well as potentially malicious traffic.

The tool contains the following components

  • Network Diagram.
  • Device/Traffic Details and Analysis.
  • Malicious Traffic Identification.
  • Tor Traffic
  • GUI – a GUI with options to upload pcap file

Tutorial – Network Forensics Tool

The packet capture tool can be called from GitHub. The tool gives security officials an initial glitch for investigation.

git clone https://github.com/Srinivas11789/PcapXray.git

cd PcapXray

To install the requirements: pip install -r requirements.txt

To Run : python Source/main.py

It will launch a graphical user interface and ask to locate the pcap file.

For demonstration, we have used the Netflix phishing campaign’s pcap file, with this tool we can extract the web traffic, Tor traffic, Malicious traffic, and other traffic details.

The analysis takes some time, and after that, we get a detailed report on communication, Device, and Packet details.

The location URL detected a Netflix Phishing page.

And the Destination IP 98[.]209[.]70[.]101 is not resolvable at the time of our analysis, looks like the campaign already ended.

The tool includes the following Python libraries

Scapy – rdpcap to read the packets from the pcap file
Ipwhois – to obtain whois information from ip
Netaddr – to check ip information type
Pillow – image processing library
Stem – tor consensus data fetch library
pyGraphviz – plot graph
Networkx – plot graph
Matplotlib – plot graph

Demo:

Author Credits Srinivas P G Github.

You can follow us on LinkedinTwitter, and Facebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Brinker Named Among “10 Most Promising Defense Tech Startups of 2025”

Brinker, an innovative narrative intelligence platform dedicated to combating disinformation and influence campaigns, has been…

4 hours ago

Hackers Use DeepSeek and Remote Desktop Apps to Deploy TookPS Malware

A recent investigation by cybersecurity researchers has uncovered a large-scale malware campaign leveraging the DeepSeek…

5 hours ago

SmokeLoader Malware Uses Weaponized 7z Archives to Deliver Infostealers

A recent malware campaign has been observed targeting the First Ukrainian International Bank (PUMB), utilizing…

5 hours ago

New Malware Targets Magic Enthusiasts to Steal Logins

A newly discovered malware, dubbed Trojan.Arcanum, is targeting enthusiasts of tarot, astrology, and other esoteric…

5 hours ago

Hackers Exploit Cloudflare for Advanced Phishing Attacks

A sophisticated phishing campaign orchestrated by a Russian-speaking threat actor has been uncovered, revealing the…

5 hours ago

Over 1,500 PostgreSQL Servers Hit by Fileless Malware Attack

A sophisticated malware campaign has compromised over 1,500 PostgreSQL servers, leveraging fileless techniques to deploy…

5 hours ago