YARA · Malpedia signator rules
MALPEDIA_Win_Foalshell_Auto
autogenerated rule brought to you by yara-signator
MalwareFoalshellMalpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
- Author
- Felix Bilstein - yara-signator at cocacoding dot com
- Date
- 2026-05-04
- Modified
- 2026-05-18
- Score / Quality
- 75 / 75
What this rule detects
autogenerated rule brought to you by yara-signator
Associated malware family: Foalshell.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-foalshell-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Foalshell_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "1f0e5fe4-66f4-59c0-81ef-bf98ddf84d87"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.foalshell"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.foalshell_auto.yar#L1-L123"
= "N/A"
= "9a656b5c69e181d13eefd8b3c96090fbd64319ffe7dcc64f03d99e60f15d0937"
= 75
= 75
= "FILE"
= "1"
= "yara-signator v0.6.0"
= "callsandjumps;datarefs;binvalue"
= "20260422"
= "a182e35da64e6d71cb55f125c4d4225196523f14"
= "20260504"
= "CC BY-SA 4.0"
= "TLP:WHITE"
strings:
$sequence_0 = { 4883ec58 48837c246800 750c 48c7c0ffffffff e9???????? 488b442468 48ffc8 }
$sequence_1 = { 4883ea10 660f74c1 660fd7c0 85c0 7507 483bd1 }
$sequence_2 = { a801 0f84da000000 488bd6 498bce }
$sequence_3 = { 4d03f6 4b8b94f7d07b0100 e8???????? 85c0 }
$sequence_4 = { 25ffffff1f 3d21059319 0f82fa000000 48635e20 85db 740a }
$sequence_5 = { 4b0394d840f90100 8a02 88440dff 48ffc1 48ffc2 493bce }
$sequence_6 = { c705????????01000000 488d1510ed0000 488d0dd1ec0000 e8???????? 85c0 740a }
$sequence_7 = { 0f85b8020000 8b4720 3d20059319 740e 05dffa6ce6 83f801 0f87a0020000 }
$sequence_8 = { c3 4053 4883ec20 488bd9 488bc2 488d0d49f00000 0f57c0 }
$sequence_9 = { 0f8d26010000 488b4f28 ebce 4c8bc3 488bd6 498bce }
condition:
7 of them and filesize < 520192
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 4883ec58 48837c246800 750c 48c7c0ffffffff e9???????? 488b442468 48ffc8 } | |
| $sequence_1 | hex | { 4883ea10 660f74c1 660fd7c0 85c0 7507 483bd1 } | |
| $sequence_2 | hex | { a801 0f84da000000 488bd6 498bce } | |
| $sequence_3 | hex | { 4d03f6 4b8b94f7d07b0100 e8???????? 85c0 } | |
| $sequence_4 | hex | { 25ffffff1f 3d21059319 0f82fa000000 48635e20 85db 740a } | |
| $sequence_5 | hex | { 4b0394d840f90100 8a02 88440dff 48ffc1 48ffc2 493bce } | |
| $sequence_6 | hex | { c705????????01000000 488d1510ed0000 488d0dd1ec0000 e8???????? 85c0 740a } | |
| $sequence_7 | hex | { 0f85b8020000 8b4720 3d20059319 740e 05dffa6ce6 83f801 0f87a0020000 } | |
| $sequence_8 | hex | { c3 4053 4883ec20 488bd9 488bc2 488d0d49f00000 0f57c0 } | |
| $sequence_9 | hex | { 0f8d26010000 488b4f28 ebce 4c8bc3 488bd6 498bce } |
Condition
7 of them and filesize < 520192In plain words (Heuristic)
- The file must be smaller than 520192 (a cheap guard that skips large files).
- At least 7 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Felix Bilstein - yara-signator at cocacoding dot com
Source repository: Malpedia signator rules @ c901f97b7d
Licence: Creative Commons Attribution-ShareAlike 4.0 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 1f0e5fe4-66f4-59c0-81ef-bf98ddf84d87
Metadata
| version | 1 |
|---|---|
| tool | yara-signator v0.6.0 |
| signator_config | callsandjumps;datarefs;binvalue |
| malpedia_rule_date | 20260422 |
| malpedia_hash | a182e35da64e6d71cb55f125c4d4225196523f14 |
| malpedia_version | 20260504 |
| malpedia_license | CC BY-SA 4.0 |
| malpedia_sharing | TLP:WHITE |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04