YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_CN_MAL_Reddelta_Shellcode_Loader_Oct20_3
Detects Red Delta samples
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-10-14
- Modified
- 2022-12-21
- Score / Quality
- 75 / 85
What this rule detects
Detects Red Delta samples
Targets: Windows PE.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_CN_MAL_Reddelta_Shellcode_Loader_Oct20_3 : FILE
{
meta:
= "Detects Red Delta samples"
= "Florian Roth (Nextron Systems)"
= "b52836bb-cdef-5416-a8e1-72d0b2298546"
= "2020-10-14"
= "2022-12-21"
= "https://twitter.com/JAMESWT_MHT/status/1316387482708119556"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cn_reddelta.yar#L59-L78"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "740992d40b84b10aa9640214a4a490e989ea7b869cea27dbbdef544bb33b1048"
= "64402f6265f23abf7d6a711aa888c89386c1a754f12286b0efe5fd5d81f15b01"
= 75
= 85
= "FILE"
strings:
$s1 = "Taskschd.dll" ascii fullword
$s2 = "AddTaskPlanDllVerson.dll" ascii fullword
$s3 = "\\FlashUpdate.exe" ascii
$s4 = "D:\\Project\\FBIRedTeam" ascii fullword
$s5 = "Error %s:%d, ErrorCode: %x" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and filesize < 400KB and 4 of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Taskschd.dll" | ascii fullword |
| $s2 | text | "AddTaskPlanDllVerson.dll" | ascii fullword |
| $s3 | text | "\\FlashUpdate.exe" | ascii |
| $s4 | text | "D:\\Project\\FBIRedTeam" | ascii fullword |
| $s5 | text | "Error %s:%d, ErrorCode: %x" | ascii fullword |
Condition
uint16( 0 ) == 0x5a4d and filesize < 400KB and 4 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 400KB (a cheap guard that skips large files).
- At least 4 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 740992d40b84b10aa9640214a4a490e989ea7b869cea27dbbdef544bb33b1048
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: b52836bb-cdef-5416-a8e1-72d0b2298546
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
- 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
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24