43. IoT and OT Security – Cameras, Smart Devices, Plant Networks
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):
- Inventory model + firmware version
- Subscribe to vendor PSIRT / CERT-In advisories that apply
- Test update on a spare / window; verify hash/signature when vendor publishes one
- Disable unused services after upgrade (Telnet likes to return)
- 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.
Ravindra Bagale's Tip – मराठी
Students "latest crack ROM" लावतात. Unsigned firmware = तुम्ही Red ला बोलावले. Interview: "Patch in a change window; verify vendor signature; isolate EOL IoT." लक्षात ठेवा.
Ravindra Bagale's Tip – हिंदी
Students "latest crack ROM" डाल लेते हैं. Unsigned firmware = आपने Red को बुलाया. Interview: "Patch in a change window; verify vendor signature; isolate EOL IoT." ध्यान रखो.
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)
- Write the lesson title, date and the exact lab target you are allowed to use.
- List three owned systems (VMs, apps, or cloud accounts) where this lesson applies.
- Run one safe check from the lesson on a lab system only. Paste the command and output.
- Write a two-sentence fix you would give a teammate.
- 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)
- Many devices were connected to the vendor's cloud management service, which can send commands to them.
- The attacker found and used a flaw in that cloud service. GL.iNet has not published the details.
- Through this trusted cloud path, the attacker made devices download and run malware.
- 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.
- 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:
- Install the latest security firmware from the vendor's official site, even if the device looks fine.
- Turn off cloud remote management if you do not really use it.
- 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.
- Change passwords and keys used on the device, like the admin password, Wi-Fi, VPN and SSH keys.
- For a KVM, also check the computers it controls for strange users, programs or logins.
- 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.
- Rule: once a week, look at the router's admin page for new users, new SSH keys and unknown startup tasks.
- Action: compare the firmware version with the vendor's latest security release.
- Check: in the firewall logs, look for the router making many connections to unknown IPs.
- 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.
1. काय झालं
या lesson मध्ये आपण शिकलो की device तेवढंच safe असतं जेवढं त्याचं firmware आणि update चा रस्ता safe असतो. ही घटना का महत्वाची आहे? कारण इथे attack internet वरून थेट router वर आला नाही. तो vendor च्या स्वतःच्या cloud मधून आला, म्हणजे ज्या रस्त्याने device manage होतं त्याच रस्त्याने.
- GL.iNet ही company घरचे आणि travel routers आणि KVM devices बनवते. KVM device ने आपण दूर बसून दुसरा computer बघू आणि चालवू शकतो.
- त्यांची GoodCloud service वापरून owners हे devices internet वरून remotely manage करतात.
- 20 नोव्हेंबर 2026 ला GL.iNet ने advisory मध्ये सांगितलं की एका अनोळखी व्यक्तीने त्यांच्या cloud remote-management service मधला एक flaw वापरून devices पर्यंत पोहोचून malware install केलं.
- GL.iNet म्हणते cloud flaw fix केला आणि तो रस्ता block केला, त्यामुळे आता या रस्त्याने नवीन devices infect होणार नाहीत. पण या fix ने आधीच infect झालेले devices साफ होत नाहीत.
- काही devices वर owners आणि researchers ना backdoors आणि लपलेले remote shells दिसले. Hack झालेल्या KVM ला जोडलेला computer सुद्धा धोक्यात असू शकतो.
- किती customers वर परिणाम झाला आणि flaw नक्की काय होता ते GL.iNet ने सांगितलं नाही. त्यांनी नवीन security firmware दिलं आणि एका community cleanup scanner ची link दिली.
2. Hack कसा झाला (फक्त public माहिती – high-level)
- खूप devices vendor च्या cloud management service ला जोडलेले होते. ही service devices ना commands पाठवू शकते.
- Attacker ने त्या cloud service मधला flaw शोधून वापरला. त्याची details GL.iNet ने publish केली नाहीत.
- या विश्वासाच्या cloud रस्त्याने attacker ने devices ना malware download करून चालवायला लावलं.
- Malware ने स्वतःला reboot नंतर परत सुरू होईल असं set केलं, साध्या दिसणाऱ्या process नावामागे लपवलं, आणि attacker साठी remote access उघडू शकत होतं.
- Researchers सांगतात की जुनी settings ठेवली तर काही लपलेल्या files नेहमीच्या firmware upgrade नंतरही राहू शकतात.
3. हे कसं थांबवायचं / defend कसं करायचं (हा lesson: firmware आणि update ची काळजी)
का: cloud वरून "कुठूनही manage करा" हे feature म्हणजे प्रत्येक device मध्ये जाणारा मोठा दरवाजा आहे. गरज नसेल तर तो extra धोका आहे.
Device owner किंवा छोटी IT team काय करू शकते:
- Device ठीक दिसत असलं तरी vendor च्या official site वरून latest security firmware install करा.
- खरंच वापरत नसाल तर cloud remote management बंद करा.
- Device hack झालं असं वाटलं तर आधी evidence save करा, मग जुनी settings न ठेवता firmware परत install करा. Malware असू शकेल असा जुना config backup restore करू नका.
- Device वरचे passwords आणि keys बदला, जसं admin password, Wi-Fi, VPN आणि SSH keys.
- KVM असेल तर त्याला जोडलेले computers सुद्धा check करा, नवीन users, programs किंवा logins दिसतात का.
- Routers आणि IoT devices चा बाहेर जाणारा traffic बघा. Router दिवसभर अनोळखी servers शी बोलत असेल तर हा धोक्याचा signal आहे.
उदाहरण: छोट्या office साठी "माझा router अजून माझाच आहे का?" check.
- Rule: आठवड्यातून एकदा router च्या admin page वर नवीन users, नवीन SSH keys आणि अनोळखी startup tasks बघा.
- Action: firmware version vendor च्या latest security release शी compare करा.
- Check: firewall logs मध्ये router अनोळखी IPs ना खूप connections करतोय का ते बघा.
- याचा अर्थ: hijack झालेलं device महिन्यांनी नाही, काही दिवसांत सापडतं.
4. परत असं होऊ नये म्हणून काळजी (checklist)
- [ ] आपल्याकडे सगळ्या routers, KVMs आणि IoT devices ची list आहे, model आणि firmware version सोबत.
- [ ] आपण vendor security advisories वाचतो आणि firmware लवकर update करतो.
- [ ] खरी गरज असेल तरच cloud remote management on आहे, आणि त्याला strong password व MFA आहे.
- [ ] Device चे admin pages internet वर उघडे नाहीत.
- [ ] IoT आणि KVM devices वेगळ्या network वर आहेत, main PCs आणि servers पासून दूर.
- [ ] Network devices कडून विचित्र outbound traffic गेला तर alert येतो.
Source: GL.iNet, security advisory about its cloud remote management services, 20 नोव्हेंबर 2026; BleepingComputer, "Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices", 22 नोव्हेंबर 2026.
1. क्या हुआ
इस lesson में आपने सीखा कि device उतना ही safe है जितना उसका firmware और update का रास्ता. यह घटना क्यों ज़रूरी है? क्योंकि यहाँ attack internet से सीधे router पर नहीं आया. वह vendor के अपने cloud से आया, यानी उसी रास्ते से जिससे device manage होता है.
- GL.iNet घर और travel के routers और KVM devices बनाती है. KVM device से आप दूर बैठकर दूसरा computer देख और चला सकते हैं.
- उसकी GoodCloud service से owners इन devices को internet से remotely manage करते हैं.
- 20 नवंबर 2026 को GL.iNet ने advisory में बताया कि एक अनजान व्यक्ति ने उसकी cloud remote-management service की एक कमज़ोरी (flaw) का इस्तेमाल करके devices तक पहुँचकर malware install किया.
- GL.iNet कहती है कि उसने cloud flaw fix कर दिया और वह रास्ता block कर दिया, इसलिए अब इस रास्ते से नए devices infect नहीं होंगे. लेकिन इस fix से पहले से infect हुए devices साफ नहीं होते.
- कुछ devices पर owners और researchers को backdoors और छुपे हुए remote shells मिले. Hack हुए KVM से जुड़ा computer भी ख़तरे में हो सकता है.
- कितने customers पर असर हुआ और flaw ठीक क्या था, यह GL.iNet ने नहीं बताया. उसने नया security firmware दिया और एक community cleanup scanner का link दिया.
2. Hack कैसे हुआ (सिर्फ़ public जानकारी – high-level)
- बहुत सारे devices vendor की cloud management service से जुड़े थे. यह service devices को commands भेज सकती है.
- Attacker ने उस cloud service का flaw ढूँढकर इस्तेमाल किया. इसकी details GL.iNet ने publish नहीं कीं.
- इस भरोसे वाले cloud रास्ते से attacker ने devices से malware download करवाकर चलवाया.
- Malware ने ख़ुद को reboot के बाद फिर से चालू होने के लिए set किया, आम दिखने वाले process नाम के पीछे छुपाया, और attacker के लिए remote access खोल सकता था.
- Researchers बताते हैं कि पुरानी settings रखी गईं तो कुछ छुपी files आम firmware upgrade के बाद भी बची रह सकती हैं.
3. इसे कैसे रोकें / defend करें (यह lesson: firmware और update की सफ़ाई)
क्यों: cloud से "कहीं से भी manage करो" वाला feature हर device में जाने वाला बड़ा दरवाज़ा है. ज़रूरत न हो तो यह extra ख़तरा है.
Device owner या छोटी IT team क्या कर सकती है:
- Device ठीक दिखे तब भी vendor की official site से latest security firmware install करें.
- अगर सच में इस्तेमाल नहीं करते तो cloud remote management बंद करें.
- अगर लगे कि device hack हुआ है तो पहले evidence save करें, फिर पुरानी settings रखे बिना firmware दोबारा install करें. पुराना config backup restore न करें, उसमें malware हो सकता है.
- Device पर इस्तेमाल हुए passwords और keys बदलें, जैसे admin password, Wi-Fi, VPN और SSH keys.
- KVM हो तो उससे जुड़े computers भी check करें, नए users, programs या logins तो नहीं दिखते.
- Routers और IoT devices का बाहर जाने वाला traffic देखें. Router दिनभर अनजान servers से बात करे तो यह ख़तरे का signal है.
उदाहरण: छोटे office के लिए "क्या मेरा router अभी भी मेरा है?" check.
- Rule: हफ़्ते में एक बार router के admin page पर नए users, नई SSH keys और अनजान startup tasks देखें.
- Action: firmware version को vendor के latest security release से compare करें.
- Check: firewall logs में देखें कि router अनजान IPs से बहुत connections तो नहीं कर रहा.
- इसका मतलब: hijack हुआ device महीनों बाद नहीं, कुछ दिनों में पकड़ में आता है.
4. दोबारा ऐसा न हो, इसके लिए ध्यान (checklist)
- [ ] हमारे पास सभी routers, KVMs और IoT devices की list है, model और firmware version के साथ.
- [ ] हम vendor security advisories पढ़ते हैं और firmware जल्दी update करते हैं.
- [ ] सच में ज़रूरत हो तभी cloud remote management on है, और उस पर strong password और MFA है.
- [ ] Device के admin pages internet पर खुले नहीं हैं.
- [ ] IoT और KVM devices अलग network पर हैं, main PCs और servers से दूर.
- [ ] Network devices से अजीब outbound traffic जाए तो alert आता है.
Source: GL.iNet, security advisory about its cloud remote management services, 20 नवंबर 2026; BleepingComputer, "Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices", 22 नवंबर 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.
Ravindra Bagale's Tip – मराठी
Router म्हणजे कधीही न झोपणारा छोटा computer आहे. Vendor चा cloud त्याला commands पाठवू शकत असेल, तर तो cloud फोडणारा attacker सुद्धा पाठवू शकतो. न वापरणारे remote features बंद ठेवा, आणि device hack झालं तर फक्त upgrade नको, clean install करा.
Ravindra Bagale's Tip – हिंदी
Router एक छोटा computer है जो कभी नहीं सोता. अगर vendor का cloud उसे commands भेज सकता है, तो उस cloud को तोड़ने वाला attacker भी भेज सकता है. जो remote features इस्तेमाल नहीं करते उन्हें बंद रखें, और device hack हो तो सिर्फ़ upgrade नहीं, clean install करें.
Check if you're safe: Website Security Checklist