Ravindra BagaleCourses & study guides मराठी Track your progress

43. IoT and OT Security – Cameras, Smart Devices, Plant Networks

Cyber Security

43.7 Firmware, Updates and Supply-Chain Hygiene

Cameras and PLCs often:

  • Ship with old OpenSSL / BusyBox
  • Need vendor signed firmware – random "crack firmware" Telegram file = backdoor
  • Sit for years without patch because "line cannot stop"
  • Trust a USB stick from a "helpful" vendor tech

Blue hygiene (concepts):

  1. Inventory model + firmware version
  2. Subscribe to vendor PSIRT / CERT-In advisories that apply
  3. Test update on a spare / window; verify hash/signature when vendor publishes one
  4. Disable unused services after upgrade (Telnet likes to return)
  5. Supply chain: buy from known channel; change support passwords after vendor visit

Stuxnet (2010) remains the classic OT awareness story in exam modules: malware that propagated in industrial environments and impacted uranium enrichment centrifuges in Iran, as widely reported – proof that software can have physical effects. We study it as history and defence motivation, not as a rebuild kit.

Red team (attacker) does Blue team (defender) detects / stops
Tricks staff into unsigned firmware USB Signed updates only; write-protect where possible; train
Abuses old CVE on abandoned camera OS Replace or isolate EOL devices; VLAN + egress deny
Compromises vendor update channel (SUNBURST-class lesson) Outbound allow-list; monitor admin suites; staged rollouts

Ravindra Bagale's Tip

Students flash the "latest cracked ROM". Unsigned firmware = you invited Red in. Interview: "Patch in a change window; verify vendor signature; isolate EOL IoT." Keep this in mind.

Lab

For one fictional camera model in notes: invent (clearly labelled fictional) current version 1.0.2 and advisory "upgrade to 1.0.5". Write rollback plan if video dies. 6 lines. No real plant flash.

Real incident: TRITON / TRISIS against safety controllers (2017)

In 2017, Mandiant (FireEye) publicly described TRITON (also called TRISIS / HatMan in other reporting): malware aimed at Schneider Electric Triconex safety instrumented system (SIS) controllers – the last-resort safety layer that can shut a process down safely. Public write-ups describe attackers reaching an SIS engineering workstation and deploying a framework to interact with the controllers; some controllers entered a failed-safe state and shut the process, which triggered investigation. CISA later published malware analysis (HatMan). Weakness: path to safety systems, insufficient isolation of SIS networks, trust in engineering workstations. Defence: hard segregation of SIS, monitored engineering access, application whitelisting on engineering hosts, anomaly detection on TriStation-class protocols – and never "practise" against real SIS. Source: Mandiant TRITON blog (Dec 2017); CISA MAR HatMan; Schneider Electric advisories (verify).

Extended teaching notes

Why this lesson matters

Cameras, sensors and plant controllers often ship with weak defaults. Segment them from IT, change passwords, block inbound internet, and watch outbound traffic.

Real examples

Global: Mirai showed what default passwords on routers/cameras can do at scale. Indian SME (sample): a factory puts PLCs on a separate VLAN reachable only via a jump host.

Mini case study

Suppose we are on a purple-team exercise for an Indian mid-size company (sample data). Red notes a technique from this lesson against a lab clone. Blue must show the control that stops it, the log that would have fired, and the ticket that hardens production. That is the standard this course trains you for.

Defender's worksheet (do this today)

  1. Write the lesson title, date and the exact lab target you are allowed to use.
  2. List three owned systems (VMs, apps, or cloud accounts) where this lesson applies.
  3. Run one safe check from the lesson on a lab system only. Paste the command and output.
  4. Write a two-sentence fix you would give a teammate.
  5. Name one related public advisory (CERT-In, CISA, NVD, or a vendor bulletin) with its date.

Indian workplace (sample data)

Suppose we are a junior analyst at Infosys, TCS, Wipro or a fintech SOC in Bengaluru/Pune. Turn this lesson into one checklist item with an owner, a due date and a place to store evidence (ticket + screenshot).

Global practice

Compare your notes with OWASP, CIS Benchmarks, NIST CSF/IR guidance or a cloud Well-Architected security question. Write five lines on what overlaps.

Everyday analogy

Explain the risk and the fix to a family member without jargon. If they can repeat the warning, you understand it well enough to teach juniors.

Key terms

  • Control: a safeguard (patch, config, process, detection).
  • Finding: a weakness backed by evidence.
  • Remediation: the fix plus how you verified it.
  • Scope: systems you have written permission to touch.
  • Least privilege: only the access the task needs.
  • Defence in depth: several layers so one failure does not end the story.

Common mistakes

  • Skipping written permission "just for a quick scan".
  • Practising on hostel, office or public targets without authorisation.
  • Collecting tool output without writing the fix.
  • Copying attack steps onto production to "verify". Defenders verify with versions, configs and patches.
  • Publishing screenshots that contain secrets, cookies or internal hostnames.

Recap

  • Evidence, fix, owner, date.
  • Own lab only.
  • Fix > spectacle.

Real incident: GL.iNet GoodCloud – a flaw in the cloud remote-management service was used to put malware on routers and KVM devices (Nov 2026)

1. What happened

In this lesson you learnt that a device is only as safe as its firmware and its update path. Why does this case matter? Because here the attack did not come from the internet straight to the router. It came through the vendor's own cloud, the same path that is used to manage the device.

  • GL.iNet makes home and travel routers and KVM devices. A KVM device lets you see and control another computer from far away.
  • Its GoodCloud service lets owners manage these devices remotely over the internet.
  • On 20 November 2026 GL.iNet said in an advisory that an unauthorized party used a vulnerability in its cloud remote-management service to reach devices and install malicious software.
  • GL.iNet says it fixed the cloud flaw and blocked that path, so devices can no longer be newly infected this way. But this fix does not clean devices that were already infected.
  • Owners and researchers reported backdoors and hidden remote shells on some devices. On a hacked KVM, the computer it controls may also be at risk.
  • GL.iNet has not said how many customers were hit, or the exact details of the flaw. It released new security firmware and linked a community cleanup scanner.

2. How the hack happened (public reporting only – high-level)

  1. Many devices were connected to the vendor's cloud management service, which can send commands to them.
  2. The attacker found and used a flaw in that cloud service. GL.iNet has not published the details.
  3. Through this trusted cloud path, the attacker made devices download and run malware.
  4. The malware set itself to start again after a reboot, hid itself behind a normal-looking process name, and could open remote access for the attacker.
  5. Researchers warn that some hidden files can survive a normal firmware upgrade if old settings are kept.

3. How to stop it / defend (this lesson: firmware and update hygiene)

Why: a cloud "manage from anywhere" feature is a strong door into every device. If it is not needed, it is extra risk.

What a device owner or small IT team can do:

  1. Install the latest security firmware from the vendor's official site, even if the device looks fine.
  2. Turn off cloud remote management if you do not really use it.
  3. If you think a device was hit, save evidence first, then reinstall firmware without keeping old settings. Do not restore an old config backup that may hold the malware.
  4. Change passwords and keys used on the device, like the admin password, Wi-Fi, VPN and SSH keys.
  5. For a KVM, also check the computers it controls for strange users, programs or logins.
  6. Watch outbound traffic from routers and IoT devices. A router talking to unknown servers all day is a red flag.

Example: a simple "is my router still mine?" check for a small office.

  1. Rule: once a week, look at the router's admin page for new users, new SSH keys and unknown startup tasks.
  2. Action: compare the firmware version with the vendor's latest security release.
  3. Check: in the firewall logs, look for the router making many connections to unknown IPs.
  4. What it means: you find a hijacked device in days, not months.

4. How to take care so it won't happen again (checklist)

  • [ ] We keep a list of all routers, KVMs and IoT devices, with model and firmware version.
  • [ ] We read vendor security advisories and update firmware quickly.
  • [ ] Cloud remote management is off unless we truly need it, and it uses a strong password and MFA.
  • [ ] Device admin pages are not open to the internet.
  • [ ] IoT and KVM devices sit on their own network, away from main PCs and servers.
  • [ ] We alert on strange outbound traffic from network devices.

Source: GL.iNet, security advisory about its cloud remote management services, 20 November 2026; BleepingComputer, "Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices", 22 November 2026.

Ravindra Bagale's Tip

A router is a small computer that never sleeps. If the vendor's cloud can send it commands, so can an attacker who breaks that cloud. Turn off remote features you don't use, and when a device is hacked, reinstall clean, don't just upgrade.

Check if you're safe: Website Security Checklist