March 3, 2016 By Douglas Bonderud 2 min read

Ransomware has become a popular attack vector with a well-known execution strategy: Infect a user’s computer, encrypt all files and scramble the names, then ask for money in exchange for the decryption key.

According to Naked Security, however, the game is changing: A new form of PHP ransomware skips the local device part of the infection and instead goes straight for Web servers. The result? Virtually any site that hosts content is under threat. Here’s a look at the newest ransomware roll out.

PHP Ransomware in the Locker Room

As noted by PCWorld, this new ransomware is known as CTB Locker, which is the same as one of the most widespread Windows ransomware attacks. While there’s no confirmation that the two are related, initial reports indicated that this new CTB Locker could have a similarly substantial impact.

Most content management systems, including WordPress, Joomla and Drupal, use the PHP programming language to produce dynamically generated content. But there’s a problem: Before any Web page is sent out by its server, PHP scripts are executed. If attackers can insert a new index.php, they can take control of all server-side PHP scripts and can do whatever they like with website content.

Attackers could gain access by stealing website login credentials or by using servers containing unpatched plugins that permit users to modify files that should be protected. Once infected, cybercriminals can leave their code until they submit a specific upload request. This starts the encryption process and generates two passwords — one for a set of uploaded test files and one to decrypt the entire website.

Hacked sites are told to pay up 0.4 bitcoin (around $170) and are also provided a handy chat window to communicate “questions or suggestions” to the PHP ransomware developers. It’s also worth noting that the new CTB Locker doesn’t discriminate since both Linux and Windows servers are equally vulnerable.

Public Knowledge

Aside from relatively strong encryption and a somewhat original approach — CTB Locker was likely modeled after the Linux.Encoder.1 website ransomware found in November 2015 — this new PHP malware also comes with the specter of public embarrassment. While it might be possible to hide the encryption of a local Windows or Linux machine, CTB Locker displays a message to all visitors informing them that the website has been compromised.

It’s a good idea on the part of malware-makers; widespread knowledge of security compromise is one of the quickest ways to convince victims they should pony up the cash. Staying safe amounts to paying attention: Don’t pick a weak password, always use two-factor authentication, review access permissions to make sure guests can’t modify files, run a real-time antivirus scan and make sure the server itself isn’t running any unpatched apps.

Bottom line? Ransomware isn’t going away. As security professionals get better at dealing with local infections, criminals have taken their efforts online to lock down valuable Web content and make their conquests public knowledge.

More from

Cyberattack on American Water: A warning to critical infrastructure

3 min read - American Water, the largest publicly traded United States water and wastewater utility, recently experienced a cybersecurity incident that forced the company to disconnect key systems, including its customer billing platform. As the company’s investigation continues, there are growing concerns about the vulnerabilities that persist in the water sector, which has increasingly become a target for cyberattacks. The breach is a stark reminder of the critical infrastructure risks that have long plagued the industry. While the water utility has confirmed that…

What’s behind unchecked CVE proliferation, and what to do about it

4 min read - The volume of Common Vulnerabilities and Exposures (CVEs) has reached staggering levels, placing immense pressure on organizations' cyber defenses. According to SecurityScorecard, there were 29,000 vulnerabilities recorded in 2023, and by mid-2024, nearly 27,500 had already been identified.Meanwhile, Coalition's 2024 Cyber Threat Index forecasts that the total number of CVEs for 2024 will hit 34,888—a 25% increase compared to the previous year. This upward trend presents a significant challenge for organizations trying to manage vulnerabilities and mitigate potential exploits.What’s behind…

Quishing: A growing threat hiding in plain sight

4 min read - Our mobile devices go everywhere we go, and we can use them for almost anything. For businesses, the accessibility of mobile devices has also made it easier to create more interactive ways to introduce new products and services while improving user experiences across different industries. Quick-response (QR) codes are a good example of this in action and help mobile devices quickly navigate to web pages or install new software by simply scanning an image.However, legitimate organizations aren’t the only ones…

Topic updates

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