YARA · ESET malware-ioc
ESET_IIS_Group05_Iistealer
Detects Group 5 native IIS malware family (IIStealer)
- Author
- ESET Research
- Date
- 2021-08-04
- Score / Quality
- 75 / 80
What this rule detects
Detects Group 5 native IIS malware family (IIStealer)
It defines 12 patterns (10 text, 2 hex, 0 regex). YARA modules used: pe.
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_Group05_Iistealer
{
meta:
= "Detects Group 5 native IIS malware family (IIStealer)"
= "ESET Research"
= "598ec6b2-0349-5da7-acad-72ef2468b927"
= "2021-08-04"
= "2021-08-04"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/badiis/badiis.yar#L201-L232"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "5dff445121fda59df805d6fcb5db3f8f8e52a6e63e2da2a6875f8c9ad9cafc72"
= 75
= 80
= ""
= "BSD 2-Clause"
= "1"
strings:
$s1 = "tojLrGzFMbcDTKcH" ascii wide
$s2 = "4vUOj3IutgtrpVwh" ascii wide
$s3 = "SoUnRCxgREXMu9bM" ascii wide
$s4 = "9Zr1Z78OkgaXj1Xr" ascii wide
$s5 = "cache.txt" ascii wide
$s6 = "/checkout/checkout.aspx" ascii wide
$s7 = "/checkout/Payment.aspx" ascii wide
$s8 = "/privacy.aspx"
$s9 = "X-IIS-Data"
$s10 = "POST"
$s11 = {C7 ?? CF 2F 00 63 00 C7 ?? D3 68 00 65 00 C7 ?? D7 63 00 6B 00 C7 ?? DB 6F 00 75 00 C7 ?? DF 74 00 2F 00 C7 ?? E3 63 00 68 00 C7 ?? E7 65 00 63 00 C7 ?? EB 6B 00 6F 00 C7 ?? EF 75 00 74 00 C7 ?? F3 2E 00 61 00 C7 ?? F7 73 00 70 00 C7 ?? FB 78 00 00 00}
$s12 = {C7 ?? AF 2F 00 70 00 C7 ?? B3 72 00 69 00 C7 ?? B7 76 00 61 00 C7 ?? BB 63 00 79 00 C7 ?? BF 2E 00 61 00 C7 ?? C3 73 00 70 00 C7 ?? C7 78 00 00 00}
condition:
ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* )
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "tojLrGzFMbcDTKcH" | ascii wide |
| $s2 | text | "4vUOj3IutgtrpVwh" | ascii wide |
| $s3 | text | "SoUnRCxgREXMu9bM" | ascii wide |
| $s4 | text | "9Zr1Z78OkgaXj1Xr" | ascii wide |
| $s5 | text | "cache.txt" | ascii wide |
| $s6 | text | "/checkout/checkout.aspx" | ascii wide |
| $s7 | text | "/checkout/Payment.aspx" | ascii wide |
| $s8 | text | "/privacy.aspx" | |
| $s9 | text | "X-IIS-Data" | |
| $s10 | text | "POST" | |
| $s11 | hex | {C7 ?? CF 2F 00 63 00 C7 ?? D3 68 00 65 00 C7 ?? D7 63 00 6B 00 C7 ?? DB 6F 00 75 00 C7 ?? DF 74 00 2F 00 C7 ?? E3 63 00 68 00 C7 ?? E7 65 00 63 00 C7 ?? EB 6B … | |
| $s12 | hex | {C7 ?? AF 2F 00 70 00 C7 ?? B3 72 00 69 00 C7 ?? B7 76 00 61 00 C7 ?? BB 63 00 79 00 C7 ?? BF 2E 00 61 00 C7 ?? C3 73 00 70 00 C7 ?? C7 78 00 00 00} |
Condition
ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* )In plain words (Heuristic)
- 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: 598ec6b2-0349-5da7-acad-72ef2468b927
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