June 21, 2017 By Larry Loeb 2 min read

Security is a constant concern within the Internet of Things (IoT), especially with the emergence of IoT malware such as the Mirai bot.

Researchers from Pen Test Partners recently discovered more about Mirai, rendering it potentially even more dangerous than previous iterations. The firm investigated the hardware and software in connected devices to determine what is possible — other than a giant distributed denial-of-service (DDoS) botnet.

IoT Malware Continues to Develop

Pen Test Partners researcher Ken Munro said the firm looked at over 30 brands of DVR hardware. It found, among other things, that an exploitable buffer overflow is present over port 80, which could give rise to a new DVR botnet composed of 1 million or more devices.

The act of port exploitation is actually quite simple. A GET request in the device’s web server can be crafted to allow remote code execution. This web server is enabled by default to allow users to remotely manage their DVRs.

If at least 153 characters are appended during remote code execution, the main Sofia process will crash and reboot. Since all processes on the DVR run as root, any commands that are injected during the attack will do the same.

“The binary running the web service has not been compiled with any of the common mitigations (ASLR, SSP etc.), allowing this to be used for remote code execution,” Pen Test Partners reported. The firm also discovered that some of the DVRs use TCP port 12323, a Telnet port that is vulnerable to the same Mirai default credentials that were used in previous attacks.

Persistence Is Possible

Interestingly, Bleeping Computer explained that Pen Test Partners also found a way to remotely crush a standard Mirai botnet. However, the method could also be used to make Mirai persistent beyond a power-off reboot, which normally wipes the attack code.

In light of this, Pen Test Partners refrained from publishing any details about this new method. It feared that a weaponized version of Mirai might emerge, which is reasonable, given how the original Mirai code was swiftly modified and used in attacks.

IoT devices are sources of unregulated and widespread insecurity. While some manufacturers have taken limited steps to moderate the effects of the devices they make, they still have a long way to go to fully mitigate the risks.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today