PHP obfuscator site injects a callback and file upload into output
Original title: Backdoored PHP Obfuscator, (Sun, Nov 29th)
Legacy STT output still runs the original snippet, then posts the page URL and can write mrz.php.
SANS Internet Storm Center reports that obfuscator.tools, using its Legacy STT method, wraps PHP in base64 and gzip and adds extra code. The added code posts the full page URL to https://siyahi.top/ghost/ and, if the mrz parameter is set, fetches a remote file and saves it as mrz.php. The original snippet still runs last, so the page can look normal. Ullrich seeded a URL and had not seen a callback about an hour later.
Unconfirmed: Whether siyahi.top is a compromised company site or only a decoy is not confirmed, and no live callback was observed.
- The extra code uses eval of gzinflate and base64_decode.
- The upload path is triggered by the mrz URL parameter and writes mrz.php.
- siyahi.top looks like a construction-company site that may be a decoy.
- A seeded callback URL had drawn no request after about an hour.
Impact: Callback of the page URL plus arbitrary PHP file write
- 1.Avoid obfuscator.tools and recheck PHP produced by web obfuscators.
- 2.Search sites for mrz.php and unexpected posts to siyahi.top.
- Products
- PHP
- Organizations
- SANS Internet Storm Center
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | obfuscator.tools | esting one that does a bit more than simply obfuscate code: obfuscator[.]tools. This website hides some extra goodies in the obfuscated |
| domain | siyahi.top | the specific URL. The website used for command and control, siyahi.top, appears to be a compromised construction company website. |
From the original article
2 min read at isc.sans.edu
There are many reasons why someone would obfuscate backdoors. Few of them are "good". Many websites offer easy-to-use web-based tools to obfuscate PHP code.
isc.sans.edu
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.