YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_VULN_Python_Hack_Backdoored_Ctx_May21
Detects backdoored python ctx version
- Author
- Christian Burkard
- Date
- 2022-05-24
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects backdoored python ctx version
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
vuln-python-hack-backdoored-ctx-may21.yarDetection Rule License 1.1
rule SIGNATURE_BASE_VULN_Python_Hack_Backdoored_Ctx_May21 : FILE
{
meta:
= "Detects backdoored python ctx version"
= "Christian Burkard"
= "55c1326a-6a5f-5d6f-b798-2c8516faffe2"
= "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#L16-L31"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4fdfd4e647c106cef2a3b2503473f9b68259cae45f89e5b6c9272d04a1dfaeb0"
= "b40297af54e3f99b02e105f013265fd8d0a1b1e1f7f0b05bcb5dbdc9125b3bb5"
= "b7644fa1e0872780690ce050c98aa2407c093473031ab5f7a8ce35c0d2fc077e"
= "f8047eb4e0420e4ec01fb038acdc4abdcc3aa4dada5ce072d20f78acac942079"
= 75
= 85
= "FILE"
strings:
$x1 = "requests.get(\"https://anti-theft-web.herokuapp.com/hacked/"
condition:
filesize < 10KB and $x1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "requests.get(\"https://anti-theft-web.herokuapp.com/hacked/" |
Condition
filesize < 10KB and $x1In plain words (Heuristic)
- The file must be smaller than 10KB (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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 4fdfd4e647c106cef2a3b2503473f9b68259cae45f89e5b6c9272d04a1dfaeb0
- b40297af54e3f99b02e105f013265fd8d0a1b1e1f7f0b05bcb5dbdc9125b3bb5
- b7644fa1e0872780690ce050c98aa2407c093473031ab5f7a8ce35c0d2fc077e
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: 55c1326a-6a5f-5d6f-b798-2c8516faffe2
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