YARA · SEKOIA.IO Community
SEKOIA_Clipper_Win_Cryptoclippy
Finds CryptoClippy samples
- Author
- Sekoia.io
- Date
- 2023-04-11
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds CryptoClippy samples
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
clipper-win-cryptoclippy.yarDetection Rule License 1.1
rule SEKOIA_Clipper_Win_Cryptoclippy : FILE
{
meta:
= "Finds CryptoClippy samples"
= "Sekoia.io"
= "eaa98a8e-e29e-43a4-8b2d-2137d33d4116"
= "2023-04-11"
= "2024-12-19"
= "https://unit42.paloaltonetworks.com/crypto-clipper-targets-portuguese-speakers/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/clipper_win_cryptoclippy.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "057cb5bb957c2338a50c05cfa0177f75bcf263281ddcc5f365298bccafc64cb4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "C:\\mbedtls\\library\\" ascii
$str02 = "udp://8.8.8.8:53" ascii
$str03 = "Upgrade: websocket" ascii
$str04 = "%s\\%s.lnk" ascii
$str05 = "%s\\%s.ps1" ascii
$str06 = "%s\\%s.bat" ascii
$str07 = "set PSExecutionPolicyPreference=Unrestricted" ascii
$str08 = "schtasks /delete /tn \"%ls\" /f" ascii
$str09 = "SetClipboardData" ascii
$str10 = "SetWinEventHook" ascii
condition:
uint16( 0 ) == 0x5A4D and 8 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "C:\\mbedtls\\library\\" | ascii |
| $str02 | text | "udp://8.8.8.8:53" | ascii |
| $str03 | text | "Upgrade: websocket" | ascii |
| $str04 | text | "%s\\%s.lnk" | ascii |
| $str05 | text | "%s\\%s.ps1" | ascii |
| $str06 | text | "%s\\%s.bat" | ascii |
| $str07 | text | "set PSExecutionPolicyPreference=Unrestricted" | ascii |
| $str08 | text | "schtasks /delete /tn \"%ls\" /f" | ascii |
| $str09 | text | "SetClipboardData" | ascii |
| $str10 | text | "SetWinEventHook" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 8 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 8 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: 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: eaa98a8e-e29e-43a4-8b2d-2137d33d4116
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06