YARA · ESET malware-ioc
ESET_IIS_Group09
Detects Group 9 native IIS malware family
- Author
- ESET Research
- Date
- 2021-08-04
- Score / Quality
- 75 / 76
What this rule detects
Detects Group 9 native IIS malware family
It defines 31 patterns (30 text, 1 hex, 0 regex). YARA modules used: pe.
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports and 1 rule(s) it depends on needed to compile it on its own.
import "pe"
private rule ESET_IIS_Native_Module_PRIVATE : FILE
{
meta:
= "Signature to match an IIS native module (clean or malicious)"
= "ESET Research"
= "e3bacdc8-fde1-5e83-ac94-79fc345e888d"
= "2021-08-04"
= "2021-08-04"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/badiis/badiis.yar#L34-L92"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "5a388dc3253df606e2648d1f9c018e6dde373bbddce66dba69b7aecdd95bac18"
= 75
= 55
= "FILE"
= "BSD 2-Clause"
= "1"
strings:
$e1 = "This module subscribed to event"
$e2 = "CHttpModule::OnBeginRequest"
$e3 = "CHttpModule::OnPostBeginRequest"
$e4 = "CHttpModule::OnAuthenticateRequest"
$e5 = "CHttpModule::OnPostAuthenticateRequest"
$e6 = "CHttpModule::OnAuthorizeRequest"
$e7 = "CHttpModule::OnPostAuthorizeRequest"
$e8 = "CHttpModule::OnResolveRequestCache"
$e9 = "CHttpModule::OnPostResolveRequestCache"
$e10 = "CHttpModule::OnMapRequestHandler"
$e11 = "CHttpModule::OnPostMapRequestHandler"
$e12 = "CHttpModule::OnAcquireRequestState"
$e13 = "CHttpModule::OnPostAcquireRequestState"
$e14 = "CHttpModule::OnPreExecuteRequestHandler"
$e15 = "CHttpModule::OnPostPreExecuteRequestHandler"
$e16 = "CHttpModule::OnExecuteRequestHandler"
$e17 = "CHttpModule::OnPostExecuteRequestHandler"
$e18 = "CHttpModule::OnReleaseRequestState"
$e19 = "CHttpModule::OnPostReleaseRequestState"
$e20 = "CHttpModule::OnUpdateRequestCache"
$e21 = "CHttpModule::OnPostUpdateRequestCache"
$e22 = "CHttpModule::OnLogRequest"
$e23 = "CHttpModule::OnPostLogRequest"
$e24 = "CHttpModule::OnEndRequest"
$e25 = "CHttpModule::OnPostEndRequest"
$e26 = "CHttpModule::OnSendResponse"
$e27 = "CHttpModule::OnMapPath"
$e28 = "CHttpModule::OnReadEntity"
$e29 = "CHttpModule::OnCustomRequestNotification"
$e30 = "CHttpModule::OnAsyncCompletion"
$e31 = "CGlobalModule::OnGlobalStopListening"
$e32 = "CGlobalModule::OnGlobalCacheCleanup"
$e33 = "CGlobalModule::OnGlobalCacheOperation"
$e34 = "CGlobalModule::OnGlobalHealthCheck"
$e35 = "CGlobalModule::OnGlobalConfigurationChange"
$e36 = "CGlobalModule::OnGlobalFileChange"
$e37 = "CGlobalModule::OnGlobalApplicationStart"
$e38 = "CGlobalModule::OnGlobalApplicationResolveModules"
$e39 = "CGlobalModule::OnGlobalApplicationStop"
$e40 = "CGlobalModule::OnGlobalRSCAQuery"
$e41 = "CGlobalModule::OnGlobalTraceEvent"
$e42 = "CGlobalModule::OnGlobalCustomNotification"
$e43 = "CGlobalModule::OnGlobalThreadCleanup"
$e44 = "CGlobalModule::OnGlobalApplicationPreload"
condition:
uint16( 0 ) == 0x5A4D and pe.exports ( "RegisterModule" ) and any of ( $e* )
}
rule ESET_IIS_Group09
{
meta:
= "Detects Group 9 native IIS malware family"
= "ESET Research"
= "69d176bc-73b1-5c4d-bb7e-463d26e8e6a9"
= "2021-08-04"
= "2021-08-04"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/badiis/badiis.yar#L339-L387"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "5f89f9488221b8db8d493b3c23b7f5edd957c15511148eca890558886c128192"
= 75
= 76
= ""
= "BSD 2-Clause"
= "1"
strings:
$i1 = "FliterSecurity.dll"
$i2 = {56565656565656565656565656565656}
$i3 = "app|hot|alp|svf|fkj|mry|poc|doc|20" xor
$i4 = "yisouspider|yisou|soso|sogou|m.sogou|sogo|sogou|so.com|baidu|bing|360" xor
$i5 = "baidu|m.baidu|soso|sogou|m.sogou|sogo|sogou|so.com|google|youdao" xor
$i6 = "118|abc|1go|evk" xor
$s1 = "AVCFuckHttpModuleFactory"
$s2 = "X-Forward"
$s3 = "fuck32.dat"
$s4 = "fuck64.dat"
$s5 = "&ipzz1="
$s6 = "&ipzz2="
$s7 = "&uuu="
$s8 = "http://20.3323sf.c" xor
$s9 = "http://bj.whtjz.c" xor
$s10 = "http://bj2.wzrpx.c" xor
$s11 = "http://cs.whtjz.c" xor
$s12 = "http://df.e652.c" xor
$s13 = "http://dfcp.yyphw.c" xor
$s14 = "http://es.csdsx.c" xor
$s15 = "http://hz.wzrpx.c" xor
$s16 = "http://id.3323sf.c" xor
$s17 = "http://qp.008php.c" xor
$s18 = "http://qp.nmnsw.c" xor
$s19 = "http://sc.300bt.c" xor
$s20 = "http://sc.wzrpx.c" xor
$s21 = "http://sf2223.c" xor
$s22 = "http://sx.cmdxb.c" xor
$s23 = "http://sz.ycfhx.c" xor
$s24 = "http://xpq.0660sf.c" xor
$s25 = "http://xsc.b1174.c" xor
condition:
ESET_IIS_Native_Module_PRIVATE and any of ( $i* ) and 3 of ( $s* )
}
Strings (31 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $i1 | text | "FliterSecurity.dll" | |
| $i2 | hex | {56565656565656565656565656565656} | |
| $i3 | text | "app|hot|alp|svf|fkj|mry|poc|doc|20" | xor |
| $i4 | text | "yisouspider|yisou|soso|sogou|m.sogou|sogo|sogou|so.com|baidu|bing|360" | xor |
| $i5 | text | "baidu|m.baidu|soso|sogou|m.sogou|sogo|sogou|so.com|google|youdao" | xor |
| $i6 | text | "118|abc|1go|evk" | xor |
| $s1 | text | "AVCFuckHttpModuleFactory" | |
| $s2 | text | "X-Forward" | |
| $s3 | text | "fuck32.dat" | |
| $s4 | text | "fuck64.dat" | |
| $s5 | text | "&ipzz1=" | |
| $s6 | text | "&ipzz2=" | |
| $s7 | text | "&uuu=" | |
| $s8 | text | "http://20.3323sf.c" | xor |
| $s9 | text | "http://bj.whtjz.c" | xor |
| $s10 | text | "http://bj2.wzrpx.c" | xor |
| $s11 | text | "http://cs.whtjz.c" | xor |
| $s12 | text | "http://df.e652.c" | xor |
| $s13 | text | "http://dfcp.yyphw.c" | xor |
| $s14 | text | "http://es.csdsx.c" | xor |
| $s15 | text | "http://hz.wzrpx.c" | xor |
| $s16 | text | "http://id.3323sf.c" | xor |
| $s17 | text | "http://qp.008php.c" | xor |
| $s18 | text | "http://qp.nmnsw.c" | xor |
| $s19 | text | "http://sc.300bt.c" | xor |
| $s20 | text | "http://sc.wzrpx.c" | xor |
| $s21 | text | "http://sf2223.c" | xor |
| $s22 | text | "http://sx.cmdxb.c" | xor |
| $s23 | text | "http://sz.ycfhx.c" | xor |
| $s24 | text | "http://xpq.0660sf.c" | xor |
| $s25 | text | "http://xsc.b1174.c" | xor |
Condition
ESET_IIS_Native_Module_PRIVATE and any of ( $i* ) and 3 of ( $s* )In plain words (Heuristic)
- At least one pattern in ( $i* ) must match.
- At least 3 patterns in ( $s* ) must match.
- Depends on the rule ESET_IIS_Native_Module_PRIVATE.
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: ESET Research
Source repository: ESET malware-ioc @ 17baf44964
Licence: BSD 2-Clause License (stated in the rule's own meta)
“BSD 2-Clause”
Copyright notice: Copyright (c) 2014-2018 ESET spol. s r.o.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 69d176bc-73b1-5c4d-bb7e-463d26e8e6a9
Metadata
| version | 1 |
|---|
Related rules
- MalwareESET malware-ioc· ESET Research· 2023-03-31
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2021-08-04
- MalwareESET malware-ioc· ESET Research· 2021-08-04
- MalwareESET malware-ioc· ESET Research· 2021-05-17