L4 · SecuritySecurity 101 · part 2 of 2

Smart Homes Are a Security Nightmare (If You're Not Careful)

Every smart bulb is a small computer on your network. Here's how these devices get taken over, and the checklist that keeps them contained.

Takumi Yamada
· 5 min read
securityiotsmart-homeprivacynetworking

A smart bulb looks like a light.

On your network, it's a small computer. It has Wi-Fi, its own network software, firmware (the software built into the device) written by someone else, and a connection to a you don't control that stays open all the time.

A small black circuit board with a square chip, a smaller chip with eight legs, a wavy copper line along one end, and eight pins.
A Wi-Fi board of the kind built into many cheap smart plugs and bulbs. The square chip is a processor with a Wi-Fi radio, the smaller chip holds the firmware, and the wavy copper line is the antenna. This is the small computer inside the device.Photo: SparkFun Electronics, CC BY 2.0, via Wikimedia Commons (original).

Now add every smart plug, camera, doorbell, speaker, robot vacuum and thermostat in a modern home. You have many small computers that rarely get security fixes, inside your firewall, on the same network as your laptop. The protects you from the outside, but these devices are already inside.

The threat model, in one diagram

A threat model is a description of what could go wrong and who could cause it. Here is the one for a typical home.

ONE FLAT NETWORKROUTERLAPTOPpatchedPHONEpatchedCAMERA2019 fwPLUGdefault pwnothing stops it reaching the laptopIOT ON ITS OWN NETWORKROUTERLAPTOPpatchedPHONEpatchedCAMERA2019 fwPLUGdefault pwstopped at the router
Left, the default. Right, the same devices with the gadgets on a network of their own, which is item 2 on the checklist below.

Your laptop gets security updates every week. Your smart plug got its last update in the factory, and the company that made it may not exist next year.

LAPTOPupdated every weekSMART PLUGupdated at the factoryits only updateboughtone year later
One year of security updates for each.

Even so, by default they share the same network, and nothing stops the plug from connecting to the laptop.

How smart devices actually get owned

Default passwords. In 2016, a piece of called Mirai took over hundreds of thousands of cameras and . It used them as a botnet, a large group of hijacked devices controlled together, and launched some of the largest attacks ever recorded, which flooded websites with traffic until they stopped working. Mirai didn't need a clever trick. It tried a list of about sixty factory passwords, and that was enough.

FACTORY LOGINS IT TRIESadmin / adminroot / 12345admin / passwordabout sixty pairs in allCAMERAfactory passwordlogin works: taken overROUTERfactory passwordlogin works: taken overPLUGpassword changedlogin refused
The Mirai method. A device whose password was changed is not affected.

Firmware that never gets fixed. When a security hole is found in a popular Wi-Fi chip, your laptop's maker sends out a fix within days. For a smart plug from an unknown brand, the fix may never be written. Even when it is, most devices never install it, because nothing tells the owner that an update exists.

The cloud dependency. Most consumer smart devices don't really work inside your home. They work through the maker's servers, often called the cloud. Your app talks to a server in the maker's data centre, and that server talks back into your house through a connection the device keeps open.

YOUR APPVENDOR'S SERVERtheir data centreYOUR ROUTERkept open by the devicecommands come back along itDEVICEin your homeThe app never talks to the device. Both talk to the vendor.
How a command reaches a cloud-controlled device. The connection into your home is one the device opened itself.

That design has three results. The maker, and anyone who breaks into the maker's systems, has a permanent way into your network. Data about how you use the devices is stored on their servers. And if the company shuts down, your devices can stop working completely.

Moving sideways. The device itself is rarely what the attacker wants. It's the way in. A hacked bulb on the same network as everything else can search for your (Network Attached Storage), your laptop's open , and your printer's old firmware. Security people call this lateral movement. The attacker wants what the bulb can reach, not the bulb.

The sensors themselves. Cameras, microphones, motion sensors and apps that track location are built to observe. A hacked camera account, or a badly protected remote viewing feature, lets a stranger watch your home. Even when they work as intended, many devices send the maker data about when you are home, when you speak and what you watch.

The containment checklist

I don't think you have to choose between convenience and safety. You have to keep the devices contained, which means limiting what each one can reach. Here are the steps, ordered from the least effort for the most benefit.

#MeasureWhy it works
1Change every default passwordStops Mirai-style attacks completely
2Put on a separate networkThe bulb reaches the internet but not your laptop
3Buy from vendors with an update track recordFirmware fixes matter more than the device's features
4Turn off features you don't useEvery feature is one more way in
5Prefer local first controlDevices that work without the cloud can be cut off from the internet
6Watch the networkYou can't defend what you can't see

IoT, short for Internet of Things, is the general name for these connected devices.

Number 2 is the most important one. With a guest network, or a VLAN (a virtual , which splits one physical network into separate ones), a hacked plug can no longer reach the rest of the house. It can only reach the internet. Most home routers can already do this, with their guest Wi-Fi option.

Number 5 is about how the system is designed. such as Zigbee and Z-Wave don't use IP (Internet Protocol) at all. The devices talk to a local hub by radio, and only the hub, which you control, is on your network. With Home Assistant, an open-source home control system, you can run a whole house without letting a single device reach the internet. The cloud becomes optional instead of required.

ZIGBEE OR Z-WAVE RADIO, NO IPBULBPLUGSENSORHUByou control itROUTERINTERNETthe only deviceon the networkoptional
Local first control. Only the hub is on the network, and the link to the internet is optional.

The mindset

Treat every smart device the way a system administrator treats an unknown server.

It's a computer, not an appliance. It runs code, code has bugs, and bugs get exploited.

Assume it's unsafe until it's contained. Separate it first, and trust it later.

The maker's goals aren't yours. Makers want easy setup, so things are open by default. They want data, so data collection is on by default. You can change both defaults, but only if you do it yourself.

The Bottom Line

I built my own security tools for my Arch Linux computers, because I got tired of not knowing what my own machines were doing: which programs use the camera and microphone, which files change, and what connects to the network.

A smart home multiplies that problem by twenty, and you can't install anything on the devices to check them. When you can't inspect a device, containing it is the only plan that works: separate networks, local hubs, and blocking everything that isn't needed.

Every smart device is a computer that rarely gets fixed, controlled by its maker, inside your firewall. With that in mind, smart home security becomes a checklist you can follow.

Check yourself

3 questions · nothing is saved
  1. 1.How did Mirai take over hundreds of thousands of cameras and routers in 2016?
  2. 2.What does lateral movement mean?
  3. 3.What does putting smart devices on a guest network or VLAN achieve?

Who wrote this

Author profile and background

Takumi Yamada

Takumi Yamada

· Backend Engineer

Backend engineer building services, databases, Linux tooling, and NEGEN SYSTEMS. Writing about low-level mechanics, distributed systems, and real-world security.

End of post
NEGEN SYSTEMS
Receipt · post 20 of 31
Written
Apr 25, 2026
Length
1,022 words · 5 min
Built
…
Served by
…
Delivered
…
Over the wire
…
Go's share
…
Next up the stack · L5 Languages

C++ 101: The Language That Trusts You Completely

C++ gives you control over every byte of memory, and its modern features do most of the cleanup for you. Values, references, RAII, classes, templates and the standard library, with the reason behind each one.

11 min read