bettercap

bettercap -iface eth0
net.probe on
net.recon on
net.sniff on

bettercap is a versatile suite for network reconnaissance and MiTM attacks. It excels at ARP spoofing, System manipulation, HTTPS stripping, and credential interception across Wi‑Fi, Bluetooth LE, and Ethernet. Essentially, it's a modern Swiss Army knife for Sniffing and manipulating network traffic.

BetterCAP is a powerful, easily extensible, and portable security tool used by security researchers, ethical hackers, and red teamers primarily for performing reconnaissance and active attacks on various networks, including Ethernet and wireless environments.

Core Identity and Classification

Primary Functionality and Attack Capabilities

BetterCAP is designed to facilitate active network interference, primarily focusing on Man-in-the-Middle (MITM) attacks and network reconnaissance:

MITM Attacks

One of the main features of BetterCAP is its ability to perform MITM attacks on both IPv4 and IPv6 networks. It achieves this through built-in spoofing capabilities:

Network Targets

It supports attacking and performing reconnaissance on various network types, including:

Session Hijacking

Attackers can use BetterCAP, alongside tools like OWASP ZAP and Hetty, to hijack a session between a client and a server. The tool facilitates reconnaissance and attacking networks.

Exploiting Network Flaws

The successful execution of an MITM attack using a tool like BetterCAP, often relying on ARP spoofing, exploits the fundamental structure of local networks:

Usage Examples

Basic Interface Setup

bettercap -iface eth0

Network Reconnaissance

net.probe on
net.recon on

Network Sniffing

net.sniff on

Comprehensive MITM Attack

bettercap -iface eth0 -eval "set http.proxy.sslstrip true; set net.sniff.verbose true; set net.sniff.output /root/mitm.pcap; set arp.spoof.fullduplex true; set arp.spoof.internal true; net.recon on; net.probe on; arp.spoof on; http.proxy on; net.sniff on"

Technical Details and Availability

The official source for BetterCAP is its website, https://www.bettercap.org. It is described as a portable framework. A command-line screenshot shows BetterCAP running on a Parrot Terminal.

Resources