Web-Based PHP Obfuscator Found to Add a Backdoor to Its Output

SANS ISC reports that a web-based PHP obfuscation tool, obfuscator[.]tools, does more than obscure code. A reader from DNSBunker.org flagged it as backdoored.

A developer seen from behind works at two monitors of code in a modern Riyadh office in late afternoon light.

Key points

  • Many websites offer free online tools for obfuscating PHP code.
  • A reader, Patrick Scholing of DNSBunker.org, noticed that obfuscator[.]tools does more than obfuscate.
  • SANS ISC describes the tool as backdoored.
  • Obfuscation is rarely used for legitimate reasons, so such output deserves scrutiny.

What was reported

The SANS Internet Storm Center published a short diary entry about a web-based PHP obfuscator, obfuscator[.]tools. Such sites let users paste in PHP code and receive a scrambled version that is hard to read. According to the diary, this particular site does more than obfuscate: it was spotted by a reader, Patrick Scholing of DNSBunker.org, and is described as backdoored.

Why it matters

The source notes that there are many reasons to obfuscate code, but few of them are good. Developers who run proprietary or in-house PHP through an online service are handing that code to a third party and, in this case, may receive back code that contains hidden functionality. Any site or application that deployed such output could expose a remote access path to its operators.

The diary excerpt does not give technical details of the backdoor, its behaviour, or how many users may be affected, so we do not speculate on those points.

Practical view

Treat online code-processing tools as untrusted third parties. Check whether any internal or vendor-built PHP applications were passed through this or similar services, and review the resulting code before it stays in production.

What to do now

  1. Search developer guidance, proxy and DNS logs for access to obfuscator[.]tools and similar online obfuscators.
  2. Ask development teams and PHP vendors whether any production code was processed by this service.
  3. Review any obfuscated PHP in production for unexpected remote-access or hidden functionality, and quarantine suspect files.
  4. Prohibit pasting proprietary source code into unapproved online tools through secure development policy.
  5. Consider blocking the domain at the web gateway while the review is under way.

How useful was this story?

Need help acting on this?

Our consultants can assess your exposure and map the change to your controls and evidence.

Talk to an expert

Regulatory updates in your inbox

SAMA, NCA and SDAIA changes and what they mean for your institution — once a month.

E-mails in

We confirm by e-mail; unsubscribe any time. Manage your subscription · Past issues

Schedule a Free Assessment