Configs2026年5月15日·1 分钟阅读

Bettercap — Network Attack and Monitoring Framework

A comprehensive network reconnaissance and MITM framework written in Go, supporting WiFi, Bluetooth, HID, and IP-based network security assessments.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Bettercap Overview
通用 CLI 安装命令
npx tokrepo install 915beb00-509b-11f1-9bc6-00163e2b0d79

Introduction

Bettercap is a network security tool for WiFi, Bluetooth Low Energy, IP, and HID device reconnaissance and testing. It replaces the older Ettercap and provides a modern, extensible framework for authorized network security assessments with both a CLI and a web-based UI.

What Bettercap Does

  • Performs ARP, DNS, and DHCP spoofing for man-in-the-middle testing on local networks
  • Scans and enumerates WiFi access points, clients, and performs deauthentication tests
  • Discovers and interacts with Bluetooth Low Energy devices and HID peripherals
  • Captures and analyzes network traffic with real-time credential sniffing
  • Provides a scriptable caplet system for automating multi-step assessments

Architecture Overview

Bettercap is written in Go with a modular session-based architecture. Each protocol handler (net, wifi, ble, hid) runs as an independent module within a shared session context. The event bus connects modules, allowing triggers and automated responses. The web UI communicates via a REST API backed by the core session engine.

Self-Hosting & Configuration

  • Requires root or sudo privileges for raw socket and monitor mode access
  • WiFi features need a wireless adapter that supports monitor mode
  • Caplet scripts define reusable attack and monitoring sequences
  • The web UI runs on a configurable local port with HTTP basic authentication
  • Supports output logging to file, JSON, or custom event handlers

Key Features

  • Unified framework covering WiFi, BLE, Ethernet, and HID attack surfaces
  • Interactive JavaScript-based caplet scripting for complex workflows
  • Real-time web UI dashboard with network visualization
  • Transparent HTTP and HTTPS proxying with request and response manipulation
  • Extensible module system with community-contributed caplets

Comparison with Similar Tools

  • Ettercap — predecessor tool for LAN MITM; Bettercap is a modern rewrite with broader protocol coverage
  • Aircrack-ng — focused on WiFi cracking; Bettercap covers WiFi plus BLE, HID, and IP layers
  • Wireshark — passive packet analysis; Bettercap actively interacts with the network
  • mitmproxy — HTTP/HTTPS proxy tool; Bettercap provides full network-layer MITM beyond HTTP
  • Kismet — wireless monitoring and detection; Bettercap adds active testing capabilities

FAQ

Q: What operating systems does Bettercap support? A: Linux is the primary platform with full feature support. macOS and Windows have partial support, mainly for IP-based modules.

Q: Do I need special hardware? A: IP-based features work with any network interface. WiFi features require a monitor-mode-capable adapter. BLE requires a compatible Bluetooth dongle.

Q: Is a web UI available? A: Yes. The http-ui and https-ui caplets launch a browser-based dashboard for real-time monitoring and control.

Q: Can I automate assessments? A: Caplet scripts allow chaining commands and defining triggers. You can run complete assessment workflows unattended.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产