YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Zoho_RCE_Fix_Lines_Dec21_1
Detects lines in log lines of Zoho products that indicate RCE fixes (silent removal of evidence)
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-12-06
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
Detects lines in log lines of Zoho products that indicate RCE fixes (silent removal of evidence)
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_EXPL_Zoho_RCE_Fix_Lines_Dec21_1 : FILE
{
meta:
= "Detects lines in log lines of Zoho products that indicate RCE fixes (silent removal of evidence)"
= "Florian Roth (Nextron Systems)"
= "633287e3-a377-5b3c-8520-a7790168eff5"
= "2021-12-06"
= "2023-12-05"
= "https://twitter.com/cyb3rops/status/1467784104930385923"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_zoho_rcef_logs.yar#L2-L27"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "e6d9c3364da57c03a5e838f485deefabec2f3ec67d19a9017e564ba702a72d03"
= 65
= 85
= "FILE"
strings:
$s1 = "RCEF="
$sa1 = "\"attackStatus\"\\:\"active\""
$sa2 = "\"attackStatus\":\"active\""
$sd1 = "deletedCount"
$sd_fp1 = "\"deletedCount\"\\:0"
$sd_fp2 = "\"deletedCount\":0"
condition:
filesize < 6MB and $s1 and ( 1 of ( $sa* ) or ( $sd1 and not 1 of ( $sd_fp* ) ) )
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "RCEF=" | |
| $sa1 | text | "\"attackStatus\"\\:\"active\"" | |
| $sa2 | text | "\"attackStatus\":\"active\"" | |
| $sd1 | text | "deletedCount" | |
| $sd_fp1 | text | "\"deletedCount\"\\:0" | |
| $sd_fp2 | text | "\"deletedCount\":0" |
Condition
filesize < 6MB and $s1 and ( 1 of ( $sa* ) or ( $sd1 and not 1 of ( $sd_fp* ) ) )In plain words (Heuristic)
- The file must be smaller than 6MB (a cheap guard that skips large files).
- At least 1 patterns in ( $sa* ) must match.
- At least 1 patterns in ( $sd_fp* ) must match.
- Pattern $s1 must be present.
- Pattern $sd1 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.
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: 633287e3-a377-5b3c-8520-a7790168eff5
Tags:FILE
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-19
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-20
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-13
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22