Skip to main content

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

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.

Recommended Videos

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.

Please enable Javascript to view this content

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.

Mark Coppock
Mark Coppock is a Freelance Writer at Digital Trends covering primarily laptop and other computing technologies. He has…
New Mac Studio release date, price and everything you need to know
Apple Mac Studio with M4 Max and M3 Ultra chips and two Apple Studio Display monitors.

The Apple Mac Studio has always packed a ton of power into a very diminutive block of what feels a lot like solid aluminum. It's designed to look like it's floating in air, and the majority of its ports are in the back and out of the way. There's simply no other desktop machine that takes up so little space and, frankly, looks so great on your desk.

The new model maintains all the best characteristics that makes it one of the best desktops while dramatically increasing the power. The previous generation hadn't yet received the faster GPU and Neural Engine performance, and that's now on tap. It's more expensive than ever, but if you need it, then it looks like it will deliver.
Release date and price
The new Mac Studio was announced on March 5, 2025, and will be available starting on March 12, 2025. That's earlier than many predictions, and very soon after its announcement.

Read more
The new Mac Studio absolutely baffles me in one key way
Apple Mac Studio with M4 Max and M3 Ultra chips and two Apple Studio Display monitors.

Way back when Steve Jobs returned to Apple and saved it from bankruptcy, he implemented his famous product quadrant: Apple should have desktops and laptops for consumers and professionals. These four categories should contain just one of the best Macs each -- no more, no less.

The idea was that you should be able to instantly differentiate each device and know who it’s for and what it does, and it worked incredibly effectively. Yet when I look at the new Mac Studio that Apple unveiled today, I get the feeling that Steve Jobs would be most displeased.

Read more
Google AI Mode will reinvent Search. I’m worried — and you should be, too
Google AI Mode for Search.

Google is pushing forward with more AI into how internet search works. Remember AI Overviews, which essentially summarizes the content pulled from websites, and presents it at the top of the Google Search page?

That error-prone feature is now expanding to the US market, powered by the new Gemini 2.0 AI models. It no longer requires a Google account sign-in, and has opened to users across all age groups. While that is a risky move in itself, Google is giving a similar blanket treatment to the whole Search page with a new AI Mode.

Read more