Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

C99 Webshell Increasingly Used in WordPress Attacks

IBM Security has warned WordPress website administrators about a sharp increase in the number of attacks leveraging a variant of a PHP webshell called C99.

IBM Security has warned WordPress website administrators about a sharp increase in the number of attacks leveraging a variant of a PHP webshell called C99.

IBM reported spotting nearly 1,000 attacks in February and March, which represents a 45 percent increase compared to the previous period. The C99 variant used in these attacks is currently detected by 37 security products based on its signature.

The attack starts with a file named pagat.txt, which contains an obfuscated PHP script, being uploaded to the targeted website. By obfuscating the script, cybercriminals hope to increase its chances of evading detection and bypassing Web application firewalls.

Once the script is decoded and executed on the victim’s server, an email is sent to the attacker, informing them that the target has been compromised.

The attacker can then access the webshell from a browser and start executing shell commands on the server. The webshell also allows malicious actors to upload files that can be used to perform various actions.

A Google search shows that the pagat.txt file is currently present on hundreds of websites. However, only 9 of 68 security products on VirusTotal detected the script as being malicious.

According to IBM Security, the variant of the C99 webshell leveraged in these attacks has also been used by Hmei7, an Indonesian hacker whose Zone-H account shows that he has defaced more than 150,000 websites from all across the world.

Webshells are typically uploaded to WordPress websites via vulnerabilities in the content management system (CMS) or third-party plugins, which also seems to be the case in the attacks observed by IBM.

Advertisement. Scroll to continue reading.

Administrators can protect their websites against these C99 webshell attacks by ensuring that their WordPress installations are not plagued by any vulnerabilities, installing security plugins, changing defaults and customizing their installations as much as possible, changing the name of the uploads folder, and scanning all files when they are uploaded to the website.

IBM also reminded website operators that if their sites are hacked, they should consider anything that requires validation to be compromised, including credentials.

The use of webshells is highly common. Cisco reported last week that it discovered webshells on thousands of servers operated by governments, schools and other organizations.

Related: WordPress Sites Used to Power Layer 7 DDoS Attacks

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Understand how to go beyond effectively communicating new security strategies and recommendations.

Register

Join us for an in depth exploration of the critical nature of software and vendor supply chain security issues with a focus on understanding how attacks against identity infrastructure come with major cascading effects.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.