YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Fakecaptcha_Downloader
Detects downloader executables dropped by fake captcha
- Author
- ditekshen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects downloader executables dropped by fake captcha
Associated malware family: Fakecaptcha.
Targets: Windows PE.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_Fakecaptcha_Downloader : FILE
{
meta:
= "Detects downloader executables dropped by fake captcha"
= "ditekshen"
= "d577e8ef-11df-565c-9925-63b8768a7115"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11793-L11803"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "57c39ce93f74d03767e7fde53281983a8462e4f3705d1bb9084bc169a08a0f83"
= 75
= 75
= "FILE"
strings:
$s1 = "</script>MZ" ascii
$s2 = "window.close();" ascii
$s3 = "eval(" ascii
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "</script>MZ" | ascii |
| $s2 | text | "window.close();" | ascii |
| $s3 | text | "eval(" | 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.
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: d577e8ef-11df-565c-9925-63b8768a7115
Tags:FILE
Related rules
- 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
- MalwareditekSHen detection· ditekshen· 2020-11-06