YARA · SEKOIA.IO Community
SEKOIA_Malware_Remcom_Strings
Detects RemCom based on strings
- Author
- Sekoia.io
- Date
- 2022-08-30
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects RemCom based on strings
Associated malware family: Remcom.
Targets: Windows PE.
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-remcom-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Remcom_Strings : FILE
{
meta:
= "Detects RemCom based on strings"
= "Sekoia.io"
= "7a56d55a-2f35-41ef-b7af-259baf215a62"
= "2022-08-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_remcom_strings.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "a46bb87bf4722303d33707afb19c8d4f209b98a88552363363520536911469ae"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "RemComSvc"
$ = "RemCom_stderr"
$ = "RemCom_stdin"
$ = "\\\\.\\pipe\\%s%s%d"
$ = "RemCom_stdout"
$ = "\\\\.\\pipe\\RemCom_communicaton"
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 4 of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "RemComSvc" | |
| $ | text | "RemCom_stderr" | |
| $ | text | "RemCom_stdin" | |
| $ | text | "\\\\.\\pipe\\%s%s%d" | |
| $ | text | "RemCom_stdout" | |
| $ | text | "\\\\.\\pipe\\RemCom_communicaton" |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 4 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 1MB (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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
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: 7a56d55a-2f35-41ef-b7af-259baf215a62
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20