iotaudit

What do smart devices on your network send?

View the Project on GitHub emirmrkaljevic/iotaudit

Phones: Android, iPhone and the web UI

For a short start, see the README.

iotaudit audits a smart-home device. A phone is usually the controller (the vendor app), not the thing you are grading. This page explains what each phone can and cannot do, without overselling.

The web UI (iotaudit web)

Run it on the computer that does the capturing:

iotaudit web                                  # http://127.0.0.1:8765 only
sudo "$(which iotaudit)" web --lan            # also reachable from your phone on the same Wi-Fi

It prints a URL with a random token, e.g. http://192.0.2.20:8765/?token=example. Open that exact URL on your phone; the token is moved into a cookie and stripped from the address bar.

What it does:

Safety defaults: it binds to 127.0.0.1 unless you pass --lan; a token is always required; --lan only answers clients from private/loopback ranges; the Host header is checked (blocks DNS rebinding) and POSTs from other origins are rejected. There is no TLS, so the token travels in clear text on your Wi-Fi. Only use --lan on a network you trust, stop the server when you are done, and pass your own --token if you want a stable one.

Android: PCAPdroid (works today)

PCAPdroid is a free, open-source, no-root capture app. It sees the phone’s own traffic through a local VPN, so on Android you can audit the vendor app (and anything else on the phone), but not the IoT device itself.

  1. In PCAPdroid, choose PCAP file as the dump mode. Optionally enable the PCAPdroid trailer so each packet carries the app name.
  2. Optionally filter to the vendor app. Start, use the app for a few minutes, stop.
  3. Upload the .pcap in the web UI, or copy it over and run iotaudit analyze capture.pcap.

iotaudit detects PCAPdroid files, strips the fake Ethernet header and trailer, and records which apps were seen. To audit the device itself, capture on a computer (ARP or hotspot mode).

iPhone: honest limits

Wi-Fi that blocks this

Guest networks and some mesh/ISP routers enable client isolation: devices cannot reach each other. Then the phone cannot open the web UI and ARP mode cannot see the device. Use the main network, or hotspot mode on Linux.