Skip to content

MITM and Sniff

7h30th3r0n3 edited this page Jan 29, 2026 · 3 revisions

🕵️ MITM and Sniff


Overview

RaspyJack can launch an ARP-based MITM attack with traffic capture and save packets to a PCAP file.


Tools Used

  • arp-scan (host discovery)
  • arpspoof (ARP poisoning)
  • tcpdump (packet capture)

How It Works

  1. Select the active interface (eth0 or wlanX).
  2. Detect local network and choose /24 or /16 if needed.
  3. Scan hosts using arp-scan.
  4. Start ARP poisoning between gateway and hosts.
  5. Enable IP forwarding and capture traffic with tcpdump.

Setup / Requirements

  • Tools installed by install_raspyjack.sh.
  • Network with multiple hosts.

Output

PCAP files are saved to:

  • loot/MITM/network_traffic_<timestamp>.pcap

❓ FAQ

  • Q: Why does it say “No hosts found”?
    A: The interface may not be connected to a LAN with other devices, or ARP scan is blocked.
  • Q: How do I open the PCAP?
    A: Copy the file to a PC and open it in Wireshark.
  • Q: “arp-scan: command not found”.
    A: Install it with sudo apt install arp-scan or rerun the installer.
  • Q: No traffic in the capture.
    A: Ensure IP forwarding is enabled and victims are actually sending traffic.
  • Q: “Device or resource busy” on interface.
    A: Another tool is using the interface. Stop it or choose a different interface.

Clone this wiki locally