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

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

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