YARA · SEKOIA.IO Community
SEKOIA_Hacktool_Win_Uknowseckeylogger
Detect the uknowsec keylogger based on strings
- Author
- Sekoia.io
- Date
- 2022-10-05
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the uknowsec keylogger based on strings
Targets: Windows PE.
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
hacktool-win-uknowseckeylogger.yarDetection Rule License 1.1
rule SEKOIA_Hacktool_Win_Uknowseckeylogger : FILE
{
meta:
= "Detect the uknowsec keylogger based on strings"
= "Sekoia.io"
= "ab08136d-b1f3-4e64-b73c-e6344b610f91"
= "2022-10-05"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/hacktool_win_uknowseckeylogger.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "83a731a5b1853edcce963d458fc170206086305f3e43403c930c9633918e8ff1"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "github.com/atotto/clipboard" ascii
$str1 = "github.com/TheTitanrain/w32" ascii
$str2 = "github.com/aliyun/aliyun-oss-go-sdk" ascii
$str3 = "golang.org/x/sys" ascii
$str4 = "golang.org/x/time" ascii
$str5 = "WSARecvWSASend[Print][Right][Shift][Sleep][debug][error]" ascii
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str0 | text | "github.com/atotto/clipboard" | ascii |
| $str1 | text | "github.com/TheTitanrain/w32" | ascii |
| $str2 | text | "github.com/aliyun/aliyun-oss-go-sdk" | ascii |
| $str3 | text | "golang.org/x/sys" | ascii |
| $str4 | text | "golang.org/x/time" | ascii |
| $str5 | text | "WSARecvWSASend[Print][Right][Shift][Sleep][debug][error]" | ascii |
Condition
uint16( 0 ) == 0x5A4D and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- 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.
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: ab08136d-b1f3-4e64-b73c-e6344b610f91
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-09-09