PHPsert
Trojan · Network Devices
What is PHPsert?
PHPsert is a type of malicious software known as a Trojan, specifically functioning as a webshell. Its primary purpose is to allow unauthorized individuals to execute PHP code on compromised systems. This malware is not usually installed as an independent program. Instead, it is integrated into existing web content, such as text editors or content management systems, to hide its presence while providing attackers with remote control over the affected device. It is designed to target various network devices.
Users who operate or manage web-based platforms, particularly those utilizing content management systems or integrated text editors, are at risk of encountering this threat. To reduce the risk of infection, users should keep all software, plugins, and content management systems fully updated to patch known vulnerabilities. It is also important to monitor web directories for suspicious files and restrict administrative access to necessary personnel to prevent unauthorized code execution.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
PHPsert is a webshell used to execute PHP code that has been in use since at least 2023 against targets in Japan, Singapore, Peru, Taiwan, Iran, Republic of Korea, and the Philippines. PHPsert is not typically deployed as a standalone but integrated into web content such as text editors and content management systems.
How to protect yourself
Keep the operating system and applications updated, run a real-time antivirus, and be careful with email attachments and downloads. If you think a device is infected, follow our guide on removing malware and learn more about trojan.
Techniques used
6 ATT&CK techniques, grouped by attack stage.
Persistence
Web Shell T1505.003Questions about PHPsert
What is PHPsert?
PHPsert is a trojan that targets Network Devices. PHPsert is a webshell used to execute PHP code that has been in use since at least 2023 against targets in Japan, Singapore, Peru, Taiwan, Iran, Republic of Korea, and the Philippines. PHPsert is not typically deployed as a standalone but integrated into web content such as text editors and content
How do I remove PHPsert?
Disconnect the device from the network, run a full scan with an up-to-date antivirus and a second-opinion scanner, then change your passwords from a clean device. For servers and business networks, involve your IT or incident response team, because this kind of malware is often part of a wider intrusion.