Back to all lessons
Awareness Lessons
4 days ago

Backdoored Online PHP Obfuscator Silently Compromises Developer Code

Written by AI from the linked story. Not reviewed by an editor. How this works

A publicly accessible PHP obfuscation service (obfuscator[.]tools) was found to secretly inject a backdoor and a file upload mechanism into every piece of code submitted to it, effectively turning developers' own applications into attack vectors. The injected backdoor exfiltrates page URLs to an attacker-controlled C2 server, while a hidden file upload feature allows attackers to plant arbitrary PHP files on victims' servers. This is a classic supply chain attack targeting the development toolchain: developers trusted a third-party tool with their source code and unknowingly deployed malicious payloads to production. It highlights the profound risk of using unvetted, web-based developer utilities that handle live or production-bound code. Any organization whose developers used this tool should assume their applications are compromised and conduct immediate code audits.

Tactical Insight

Immediate actions

  • Audit all code that was processed through obfuscator[.]tools and inspect it for the backdoor patterns ('mrz' parameter, siyahi.top callbacks) before any further deployment.
  • Rotate all credentials, tokens, and secrets present in or alongside any code submitted to the service.
  • Block outbound connections to siyahi.top and scan web server file systems for 'mrz.php' or unexpected PHP uploads.

Long-term improvements

  • Establish and enforce a vetting policy for all third-party developer tools and online services before they may be used with production or sensitive code.
  • Prefer locally hosted or open-source, internally audited tooling over anonymous web-based utilities for any code processing task.
  • Integrate static analysis and integrity checks (e.g., file hashing, diff review) into CI/CD pipelines so injected code is detected before deployment.

Detection measures

  • Monitor outbound HTTP requests from web application servers for unexpected external destinations, flagging any communication with unknown domains.
  • Deploy file integrity monitoring on web roots to alert on newly created or modified PHP files, especially those not originating from a known deployment pipeline.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.