YARA · SEKOIA.IO Community
SEKOIA_Malware_Venom_Agent_Strings
Detects Venom agent strings
- Author
- Sekoia.io
- Date
- 2022-08-29
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Venom agent strings
Targets: Windows PE, Linux ELF.
It defines 17 patterns (17 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-venom-agent-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Venom_Agent_Strings : FILE
{
meta:
= "Detects Venom agent strings"
= "Sekoia.io"
= "87633510-8b39-4eb1-b95b-4ebff21f3bba"
= "2022-08-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_venom_agent_strings.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "66dd1cb7bd66fcf78c8eaad8aaab7cfd624b898b7b479e571bacf5c4e48edac9"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "dispather.handleDownloadCmd"
$ = "dispather.handleUploadCmd"
$ = "dispather.handleShellCmd"
$ = "dispather.handleSocks5Cmd"
$ = "dispather.handleLForwardCmd"
$ = "dispather.localLForwardServer"
$ = "dispather.handleRForwardCmd"
$ = "dispather.AgentHandShake"
$ = "dispather.AgentParseTarget"
$ = "dispather.PipeWhenClose"
$ = "dispather.handleSshConnectCmd"
$ = "node.(*NetworkTopology).InitNetworkMap"
$ = "node.CopyNet2Node"
$ = "node.(*Node).CommandHandler.func1"
$ = "node.(*Buffer).WriteLowLevelPacket"
$ = "protocol.(*Packet).ResolveDat"
$ = "netio.InitTCP.func2"
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 10MB and 6 of them
}
Strings (17 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "dispather.handleDownloadCmd" | |
| $ | text | "dispather.handleUploadCmd" | |
| $ | text | "dispather.handleShellCmd" | |
| $ | text | "dispather.handleSocks5Cmd" | |
| $ | text | "dispather.handleLForwardCmd" | |
| $ | text | "dispather.localLForwardServer" | |
| $ | text | "dispather.handleRForwardCmd" | |
| $ | text | "dispather.AgentHandShake" | |
| $ | text | "dispather.AgentParseTarget" | |
| $ | text | "dispather.PipeWhenClose" | |
| $ | text | "dispather.handleSshConnectCmd" | |
| $ | text | "node.(*NetworkTopology).InitNetworkMap" | |
| $ | text | "node.CopyNet2Node" | |
| $ | text | "node.(*Node).CommandHandler.func1" | |
| $ | text | "node.(*Buffer).WriteLowLevelPacket" | |
| $ | text | "protocol.(*Packet).ResolveDat" | |
| $ | text | "netio.InitTCP.func2" |
Condition
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 10MB and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must start with the ELF header — a Linux/Unix executable.
- The file must be smaller than 10MB (a cheap guard that skips large files).
- At least 6 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: 87633510-8b39-4eb1-b95b-4ebff21f3bba
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20