YARA · Google Cloud Threat Intelligence (GCTI)
GCTI_Cobaltstrike_Resources_Template_X86_Vba_V3_8_To_V4_X
Cobalt Strike's resources/template.x86.vba signature for versions v3.8 to v4.x
- Autor
- gssincla@google.com
- Datum
- 2022-11-18
- Geändert
- 2022-11-19
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Cobalt Strike's resources/template.x86.vba signature for versions v3.8 to v4.x
Zugehörige Malware-Familie: Cobalt Strike.
Sie definiert 7 Muster (7 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule GCTI_Cobaltstrike_Resources_Template_X86_Vba_V3_8_To_V4_X
{
meta:
= "Cobalt Strike's resources/template.x86.vba signature for versions v3.8 to v4.x"
= "gssincla@google.com"
= "11c7758e-93b2-5fe3-873d-b98de579d2b4"
= "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_Template_x86_Vba_v3_8_to_v4_x.yara#L17-L37"
= "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE"
= "fc66cb120e7bc9209882620f5df7fdf45394c44ca71701a8662210cf3a40e142"
= "7114515477d82651806eccef34f599f6ffd4614f987dee29417ac6ef7a1a1c38"
= 75
= 85
= ""
strings:
$createstuff = "Function CreateStuff Lib \"kernel32\" Alias \"CreateRemoteThread\"" nocase
$allocstuff = "Function AllocStuff Lib \"kernel32\" Alias \"VirtualAllocEx\"" nocase
$writestuff = "Function WriteStuff Lib \"kernel32\" Alias \"WriteProcessMemory\"" nocase
$runstuff = "Function RunStuff Lib \"kernel32\" Alias \"CreateProcessA\"" nocase
$vars = "Dim rwxpage As Long" nocase
$res = "RunStuff(sNull, sProc, ByVal 0&, ByVal 0&, ByVal 1&, ByVal 4&, ByVal 0&, sNull, sInfo, pInfo)"
$rwxpage = "AllocStuff(pInfo.hProcess, 0, UBound(myArray), &H1000, &H40)"
condition:
all of them and @vars [ 1 ] < @res [ 1 ] and @allocstuff [ 1 ] < @rwxpage [ 1 ]
}
Strings (7 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $createstuff | Text | "Function CreateStuff Lib \"kernel32\" Alias \"CreateRemoteThread\"" | nocase |
| $allocstuff | Text | "Function AllocStuff Lib \"kernel32\" Alias \"VirtualAllocEx\"" | nocase |
| $writestuff | Text | "Function WriteStuff Lib \"kernel32\" Alias \"WriteProcessMemory\"" | nocase |
| $runstuff | Text | "Function RunStuff Lib \"kernel32\" Alias \"CreateProcessA\"" | nocase |
| $vars | Text | "Dim rwxpage As Long" | nocase |
| $res | Text | "RunStuff(sNull, sProc, ByVal 0&, ByVal 0&, ByVal 1&, ByVal 4&, ByVal 0&, sNull, sInfo, pInfo)" | |
| $rwxpage | Text | "AllocStuff(pInfo.hProcess, 0, UBound(myArray), &H1000, &H40)" |
Bedingung
all of them and @vars [ 1 ] < @res [ 1 ] and @allocstuff [ 1 ] < @rwxpage [ 1 ]In Worten (Heuristik)
- Alle Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- fc66cb120e7bc9209882620f5df7fdf45394c44ca71701a8662210cf3a40e142
Lizenz & Namensnennung
Autor: gssincla@google.com
Quell-Repository: Google Cloud Threat Intelligence (GCTI) @ 1c5fd42b18
Lizenz: Apache License 2.0 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 11c7758e-93b2-5fe3-873d-b98de579d2b4
Verwandte Regeln
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18
- HacktoolGoogle Cloud Threat Intelligence (GCTI)· gssincla@google.com· 2022-11-18