YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_PE_Discord_Attachment_Oct21_1
Detects suspicious executable with reference to a Discord attachment (often used for malware hosting on a legitimate FQDN)
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-10-12
- Modified
- 2025-03-21
- Score / Quality
- 70 / 85
What this rule detects
Detects suspicious executable with reference to a Discord attachment (often used for malware hosting on a legitimate FQDN)
Targets: Windows PE.
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_PE_Discord_Attachment_Oct21_1 : FILE
{
meta:
= "Detects suspicious executable with reference to a Discord attachment (often used for malware hosting on a legitimate FQDN)"
= "Florian Roth (Nextron Systems)"
= "7c217350-4a35-505d-950d-1bc989c14bc2"
= "2021-10-12"
= "2025-03-21"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_suspicious_strings.yar#L415-L429"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4d84ec50738f4c7aca8e77c3aabdcd77f3071733a2245a58283f070f2b220599"
= 70
= 85
= "FILE"
strings:
$x1 = "https://cdn.discordapp.com/attachments/" ascii wide
condition:
uint16( 0 ) == 0x5a4d and filesize < 5000KB and 1 of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "https://cdn.discordapp.com/attachments/" | ascii wide |
Condition
uint16( 0 ) == 0x5a4d and filesize < 5000KB and 1 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- At least 1 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.
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: 7c217350-4a35-505d-950d-1bc989c14bc2
Tags:FILE
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-12-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