YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Base64_Encoded_Exploit_Indicators_Dec21
Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-12-10
- Modified
- 2021-12-13
- Score / Quality
- 70 / 85
What this rule detects
Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_Base64_Encoded_Exploit_Indicators_Dec21 : CVE_2021_44228
{
meta:
= "Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228"
= "Florian Roth (Nextron Systems)"
= "09abc4f0-ace7-5f53-b1d3-5f5c6bf3bdba"
= "2021-12-10"
= "2021-12-13"
= "https://twitter.com/Reelix/status/1469327487243071493"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_log4j_cve_2021_44228.yar#L142-L165"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "703a83916c7279bcdc3cd61602472c2a3815140235be169f5b2063a547438c61"
= 70
= 85
= "CVE-2021-44228"
strings:
$sa1 = "Y3VybCAtcy"
$sa2 = "N1cmwgLXMg"
$sa3 = "jdXJsIC1zI"
$sb1 = "fHdnZXQgLXEgLU8tI"
$sb2 = "x3Z2V0IC1xIC1PLS"
$sb3 = "8d2dldCAtcSAtTy0g"
$fp1 = "<html"
condition:
1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sa1 | text | "Y3VybCAtcy" | |
| $sa2 | text | "N1cmwgLXMg" | |
| $sa3 | text | "jdXJsIC1zI" | |
| $sb1 | text | "fHdnZXQgLXEgLU8tI" | |
| $sb2 | text | "x3Z2V0IC1xIC1PLS" | |
| $sb3 | text | "8d2dldCAtcSAtTy0g" | |
| $fp1 | text | "<html" |
Condition
1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* )In plain words (Heuristic)
- At least 1 patterns in ( $sa* ) must match.
- At least 1 patterns in ( $sb* ) must match.
- At least 1 patterns in ( $fp* ) 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.
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: 09abc4f0-ace7-5f53-b1d3-5f5c6bf3bdba
Tags:CVE_2021_44228
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10