YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Arechclient2
Detects Arechclient2 RAT
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Detects Arechclient2 RAT
Associated malware family: Arechclient2.
Targets: Windows PE.
It defines 25 patterns (24 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-arechclient2.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Arechclient2 : FILE
{
meta:
= "Detects Arechclient2 RAT"
= "ditekSHen"
= "c12858ea-5e06-5303-9df0-0f59ba83b5e5"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4271-L4303"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "0d841f4d4664fb09801c51f7b65e897e4e698753ad67fc20e2b81d98c0b3d07d"
= 75
= 73
= "FILE"
strings:
$s1 = "\\Google\\Chrome\\User Data\\copiedProf\"" wide
$s2 = "\",\"BotName\":\"" wide
$s3 = "\",\"BotOS\":\"" wide
$s4 = "\",\"URLData\":\"" wide
$s5 = "{\"Type\":\"ConnectionType\",\"ConnectionType\":\"Client\",\"SessionID\":\"" wide
$s6 = "{\"Type\":\"TestURLDump\",\"SessionID\":\"" wide
$s7 = "<ReceiveParticipantList>" ascii
$s8 = "<potocSkr>" ascii
$s9 = "fuck_sd" fullword ascii
$s10 = "HandleBotKiller" fullword ascii
$s11 = "RunBotKiller" fullword ascii
$s12 = "ConnectToServer" fullword ascii
$s13 = "KillBrowsers" fullword ascii
$s14 = "keybd_event" fullword ascii
$s15 = "FuckCodeImg" fullword ascii
$v1_1 = "grabber@" fullword ascii
$v1_2 = "<BrowserProfile>k__" ascii
$v1_3 = "<SystemHardwares>k__" ascii
$v1_4 = "<geoplugin_request>k__" ascii
$v1_5 = "<ScannedWallets>k__" ascii
$v1_6 = "<DicrFiles>k__" ascii
$v1_7 = "<MessageClientFiles>k__" ascii
$v1_8 = /<Scan(Browsers|Wallets|Screen|VPN)>k__BackingField/ fullword ascii
$v1_9 = "displayName[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}Local Extension Settingshost" wide
$v1_10 = "\\sitemanager.xml MB or SELECT * FROM Cookiesconfig" wide
condition:
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 7 of ( $v1* ) or ( 6 of ( $v1* ) and 1 of ( $s* ) ) )
}
Strings (25 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "\\Google\\Chrome\\User Data\\copiedProf\"" | wide |
| $s2 | text | "\",\"BotName\":\"" | wide |
| $s3 | text | "\",\"BotOS\":\"" | wide |
| $s4 | text | "\",\"URLData\":\"" | wide |
| $s5 | text | "{\"Type\":\"ConnectionType\",\"ConnectionType\":\"Client\",\"SessionID\":\"" | wide |
| $s6 | text | "{\"Type\":\"TestURLDump\",\"SessionID\":\"" | wide |
| $s7 | text | "<ReceiveParticipantList>" | ascii |
| $s8 | text | "<potocSkr>" | ascii |
| $s9 | text | "fuck_sd" | fullword ascii |
| $s10 | text | "HandleBotKiller" | fullword ascii |
| $s11 | text | "RunBotKiller" | fullword ascii |
| $s12 | text | "ConnectToServer" | fullword ascii |
| $s13 | text | "KillBrowsers" | fullword ascii |
| $s14 | text | "keybd_event" | fullword ascii |
| $s15 | text | "FuckCodeImg" | fullword ascii |
| $v1_1 | text | "grabber@" | fullword ascii |
| $v1_2 | text | "<BrowserProfile>k__" | ascii |
| $v1_3 | text | "<SystemHardwares>k__" | ascii |
| $v1_4 | text | "<geoplugin_request>k__" | ascii |
| $v1_5 | text | "<ScannedWallets>k__" | ascii |
| $v1_6 | text | "<DicrFiles>k__" | ascii |
| $v1_7 | text | "<MessageClientFiles>k__" | ascii |
| $v1_8 | regex | /<Scan(Browsers|Wallets|Screen|VPN)>k__BackingField/ | fullword ascii |
| $v1_9 | text | "displayName[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}Local Extension Settingshost" | wide |
| $v1_10 | text | "\\sitemanager.xml MB or SELECT * FROM Cookiesconfig" | wide |
Condition
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 7 of ( $v1* ) or ( 6 of ( $v1* ) and 1 of ( $s* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 patterns in ( $s* ) must match.
- At least 7 patterns in ( $v1* ) must match.
- At least 6 patterns in ( $v1* ) must match.
- At least 1 patterns in ( $s* ) 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: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: c12858ea-5e06-5303-9df0-0f59ba83b5e5
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06