YARA · ESET malware-ioc
ESET_Sparklinggoblin_Chacha20Loader_Richheader
Rule matching ChaCha20 loaders rich header
- Author
- ESET Research
- Date
- 2021-03-30
- Modified
- 2021-08-26
- Score / Quality
- 75 / 80
What this rule detects
Rule matching ChaCha20 loaders rich header
Targets: Windows PE.
It has no patterns: the condition alone decides (modules, file properties or other rules). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
rule ESET_Sparklinggoblin_Chacha20Loader_Richheader
{
meta:
= "Rule matching ChaCha20 loaders rich header"
= "ESET Research"
= "e1dac369-f25e-5cb3-aafa-b0c45f05b295"
= "2021-03-30"
= "2021-08-26"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/sparklinggoblin/SparklingGoblin.yar#L33-L57"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "09ffe37a54bc4ebebd8d56098e4c76232f35d821"
= "29b147b76bb0d9e09f7297487cb972e6a2905586"
= "33f2c3de2457b758fc5824a2b253ad7c7c2e9e37"
= "45bef297ce78521eac6ee39e7603e18360e67c5a"
= "4cec7cdc78d95c70555a153963064f216dae8799"
= "4d4c1a062a0390b20732ba4d65317827f2339b80"
= "4f6949a4906b834e83ff951e135e0850fe49d5e4"
= "a5c9595036dec0e0aef0a030c590189752217d15d3f53bf3dc537f5b43fae63e"
= 75
= 80
= ""
= "BSD 2-Clause"
condition:
pe.rich_signature.length>= 104 and pe.rich_signature.length <= 112 and pe.rich_signature.toolid ( 241 , 40116 ) >= 5 and pe.rich_signature.toolid ( 241 , 40116 ) <= 10 and pe.rich_signature.toolid ( 147 , 30729 ) == 11 and pe.rich_signature.toolid ( 264 , 24215 ) >= 15 and pe.rich_signature.toolid ( 264 , 24215 ) <= 16
}
Condition
pe.rich_signature.length>= 104 and pe.rich_signature.length <= 112 and pe.rich_signature.toolid ( 241 , 40116 ) >= 5 and pe.rich_signature.toolid ( 241 , 40116 ) <= 10 and pe.rich_signature.toolid ( 147 , 30729 ) == 11 and pe.rich_signature.toolid ( 264 , 24215 ) >= 15 and pe.rich_signature.toolid ( 264 , 24215 ) <= 16In plain words (Heuristic)
- Uses the pe module.
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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 09ffe37a54bc4ebebd8d56098e4c76232f35d821
- 29b147b76bb0d9e09f7297487cb972e6a2905586
- 33f2c3de2457b758fc5824a2b253ad7c7c2e9e37
- 45bef297ce78521eac6ee39e7603e18360e67c5a
- 4cec7cdc78d95c70555a153963064f216dae8799
- 4d4c1a062a0390b20732ba4d65317827f2339b80
- 4f6949a4906b834e83ff951e135e0850fe49d5e4
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: e1dac369-f25e-5cb3-aafa-b0c45f05b295
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
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17