Yellow devices still use a default or weak password and can be taken over; green ones are hardened. Try segmentation or faster patching and see the outbreak fizzle out. Click devices to infect or clean them.
The science
The outbreak is a stochastic SIR epidemic on a network. Each infected device tries, every hour, to log in to each linked vulnerable neighbour with probability 1 − e−β·Δt; each infected device is cleaned or patched (becoming immune) at rate δ per hour. Hardened devices (unique passwords) are never infected, which is a site-percolation effect: only the fraction pv of nodes can carry the infection.
Per-link transmissibility is T = β/(β+δ). On a random network the outbreak threshold is R0 = T·pv·(⟨k²⟩ − ⟨k⟩)/⟨k⟩ > 1, computed live from the actual degree sequence after segmentation (the readout). In a well-mixed population the final infected fraction z solves z = s0(1 − e−(βk/δ) z), and the chance that a single seed takes off is about 1 − 1/R0.
Independent check: a separate continuous-time Gillespie simulation of 600 well-mixed devices (60 runs, re-run whenever you change a parameter) is compared with the final-size equation and the takeoff probability shown below the readouts. The visible network is local and sparse, so its outbreak is usually smaller than the well-mixed theory; that gap is real physics of networks, not an error.
Simplifications: 150 devices in a random geometric layout (links to nearest neighbours), constant rates, no re-infection, no attacker-side scanning of the whole internet, no device types. All rates are illustrative, not measurements of any real botnet. Defensive education only: it contains no attack code or exploit details.