4 December 2026

AI and agents, every day. Straight to it.

RadarRadar

Scott J. Goldman intercepts a Coway air purifier's traffic to cut out the manufacturer's cloud

The Airmega IconS fetches its root certificate over plain HTTP, opening the door to a self-hosted server.

Bia Kanashiro

· 2 min read

Read in Portuguese

Scott J. Goldman began the investigation with a Raspberry Pi running as an isolated Wi-Fi access point, aiming to control the Airmega IconS, a discontinued model, without Coway's cloud. The write-up appeared on November 11 on Goldman's blog. The Home Assistant integration Goldman had relied on goes through Coway's servers and broke once or twice a year.

  1. Redirect ports 80 and 443 on the isolated network to mitmproxy with nftables rules. According to Goldman, Claude declined to help and ChatGPT wrote the rules. The Pi's antenna only reached the purifier from the same room, with the Pi wired over Ethernet to a laptop.
  2. Run mitmweb in transparent mode:
mitmweb \
 --mode transparent --showhost \
 --listen-host 0.0.0.0 --listen-port 8080 \
 --web-host 127.0.0.1 --web-port 8081 \
 --set web_open_browser=false \
 --emudhra-old
  1. Use a mitmproxy plugin to replace AmazonRootCA1.pem, which the device downloads over plain, unencrypted HTTP, with mitmproxy's own certificate authority (CA).

The purifier then trusted the substitute CA, without the eMudhra certificate-authority flaw disclosed in October. App commands use MQTT, a common IoT messaging protocol, encrypted on port 8883. According to Goldman, the MQTT configuration, requested over HTTPS, sets server and keys: whoever controls that response can point the purifier at a self-hosted server.

Before trying this, check in mitmweb whether your model downloads AmazonRootCA1.pem over HTTP; without that request, step 3 has nothing to replace.

Bia Kanashiro

Guides & prompts.

Read articles by Bia KanashiroEditorial policy
Report an error

Use 10–1,000 characters; a reply email shares this space.

Next in your reading list