There’s a newly discovered Linux worm out, according to a new blog post published by Symantec. Right now, the worm appears to be affecting only x86 computers running Linux and PHP, however it can possibly attack smaller devices such as set top boxes, home routers, and security cameras. Also potentially affected are Apache web servers and PHP servers. In addition to this threat, the attacker hosts variants for other architectures including PPC, MIPSEL, MIPS and ARM.
Because many embedded devices are rarely updated due to outdated technology or some other issue, the concern remains that some devices (such as routers) may be left open to infection. The worm, which is called Linux Darlloz, utilizes an old vulnerability that had been patched back in May 2012.
In their blog post, Symantec researchers wrote, “Upon execution, the worm generates IP addresses randomly, accesses a specific path on the machine with well-known ID and passwords, and sends HTTP POST requests, which exploit the vulnerability. If the target is unpatched, it downloads the worm from a malicious server and starts searching for its next target. Currently, the worm seems to infect only Intel x86 systems, because the downloaded URL in the exploit code is hard-coded to the ELF binary for Intel architectures.”
Steps To Protect Your Devices
In the post, Symantec recommends taking the following steps:
- Verify all devices connected to the network
- Update their software to the latest version
- Update their security software when it is made available on their devices
- Make device passwords stronger
- Block incoming HTTP POST requests to the following paths at the gateway or on each device if not required:
- -/cgi-bin/php
- -/cgi-bin/php5
- -/cgi-bin/php-cgi
- -/cgi-bin/php.cgi
- -/cgi-bin/php4