# Backdoored PHP Obfuscator (obfuscator.tools) Injects Remote File-Upload Backdoor and C2 Beacon

> SANS ISC reports that PHP code generated by the web-based obfuscator obfuscator.tools contains a hidden backdoor. The injected code beacons the full URL of the infected page to a C2 at siyahi.top and exposes an unauthenticated remote file-fetch-and-write function, triggered by the 'mrz' GET parameter, that drops attacker-supplied content as mrz.php.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-29T21:07:04Z
- **Last updated:** 2026-11-29T21:07:04Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7048
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7048.png
- **ID:** TL-2026-7048
- **Severity:** HIGH
- **Category:** SUPPLY_CHAIN
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 6 (2 shown free below)

## Description

On 2026-11-29 Johannes Ullrich of the SANS Internet Storm Center published a diary (credit: Patrick Scholing, DNSBunker.org) showing that PHP produced by the free online obfuscation service obfuscator.tools carries injected malicious logic. The analyst used the site's 'Legacy STT' option, which wraps the code in a base64/gzip layer executed through eval(gzinflate(base64_decode($stt1))); a second variable, $stt0, is present but unused in the decoded logic. Replacing eval with print revealed the decoded payload. Whether other obfuscation options are affected was not reported.

The decoded code stores its C2 URL base64-encoded in $k3yw (aHR0cHM6Ly9zaXlhaGkudG9wL2dob3N0Lw==, i.e. https://siyahi.top/ghost/). It builds the full URL of the page being served from $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'] and POSTs it to the C2 as the form-urlencoded field file_url, letting the operator inventory every site running the tainted code.

The code also contains a backdoor: when the GET parameter 'mrz' is set, the script reads the GET parameter 'file' as a remote URL, retrieves it with file_get_contents(), passes the content through a base64 encode/decode step and writes it to mrz.php with file_put_contents(). It prints 'File : mrz.php Success !' on success or 'Error' on failure and then exits. Because no authentication is performed, anyone who knows the trigger can plant arbitrary PHP (a web shell) on the host. The original program logic is preserved (the sample ended with the original echo('x');), so the site appears to function normally.

The author assessed the C2 host as what appears to be a compromised construction-company website with decoy boilerplate content. About one hour after seeding a test URL, no C2 callback had been observed, and the author planned to update the diary if one arrived. No CVE, CVSS score, file hash, IP address, vendor response or actor attribution is stated in the source. A BeaconBeagle configuration search for siyahi.top returned no matches at the time of research. Severity is analyst-assigned.

## MITRE ATT&CK

- T1195.001 Compromise Software Dependencies and Development Tools
- T1190 Exploit Public-Facing Application
- T1059 Command and Scripting Interpreter
- T1505.003 Web Shell
- T1027 Obfuscated Files or Information
- T1027.010 Command Obfuscation
- T1140 Deobfuscate/Decode Files or Information
- T1071.001 Web Protocols
- T1132.001 Standard Encoding
- T1584.004 Server

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Backdoored obfuscator.tools PHP: mrz Remote File-Fetch Trigger in Web Access Logs** (`TL-2026-7048-SPL-001`)

TL-2026-7048: PHP generated by the obfuscator.tools 'Legacy STT' option carries an unauthenticated backdoor. When the GET parameter 'mrz' is present, the script reads the GET parameter 'file' as a remote URL, fetches it with file_get_contents() and writes the content to mrz.php. This search finds web requests that carry both mrz= and file=http(s):// (URL-decoded), which is the exploit trigger for planting a web shell. The behaviour does not depend on a hash or on the C2 domain being reachable.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1505.003, T1195.001
- **Data sources:** web_access_logs, apache:access, nginx:access, iis
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=web sourcetype IN ("access_combined","access_combined_wcookie","apache:access","nginx:access") "mrz" "file"
| eval raw_dec=urldecode(_raw)
| where match(raw_dec,"(?i)[?&]mrz=") AND match(raw_dec,"(?i)[?&]file=https?://")
| eval client=coalesce(clientip,src,src_ip)
| stats count AS hits min(_time) AS first_seen max(_time) AS last_seen values(status) AS http_status values(uri_path) AS uri_path dc(client) AS client_count values(client) AS clients BY host
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
W3CIISLog
| where TimeGenerated > ago(24h)
| extend q = tolower(url_decode(csUriQuery))
| where q matches regex @"(^|&)mrz=" and q matches regex @"(^|&)file=https?://"
| summarize Hits=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Statuses=make_set(scStatus, 5), Uris=make_set(csUriStem, 10) by cIP, sSiteName, Computer
| project FirstSeen, LastSeen, Computer, sSiteName, cIP, Hits, Statuses, Uris
```

### Sigma

```yaml
title: Backdoored PHP Obfuscator mrz Remote File Fetch Trigger
id: 6f1c2a52-8d3e-4b7a-9c41-2e5b7a9d0f13
status: experimental
description: Detects web requests carrying both the mrz parameter and a file parameter holding a remote URL, the trigger of the backdoor injected into PHP produced by obfuscator.tools (Legacy STT) that writes attacker content to mrz.php.
references:
    - https://isc.sans.edu/diary/rss/33556
author: Threadlinqs Team
date: 2026/11/29
tags:
    - attack.initial-access
    - attack.t1190
    - attack.t1195.001
    - attack.persistence
    - attack.t1505.003
logsource:
    category: webserver
detection:
    selection_mrz:
        cs-uri-query|contains: 'mrz='
    selection_file:
        cs-uri-query|contains:
            - 'file=http'
            - 'file=%68%74%74%70'
    condition: selection_mrz and selection_file
falsepositives:
    - Internal vulnerability scanners replaying the published trigger
    - Unrelated applications that legitimately use mrz and file query parameters
level: high
```

**Known false positives:**

- Authorized vulnerability scanners or red-team exercises replaying the mrz trigger
- Unrelated applications that legitimately use 'mrz' (for example machine-readable-zone ID parsing) and 'file' query parameters

**Tuning notes:** Set index and sourcetype to your web log sources. Exclude scanner source IPs. Any 2xx response to a matching request should be treated as a likely compromise: check the web root for mrz.php and review the fetched remote URL. Do not suppress by user agent.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Successful mrz Backdoor Trigger or Access to [indicator] (IIS Logs) (locked: unlock with TL Creds)
- [indicator] Loader Stub or Decoded C2 String in Process Command Line (locked: unlock with TL Creds)
- Web Server Process Contacting [indicator] (Endpoint Network Telemetry) (locked: unlock with TL Creds)
- Web Requests to Dropped [indicator] Web Shell (locked: unlock with TL Creds)
- Web Server Process Writes PHP File in Web Directory (locked: unlock with TL Creds)
- Proxy Request to [indicator]/ghost/ C2 Beacon Endpoint (locked: unlock with TL Creds)
- [indicator] File Created on Web Host (Backdoor Drop) (locked: unlock with TL Creds)
- Beacon to [indicator] C2 (DNS and Proxy) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (2 of 6)

Defanged, TLP:CLEAR.

- Domain: `siyahi[.]top`
- Domain: `obfuscator[.]tools`

Full set of 6 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [SANS ISC Diary: Backdoored PHP Obfuscator (Johannes Ullrich; credit Patrick Scholing, DNSBunker.org)](https://isc.sans.edu/diary/rss/33556)
- [SANS Internet Storm Center](https://isc.sans.edu/)
- [DNSBunker.org (reporter of the backdoored tool)](https://dnsbunker.org/)
- [obfuscator.tools (tool implicated in the SANS ISC diary)](https://obfuscator.tools/)
- [MITRE ATT&CK T1195.001 Compromise Software Dependencies and Development Tools](https://attack.mitre.org/techniques/T1195/001/)
- [MITRE ATT&CK T1505.003 Server Software Component: Web Shell](https://attack.mitre.org/techniques/T1505/003/)
- [BeaconBeagle C2 config search for siyahi.top (no matches at time of research)](https://beaconbeagle.com/api/v1/configs/search?domain=siyahi.top)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7048
