YARA · SEKOIA.IO Community
SEKOIA_Backdoor_Win_Sidewinder_Cobaltstrike_2022_09
Detect the SideWinder malware
- Author
- Sekoia.io
- Date
- 2022-10-24
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the SideWinder malware
Associated malware family: Sidewinder, Cobalt Strike.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex). YARA modules used: pe, hash.
YARA-X says: warning[deprecated_field]: field `number_of_sections` is deprecated
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
import "hash"
rule SEKOIA_Backdoor_Win_Sidewinder_Cobaltstrike_2022_09
{
meta:
= "Detect the SideWinder malware"
= "Sekoia.io"
= "b5e8f87a-4a2c-49bb-aa98-bf3fb5056b23"
= "2022-10-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_win_sidewinder_cobaltstrike_2022_09.yar#L4-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f2b719170783c1bfaa4c4772e5cff73797be3056204566844c236d1857869e4c"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = {65004e004500560045005200200047004f004e004e00410020004700490056004500200059004f0055002000550050002100}
condition:
$s1 or pe.imphash ( ) == "b1e345b2d78e4b82617d995d18100790" or for any i in ( 0 .. pe.number_of_sections -1 ) : ( hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ac989507d4af352fa354560efef99ba6" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "8090b29a44c750b7b21287f9639fe747" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ea8693d6bacf3e7876f717a3d8abc433" )
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | hex | {65004e004500560045005200200047004f004e004e00410020004700490056004500200059004f0055002000550050002100} |
Condition
$s1 or pe.imphash ( ) == "b1e345b2d78e4b82617d995d18100790" or for any i in ( 0 .. pe.number_of_sections -1 ) : ( hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ac989507d4af352fa354560efef99ba6" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "8090b29a44c750b7b21287f9639fe747" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ea8693d6bacf3e7876f717a3d8abc433" )In plain words (Heuristic)
- A for-loop checks a property over several matches or items.
- Pattern $s1 must be present.
- Uses the pe module.
- Uses the hash module.
- Compares a hash of the file or a part of it.
- Checks the PE import hash (imphash).
- Checks PE sections (names, count or properties).
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: b5e8f87a-4a2c-49bb-aa98-bf3fb5056b23
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-05-25
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· Felix Bilstein - yara-signator at cocacoding dot com· 2020-07-19
- ARKBIRD_SOLG_MAL_Cobaltstrike_Oct_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- Hack toolSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Hack toolAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08