YARA · Google Cloud Threat Intelligence (GCTI)
GCTI_Cobaltstrike_Resources_Httpsstager64_Bin_V3_2_Through_V4_X
Cobalt Strike's resources/httpsstager64.bin signature for versions v3.2 to v4.x
- Author
- gssincla@google.com
- Date
- 2022-11-18
- Modified
- 2022-11-19
- Score / Quality
- 75 / 85
What this rule detects
Cobalt Strike's resources/httpsstager64.bin signature for versions v3.2 to v4.x
Associated malware family: Cobalt Strike.
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule GCTI_Cobaltstrike_Resources_Httpsstager64_Bin_V3_2_Through_V4_X
{
meta:
= "Cobalt Strike's resources/httpsstager64.bin signature for versions v3.2 to v4.x"
= "gssincla@google.com"
= "c16e73fc-484a-5f7e-8127-d85a0254d842"
= "2022-11-18"
= "2022-11-19"
= "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse"
= "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Httpsstager64_Bin_v3_2_through_v4_x.yara#L17-L90"
= "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE"
= "109b8c55816ddc0defff360c93e8a07019ac812dd1a42209ea7e95ba79b5a573"
= "4889a23c1f2780044b9fb2a0207676d57e82e6c1275614b684a5a9cbe984b761"
= 75
= 85
= ""
strings:
$apiLocator = {
48 [2]
AC
41 [2] 0D
41 [2]
38 ??
75 ??
4C [4]
45 [2]
75 ??
5?
44 [2] 24
49 [2]
66 [4]
44 [2] 1C
49 [2]
41 [3]
48
}
$InternetSetOptionA = {
BA 1F 00 00 00
6A 00
68 80 33 00 00
49 [2]
41 ?? 04 00 00 00
41 ?? 75 46 9E 86
}
condition:
$apiLocator and $InternetSetOptionA
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $apiLocator | hex | { 48 [2] AC 41 [2] 0D 41 [2] 38 ?? 75 ?? 4C [4] 45 [2] 75 ?? 5? 44 [2] 24 49 [2] 66 [4] 44 [2] 1C 49 [2] 41 [3] … | |
| $InternetSetOptionA | hex | { BA 1F 00 00 00 6A 00 68 80 33 00 00 49 [2] 41 ?? 04 00 00 00 41 ?? 75 46 9E 86 } |
Condition
$apiLocator and $InternetSetOptionAIn plain words (Heuristic)
- Pattern $apiLocator must be present.
- Pattern $InternetSetOptionA must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 109b8c55816ddc0defff360c93e8a07019ac812dd1a42209ea7e95ba79b5a573
Licence & attribution
Author: gssincla@google.com
Source repository: Google Cloud Threat Intelligence (GCTI) @ 1c5fd42b18
Licence: Apache License 2.0 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: c16e73fc-484a-5f7e-8127-d85a0254d842
Related rules
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- Hack toolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18