Bettercap

From Elvis Wiki
Revision as of 19:39, 15 February 2020 by Dsloan (talk | contribs) (Added screenshots)

Summary

This documentation is about bettercap, more specifically the functionality related to Bluetooth. The bettercap tool is described on it’s website as "the Swiss Army knife for WiFi, Bluetooth Low Energy, wireless HID hijacking and Ethernet networks reconnaissance and MITM attacks".[1] In this Wiki entry, bettercap installed on a Raspberry Pi Model 4 B and tested on a Bluetooth Low Energy tea light.

Requirements

  • Raspberry Pi Model 4 B
  • Operating system: Raspbian Buster
  • Packages: build-essential, libpcap-dev, libusb-1.0-0-dev, libnetfilter-queue-dev
  • BLE device

Installation

Step 1

Install the prerequisites

sudo apt install golang git build-essential libpcap-dev libusb -1.0-0-dev libnetfilter-queue-dev 

Step 2

Install bettercap

go get github.com/bettercap/bettercap 
cd go/src/github.com/bettercap/bettercap 
make build 
sudo make install 

Step 3

Run bettercap

sudo bettercap

Description

The following shows the output after starting bettercap. Note the subnet and the IP address of the Raspberry Pi are shown.

After bettercap is running, a list of available commands and modules can be displayed using the command

help

Enter the module name to gain further help

help ble.recon


Used Hardware

Raspberry Pi 3 Model B+ Raspberry Pi 3, Model B+, WLAN, BT Raspberry Pi® 3 Model B, 1GB LPDDR2 RAM MiPow Playbulb Candle

Courses

References

References