YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_VULN_PHP_Hack_Backdoored_Zlib_Zerodium_Mar21_1
Detects backdoored PHP zlib version
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-03-29
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects backdoored PHP zlib version
It defines 2 patterns (2 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
vuln-php-hack-backdoored-zlib-zerodium-mar21-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_VULN_PHP_Hack_Backdoored_Zlib_Zerodium_Mar21_1 : FILE
{
meta:
= "Detects backdoored PHP zlib version"
= "Florian Roth (Nextron Systems)"
= "5e0ab8f8-776a-52b0-b5be-ff1d34bccfd1"
= "2021-03-29"
= "2023-12-05"
= "https://www.bleepingcomputer.com/news/security/phps-git-server-hacked-to-add-backdoors-to-php-source-code/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vul_php_zlib_backdoor.yar#L2-L15"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "74bfd9e12cb7671cde953d361a2adeb9388edd9b2aab0f9ce04dce0d433561dc"
= 75
= 85
= "FILE"
strings:
$x1 = "REMOVETHIS: sold to zerodium, mid 2017" fullword ascii
$x2 = "HTTP_USER_AGENTT" ascii fullword
condition:
filesize < 3000KB and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "REMOVETHIS: sold to zerodium, mid 2017" | fullword ascii |
| $x2 | text | "HTTP_USER_AGENTT" | ascii fullword |
Condition
filesize < 3000KB and all of themIn plain words (Heuristic)
- The file must be smaller than 3000KB (a cheap guard that skips large files).
- All patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 5e0ab8f8-776a-52b0-b5be-ff1d34bccfd1
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-03
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16