A group of security researchers have developed a “nematode” anti-worm code to reduce the attack surface of Mirai, the name coined for the relatively unsophisticated source code used in the recent world record DDoS (distributed denial of service) attacks. The proof of concept nematode aims to help IoT device manufacturers patch up potentially devastating security holes before they are discovered by meddlesome baddies.
However, just when security researchers thought progress was being made in the defense of the IoT, a new Mirai-like malware crawled its way out of the woodwork – dubbed Linux/IRCTelnet and based on source code used in the Aidra botnet, according to vigilante geek squad MalwareMustDie.
The DDoS and IPv6-ready Linux/IRCTelnet malware works in a similar way to Mirai which, just last month, was responsible for an off-the-scale DDoS attack reaching speeds of 1.5Tbps – targeted at the website of journalist Brian Krebs. This was achieved using an army of 145,607 botnets made up of zombified devices such as cameras and DVRs, with each IP address firing requests at 1Mbps to 30Mbps.
The newly found Linux/IRCTelnet malware merely uses the telnet scanner function of IoT devices to compromise their telnet protocol to form a DDoS attack. To this end, we’d like to repeat a tweet from security blogger Hacker Fantastic, which we have used before to perfectly summarize the worrying simplicity of these DDoS attacks: “if all it took to create the biggest recorded DDoS attack in history was a telnet scanner and 36 weak credentials the net has a huge IoT problem.”
As with Mirai, the Linux/IRCTelenet does just that, but the botnet’s creator has left a clue behind to be uncovered by MalwareMustDie researchers, who found that the communication interface has been built with language messages in Italian – which narrows down the suspect list to about 61 million people.
Many publications, RIoT included, regularly critique the IoT industry for taking a somewhat apathetic view on security – largely because the work being done is under lock and key behind the scenes somewhere. So it’s refreshing that this week we can take the time to praise some of these security researchers – the developers of the anti-worm nematode are Eyal Ronen, Adi Shamir and Achi-Or Weingarten from the Weizmann Institute of Science in Israel, plus Colin O’Flynn from the Dalhousie University in Canada.
This group of researchers claim that their anti-worm code is capable of taking control of Philips’ Hue smart lightbulbs connected via the ZigBee wireless network, and can sweep an entire connected city to interfere with the functions of the bulbs.
While these researchers haven’t developed a miracle cure, they are doing the dirty work for companies such as Philips so it doesn’t have to. Thanks to their research, Philips took notice and acted upon it in haste, rolling out a firmware patch for the bulbs.
Similarly, a cybersecurity researcher at Invincea, Scott Tenaglia, recently identified a weakness in the stack buffer overflow of Mirai’s code, and a user of software developer community GitHub also developed a nematode from the research of Jerry Gamblin.
“This is a purely academic research project intended to show a proof of concept anti-worm worm, or nematode, for the types of vulnerabilities exploited by Mirai,” said GitHub user Linsky. “The idea is to show that devices can be patched by a worm that deletes itself after changing the password to something device- specific or random. Such a tool could theoretically be used to reduce the attack surface.”
The IoT has many flaws that inhibit its mass adoption, but it is clear that much research into fixing the various security leaks is being done done under wraps – it’s a shame that the big boys in the industry can’t make the same investments, and that computer security laws prevent these kinds of white-hat hackers from letting such a nematode loose in the wild, to clean up the sorry state of IoT security.