A new piece of malware is targeting improperly secured Internet of Things (IoT) devices with the purpose of bricking them, Akamai’s security researchers have discovered.
Dubbed Silexbot, the bot is apparently the work of someone who claims to be “a 14-year-old boy from Europe” aiming to prevent other IoT malware families out there from infecting the insecure devices, as stated in the threat’s code.
Silexbot was first discovered earlier this week, but development of the botnet appears to have already stopped, likely due to the unexpected attention the malware has already received.
For infection, the bot targets known default credentials in IoT devices. Once it has gained access to the system, Silexbot fetches a list of all existing disk partitions, after which it writes random data from /dev/random to all of the discovered partitions.
The threat uses the fdisk command for disk partition discovery, but Akamai’s Larry Cashdollar says that an alternative method might be employed if the command isn’t available.
“While we have not seen concrete proof of this code functioning, within the binary the commands exist for Silexbot to read mounted file systems from /proc/mounts and write to them using mtd_write,” the researcher notes.
As soon as this operation has been completed, the malware deletes network configurations and flushes iptables, while also adding a new rule that DROPS all connections. Silexbot also uses rm -rf / to delete anything it might have missed, and finally halts the device.
“Silexbot also tries to trash the partition tables by setting the disk Cylinders/Heads/Sectors all to 1,” the researcher said in a tweet.
While the malware was designed to make the targeted systems inoperable, a firmware re-flash should help restore their functionality.
The observed Silexbot samples are targeting Unix-like ARM-based devices that use default login credentials. However, the researchers also discovered that a Bash shell version was available to download, meant to target any architecture running a Unix-like OS.
“However, the alleged teenager developing the code has claimed to be located in Europe in media interviews and hasn’t expressed anything that would suggest Silexbot is retaliatory, which some have speculated. His stated motive was to solely take down infection targets of other botnets and their authors,” Cashdollar points out.
Security researcher Ankit Anubhav, who talked to the Silexbot author, revealed on Twitter that the youngster has decided to leave the blackhat community after the bot gained too much unwanted attention.