# dBmonster | Track WiFi Devices With Their Recieved Signal Strength

**URL:** <https://onehack.st/t/dbmonster-track-wifi-devices-with-their-recieved-signal-strength/223242>\
**Category:** Tools & Scripts\
**Tags:** tools, documents\
**Created:** [August 30, 2022, 6:18pm UTC](https://onehack.st/t/dbmonster-track-wifi-devices-with-their-recieved-signal-strength/223242 "2022-08-30T18:18:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [August 30, 2022, 6:18pm UTC](https://onehack.st/t/dbmonster-track-wifi-devices-with-their-recieved-signal-strength/223242/1 "2022-08-30T18:18:50Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/4/2/420d79469c54a1f6a9ae23a58d5262a0b20b2eef.png)

[![](https://camo.githubusercontent.com/d2af911ad463977cdefc87a149efdb967b108a14ebdc4bab121b182c3e9fc720/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616465253230776974682d507974686f6e2d626c7565)](https://camo.githubusercontent.com/d2af911ad463977cdefc87a149efdb967b108a14ebdc4bab121b182c3e9fc720/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616465253230776974682d507974686f6e2d626c7565) [![](https://camo.githubusercontent.com/47be83b432ee44096297100bbbb120e95bd76c451050f6e34ce98e8a2b5bbb77/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f39304e34352d6433762f64426d6f6e737465722e737667)](https://camo.githubusercontent.com/47be83b432ee44096297100bbbb120e95bd76c451050f6e34ce98e8a2b5bbb77/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f39304e34352d6433762f64426d6f6e737465722e737667) [![](https://camo.githubusercontent.com/6e501ffe4e07bff56c7cff157949c084cb06cdd889d26ee8c22c203cb20b3b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41736b2532306d652d616e797468696e672d3161626339632e737667)](https://camo.githubusercontent.com/6e501ffe4e07bff56c7cff157949c084cb06cdd889d26ee8c22c203cb20b3b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41736b2532306d652d616e797468696e672d3161626339632e737667)  
[![](https://camo.githubusercontent.com/60344048601782cc3b6deeb0294acfc404f08a139efea4ec8212fbb2de30c1a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d6c69676874626c7565)](https://camo.githubusercontent.com/60344048601782cc3b6deeb0294acfc404f08a139efea4ec8212fbb2de30c1a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d6c69676874626c7565) [![](https://camo.githubusercontent.com/ff1c97744c66a2902fd0b58e117447679b1bbc9b686362b8086a136f2b70a728/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4d61634f532d6c6967687467726579)](https://camo.githubusercontent.com/ff1c97744c66a2902fd0b58e117447679b1bbc9b686362b8086a136f2b70a728/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4d61634f532d6c6967687467726579)

With dBmonster you are able to scan for nearby WiFi devices and track them trough the signal strength ([dBm](https://en.m.wikipedia.org/wiki/DBm)) of their sent packets (sniffed with [TShark](https://tshark.dev/setup/about/#what-is-tsharkdev)). These dBm values will be plotted to a graph with [matplotlib](https://matplotlib.org/). It can help you to identify the exact location of nearby WiFi devices (use a [directional WiFi antenna](https://simplewifi.com/blogs/news/omni-directional-vs-antennadirectional-antenna) for the best results) or to find out how your [self made antenna](https://www.makeuseof.com/10-diy-long-range-wi-fi-antennas-you-can-make-at-home/) works the best ([antenna radiation patterns](https://help.ui.com/hc/en-us/articles/115012664088-UniFi-Introduction-to-Antenna-Radiation-Patterns)).

## Table of contents

- [Features on Linux and MacOS](https://github.com/90N45-d3v/dBmonster#features-on-linux-and-macos)
- [Installation](https://github.com/90N45-d3v/dBmonster#installation)
- [Has been successfully tested on…](https://github.com/90N45-d3v/dBmonster#has-been-successfully-tested--on)
- [Troubleshooting for MacOS](https://github.com/90N45-d3v/dBmonster#troubleshooting-for-macos)
- [Working on…](https://github.com/90N45-d3v/dBmonster#working-on)
- [Additional information](https://github.com/90N45-d3v/dBmonster#additional-information)

## Features on Linux and MacOS

| Feature | Linux | MacOS |
| --- | --- | --- |
| Listing WiFi interfaces | ✅ | ✅ |
| Track & scan on 2.4GHz | ✅ | ✅ |
| Track & scan on 5GHz | ✅ | ✅ |
| Scanning for AP | ✅ | ✅ |
| Scanning for STA | ✅ | |
| Beep when device found | ❓ | ✅ |

## Installation

```auto
git clone https://github.com/90N45-d3v/dBmonster
cd dBmonster

# Install required tools (On MacOS without sudo)
sudo python requirements.py

# Start dBmonster
sudo python dBmonster.py

```

## Has been successfully tested on…

| Platform 💻 | WiFi Adapter 📡 |
| --- | --- |
| Kali Linux | ALFA AWUS036NHA, DIY [Bi-Quad WiFi Antenna](https://www.instructables.com/Bi-Quad-WiFi-Antenna/) |
| MacOS Monterey | Internal card 802.11 a/b/g/n/ac (MBP 2019) |

###### \* _should work on any MacOS or Debian based system and with every WiFi card that supports monitor-mode_

## Troubleshooting for MacOS

Normally, you can only enable monitor-mode on the internal wifi card from MacOS with the [airport](https://osxdaily.com/2007/01/18/airport-the-little-known-command-line-wireless-utility/) utility from Apple. Somehow, wireshark (or here TShark) can enable it too on MacOS. Cool, but because of the MacOS system and Wireshark’s workaround, there are many issues running dBmonster on MacOS. After some time, it could freeze and/or you have to stop dBmonster/Tshark manually from the CLI with the `ps` command. If you want to run it anyway, here are some helpful tips:

#### Kill dBmonster, if you can’t stop it over the GUI

Look if there are any processes, named dBmonster, tshark or python:

```auto
sudo ps -U root

```

Now kill them with the following command:

```auto
sudo kill <PID OF PROCESS>

```

#### Stop monitor-mode, if it’s enabled after running dBmonster

```auto
sudo airport <WiFi INTERFACE NAME> sniff

```

Press control + c after a few seconds

###### \* _Please contact me on [twitter](https://twitter.com/90N45), if you have anymore problems_

## Working on…

- Capture signal strength data for offline graphs
- Generate graphs from normal wireshark.pcapng file
- Generate multiple graphs in one coordinate system

### Additional information

- If the tracked WiFi device is out of range or doesn’t send any packets, the graph stops plotting till there is new data. So don’t panic 😉
- dBmonster wasn’t tested on all systems… If there are any errors or something is going wrong, contact me.
- If you used dBmonster on a non-listed Platform or WiFi Adapter, please open an issue (with Platform and WiFi Adapter information) and I will add your specification to the README.md

## GitHub:

> **[GitHub - 90N45-d3v/dBmonster: A Multitool For Tracking And Locating Nearby...](https://github.com/90N45-d3v/dBmonster)**
>
> A Multitool For Tracking And Locating Nearby Devices Via Their RF Activities.
