Skip to main content

Hajime is a ‘white worm’ that infects and secures vulnerable IoT devices

russia hotel wi fi hack hacking hacker lifestyle pc keyboard
pwstudio/123RF
The Internet of Things (IoT) has been a source of some serious security concerns recently, with millions of IoT devices being vulnerable to attack and compromise. Mirai is perhaps the most famous of all IoT malware, and it was at the root of an attack in October 2016 that took down a significant portion of the Internet.

Now, there’s another piece of code that’s targeting IoT devices, and it’s growing. The strange thing, however, is that as far as anyone can tell, the so-called “Hajime” code isn’t doing anything bad, and in fact, it might be doing some good, as Symantec’s Security Response blog reports.

Researchers have known about Hajime since October 2016, and the software is like Mirai in that it targets IoT devices with open Telnet ports and secured with the factory default username and password credentials. Hajime, therefore, uses the same attack vector as the destructive malware that was responsible for the massive distributed denial of service (DDoS) attack last year.

What makes Hajime different is that it appears to contain no destructive code, and it’s actually even more stealthy and effective at hiding itself than Mirai. Hajime also utilizes a peer-to-peer network as opposed to relying on a single command and control (C&C) server. Oddly enough, the latter characteristic makes Hajime more robust and harder to shut down than Mirai, because there’s not a single server to locate and eradicate.

However, the only active thing Hajime does at this point is to display a message every 10 minutes or so, which is currently limited to saying, “Just a white hat, securing some systems. Important messages will be signed like this. Hajime Author. Contact CLOSED. Stay Sharp!” Researchers note that the message is cryptographically signed and requires a hardcoded key, and so it’s clear where the message comes from.

Perhaps more important, Hajime also takes steps to lock down the IoT devices it infects, blocking a few ports that have been identified as making devices vulnerable to attack. In essence, the Hajime code helps to secure IoT devices and given its fast growth rates is actively securing the internet at large.

Symantec
Symantec

Of course, there’s no guarantee that Hajime’s author actually has good intentions. The reality is that Hajime is making things safer today, but it remains a piece of code that’s architected in such a way as to make it a relatively trivial matter to switch over to nefarious purposes.

In addition, these “white hat hacking” attempts and “white worms,” as they’re called, are temporary — reboot the device and they go away. They’re not like firmware updates that would have a lasting effect. Therefore, devices could be infected with Mirai one day, then “fixed” with Hajime the next, and then further “fixed” with one of the other white hack efforts that have attempted to clean up the IoT security mess.

In the long run, what’s needed is for IoT users to lock down their devices with strong passwords, and to shut off Telnet login and use SSH where they can. Router security can be strengthened by turning off Universal Plug and Play (UPnP), and all devices should be kept up to date with the latest firmware updates. Until users and manufacturers do their part to lock down IoT, however, it will remain something of a wild, wild west where black and white hat hackers battle for control.

Editors' Recommendations

Mark Coppock
Mark has been a geek since MS-DOS gave way to Windows and the PalmPilot was a thing. He’s translated his love for…
This Samsung 27-inch QHD gaming monitor is almost 50% off
Samsung's 2023 Odyssey Neo G7 sitting on a table.

Complete your PC gaming setup with the 27-inch Samsung Odyssey G6 curved gaming monitor, which is available from Walmart with a $333 discount that nearly halves its original price of $700 to only $367. This is one of the most attractive monitor deals that we've seen recently due to all of the features that you'll be getting for this affordable price. You're going to have to act fast though -- the offer may expire at any moment, so you're going to want to complete your purchase before that happens.

Why you should buy the 27-inch Samsung Odyssey G6 curved gaming monitor
The Samsung Odyssey G6 curved gaming monitor is an excellent display for the best PC games. The gaming monitor offers QHD resolution so that you'll enjoy sharp details and vivid colors while you're playing, while the 1000R curvature matches the curve of your eye and fills your peripheral vision for a more comfortable viewing experience. This is important when you have the habit of playing video games for several hours at a time. The Samsung Odyssey G6 curved gaming monitor also supports the Samsung Gaming Hub, which will let you access various cloud gaming services in one place.

Read more
Forget Apple’s 5K Studio Display: Dell’s UltraSharp 6K monitor is $150 off
The Dell 32-inch UltraSharp 6K monitor on a white background at a side angle.

Excited by the prospect of the world’s first 6K monitor? Be even more excited when you realise that Dell has discounted the Dell UltraSharp 32 6K Monitor at the moment so you can buy it for $150 off. One of the best high-end monitor deals out there today, it’s perfect for those who want the ultimate monitor right now. Usually priced at $2,480, it’s down to $2,330 for a limited time. Here’s what you need to know about it.

Why you should buy the Dell UltraSharp 32 6K Monitor
The best 4K monitors look great but they won’t compete with the wonders of the Dell UltraSharp 32 6K Monitor and its 6144 x 3456 resolution. That amount of pixels is spectacular in all the right ways with a color gamut of 99% DCI-P3 further aiding matters. It has an IPS Black panel which is a superior type of IPS panel. It offers 35% deeper blacks and greater gray colour level accuracy than conventional IPS for exceptional contrast and a sharper content viewing experience. It’s well-suited for content creation and video editing so it’s just what someone needs from a 6K screen. The 32-inch screen promises up to 156% more pixels compared to a 4K monitor with wide color coverage and exceptional 2000:1 contrast ratio.

Read more
This flash deal gets you 80% off a 2-year SurfShark VPN subscription
The Surfshark logo on a blue background.

It's highly recommended for everyone to have a VPN (virtual private network) in their devices, as you can never be too sure when it comes to your online privacy. The good ones don't come cheap though, which is why VPN deals always attract a lot of attention. Here's one for you to shop -- a two-year subscription to the SurfShark VPN Starter Plan for only $57, following an 80% discount from StackSocial on its original price of $290. You're going to have to hurry with your purchase if you're interested though, as we expect the offer and its savings of $233 to get sold out quickly.

Why you should buy the SurfShark VPN Starter Plan
First, you need to understand what is a VPN. Simply put, it's a necessity these days due to how much our daily lives rely on online activities. A VPN will protect your personal and financial information from cybercriminals, preventing headaches caused by identity theft and unauthorized charges on your credit cards. It will also allow you to bypass any geoblocking restrictions as you can have your device appear as if it's located in another place.

Read more