YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_CRIME_Suspicious_Hex_String_Jun21_1
Triggers on parts of a big hex string available in lots of crime'ish PE files.
- Author
- Nils Kuhnert
- Date
- 2021-06-04
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
Triggers on parts of a big hex string available in lots of crime'ish PE files.
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_MAL_CRIME_Suspicious_Hex_String_Jun21_1 : CRIME PE FILE
{
meta:
= "Triggers on parts of a big hex string available in lots of crime'ish PE files."
= "Nils Kuhnert"
= "2ad208fa-c7a5-5df9-96fe-4a84dc770f0f"
= "2021-06-04"
= "2023-12-05"
= "https://github.com/Neo23x0/signature-base"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_crime_unknown.yar#L1-L16"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "37d60eb2daea90a9ba275e16115848c95e6ad87d20e4a94ab21bd5c5875a0a34"
= "3380c8c56d1216fe112cbc8f1d329b59e2cd2944575fe403df5e5108ca21fc69"
= "cd283d89b1b5e9d2875987025009b5cf6b137e3441d06712f49e22e963e39888"
= "404efa6fb5a24cd8f1e88e71a1d89da0aca395f82d8251e7fe7df625cd8e80aa"
= "479bf3fb8cff50a5de3d3742ab4b485b563b8faf171583b1015f80522ff4853e"
= "73144b14f3aa1a1d82df7710fa47049426bfbddeef75e85c8a0a559ad6ed05a3"
= 65
= 85
= "CRIME, PE, FILE"
strings:
$a1 = "07032114130C0812141104170C0412147F6A6A0C041F321104130C0412141104030C0412141104130C0412141104130C0412141104130C0412141104130C0412141104130C0412141104130C0412141122130C0412146423272A711221112B1C042734170408622513143D20262B0F323038692B312003271C170B3A2F286623340610241F001729210579223202642200087C071C17742417020620141462060F12141104130C0412141214001C0412011100160C0C002D2412130C0412141104130C04121A11041324001F140122130C0134171" ascii
condition:
uint16( 0 ) == 0x5a4d and filesize < 10MB and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "07032114130C0812141104170C0412147F6A6A0C041F321104130C0412141104030C0412141104130C0412141104130C0412141104130C0412141104130C0412141104130C0412141104130C0412141 … | ascii |
Condition
uint16( 0 ) == 0x5a4d and filesize < 10MB and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 10MB (a cheap guard that skips large files).
- All 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).
- 37d60eb2daea90a9ba275e16115848c95e6ad87d20e4a94ab21bd5c5875a0a34
- 3380c8c56d1216fe112cbc8f1d329b59e2cd2944575fe403df5e5108ca21fc69
- cd283d89b1b5e9d2875987025009b5cf6b137e3441d06712f49e22e963e39888
- 404efa6fb5a24cd8f1e88e71a1d89da0aca395f82d8251e7fe7df625cd8e80aa
- 479bf3fb8cff50a5de3d3742ab4b485b563b8faf171583b1015f80522ff4853e
Licence & attribution
Author: Nils Kuhnert
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: 2ad208fa-c7a5-5df9-96fe-4a84dc770f0f
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-03-29
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-06-04
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-06-04
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-03-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2022-02-26