Kismet
Kismet
Section titled “Kismet”What Is Kismet
Section titled “What Is Kismet”Kismet is a wireless network and device detector, sniffer, wardriving tool, and WIDS (wireless intrusion detection) framework.
Kismet works with Wi-Fi and Bluetooth interfaces, SDR (software-defined radio) hardware like the RTLSDR, and other specialized capture hardware.
Kismet operates on Linux, macOS, and to a degree on Windows 10 under the WSL framework. On Linux, it supports most Wi-Fi cards, Bluetooth interfaces, and other hardware devices. On macOS, it works with built-in Wi-Fi interfaces, while on Windows 10, it supports remote captures.
Kismet operates passively (except for specific features like Bluetooth scanning). It is not typically an attack tool but focuses on collecting and analyzing wireless data. Logs generated by Kismet, such as PCAP files and handshakes, can be used with tools like Hashcat or Aircrack-NG for further analysis.
See the Kali Forum about Kismet
Installation
Section titled “Installation”1. Remove Kismet if installedsudo apt autoremove kismet
1. Install dependenciessudo apt install -y build-essential git libwebsockets-dev pkg-config zlib1g-dev \libnl-3-dev libnl-genl-3-dev libcap-dev libpcap-dev libnm-dev libdw-dev \libsqlite3-dev libprotobuf-dev libprotobuf-c-dev protobuf-compiler protobuf-c-compiler \libsensors4-dev libusb-1.0-0-dev python3 python3-setuptools python3-protobuf \python3-requests python3-numpy python3-serial python3-usb python3-dev python3-websockets \librtlsdr0 libubertooth-dev libbtbb-dev gpsd gpsd-clients
1. Clone and build Kismetgit clone https://www.kismetwireless.net/git/kismet.gitcd kismet./configuremake -j$(nproc)1. Install Xcode (if not installed)xcode-select -p 1>/dev/null || xcode-select --install
1. Install Homebrew and updatewhich -s brew || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew update
1. Install dependenciesbrew install git pkg-config python3 libpcap protobuf protobuf-c pcre librtlsdr libbtbb \ubertooth libusb openssl libwebsockets gpsd
1. Clone and build Kismetgit clone https://www.kismetwireless.net/git/kismet.gitcd kismetLDFLAGS=-L$(brew --prefix)/lib CPPFLAGS="-I$(brew --prefix)/include -I$(brew --prefix openssl)/include" ./configuremake -j$(nproc)sudo usermod -aG kismet $USERConfiguration
Section titled “Configuration”Network Interface Card (NIC) Configuration
Section titled “Network Interface Card (NIC) Configuration”1. List available wireless interfacesiwconfig
1. Edit Kismet configurationcd kismetnano kismet.confGPS Adapter
Section titled “GPS Adapter”gps=truegpsd=truegpsd-host=localhostgpsd-port=2947Wireless Adapter
Section titled “Wireless Adapter”ncsource=wlan0Logging
Section titled “Logging”logtypes=pcapdump,netxmllogtemplate=%n-%d-%i.%lWeb UI
Section titled “Web UI”web=truewebport=2501Remote Capture
Section titled “Remote Capture”remote=trueremotesource=wlan0Plugins
Section titled “Plugins”plugins=alert_log,db-log,db-sqlite,db-geoipAlerts
Section titled “Alerts”alerts=alert_log,alert_syslog,alert_screens,alert_webhookRunning Kismet
Section titled “Running Kismet”1. Run Kismet./kismet
1. Common options-c <config file> # Specify a config file-n # Don't start the UI-f <log file> # Log to a file-t <log type> # Log to a specific type-l <log level> # Log at a specific level-p <plugin> # Load a specific plugin-u <user> # Run as a specific user-w <work dir> # Specify a working directoryTroubleshooting
Section titled “Troubleshooting”GPSD Error
Section titled “GPSD Error”sudo apt install gpsd gpsd-clientssudo systemctl start gpsdbrew install gpsdgpsd -N -D 2 /dev/ttyUSB0USB Error
Section titled “USB Error”sudo usermod -aG kismet $USERsudo dseditgroup -o edit -a $USER -t user kismetHow do I add an SDR as a data source in Kismet?
Section titled “How do I add an SDR as a data source in Kismet?”Ensure SDR drivers are properly installed and add the appropriate SDR configuration to the Kismet data source settings.
Why is my GPS not providing accurate data to Kismet?
Section titled “Why is my GPS not providing accurate data to Kismet?”Ensure your GPS device is correctly installed and has a clear line of sight to the sky. Use gpsd and tools like cgps to verify operation.
Can I use Kismet for wardriving?
Section titled “Can I use Kismet for wardriving?”Yes. Configure Kismet to log data to disk, integrate GPS for location data, and use optimized wardriving settings.
How can I improve the capture range of my SDR?
Section titled “How can I improve the capture range of my SDR?”Optimize SDR gain settings and use high-quality antennas for your frequency range.
Can Kismet monitor Bluetooth devices?
Section titled “Can Kismet monitor Bluetooth devices?”Yes. Use compatible Bluetooth interfaces and configure them in Kismet as data sources.