YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Macos_Gimmick
Detects the macOS port of the GIMMICK malware.
- Autor
- threatintel@volexity.com
- Datum
- 2021-10-18
- Geändert
- 2024-08-02
- Score / Qualität
- 75 / 78
Was diese Regel erkennt
Detects the macOS port of the GIMMICK malware.
Sie definiert 29 Muster (29 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule VOLEXITY_Apt_Malware_Macos_Gimmick : STORMBAMBOO FILE MEMORY
{
meta:
= "Detects the macOS port of the GIMMICK malware."
= "threatintel@volexity.com"
= "3d485788-4aab-511b-a49e-5dc09d1950a9"
= "2021-10-18"
= "2024-08-02"
= "https://www.volexity.com/blog/2022/03/22/storm-cloud-on-the-horizon-gimmick-malware-strikes-at-macos/"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-03-22 GIMMICK/indicators/yara.yar#L1-L59"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "2a9296ac999e78f6c0bee8aca8bfa4d4638aa30d9c8ccc65124b1cbfc9caab5f"
= "00fba9df2212874a45d44b3d098a7b76c97fcd53ff083c76b784d2b510a4a467"
= 75
= 78
= "STORMBAMBOO, FILE, MEMORY"
= "darwin"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 6022
= 8
strings:
$s1 = "http://cgi1.apnic.net/cgi-bin/my-ip.php --connect-timeout 10 -m 20" wide ascii
$json1 = "base_json" ascii wide
$json2 = "down_json" ascii wide
$json3 = "upload_json" ascii wide
$json4 = "termin_json" ascii wide
$json5 = "request_json" ascii wide
$json6 = "online_json" ascii wide
$json7 = "work_json" ascii wide
$msg1 = "bash_pid: %d, FDS_CHILD: %d, FDS_PARENT: %d" ascii wide
$msg2 = "pid %d is dead" ascii wide
$msg3 = "exit with code %d" ascii wide
$msg4 = "recv signal %d" ascii wide
$cmd1 = "ReadCmdQueue" ascii wide
$cmd2 = "read_cmd_server_timer" ascii wide
$cmd3 = "enableProxys" ascii wide
$cmd4 = "result_block" ascii wide
$cmd5 = "createDirLock" ascii wide
$cmd6 = "proxyLock" ascii wide
$cmd7 = "createDirTmpItem" ascii wide
$cmd8 = "dowfileLock" ascii wide
$cmd9 = "downFileTmpItem" ascii wide
$cmd10 = "filePathTmpItem" ascii wide
$cmd11 = "uploadItems" ascii wide
$cmd12 = "downItems" ascii wide
$cmd13 = "failUploadItems" ascii wide
$cmd14 = "failDownItems" ascii wide
$cmd15 = "downloadCmds" ascii wide
$cmd16 = "uploadFiles" ascii wide
$cmd17 = "bash callback...." ascii wide
condition:
$s1 or 5 of ( $json* ) or 3 of ( $msg* ) or 9 of ( $cmd* )
}
Strings (29 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "http://cgi1.apnic.net/cgi-bin/my-ip.php --connect-timeout 10 -m 20" | wide ascii |
| $json1 | Text | "base_json" | ascii wide |
| $json2 | Text | "down_json" | ascii wide |
| $json3 | Text | "upload_json" | ascii wide |
| $json4 | Text | "termin_json" | ascii wide |
| $json5 | Text | "request_json" | ascii wide |
| $json6 | Text | "online_json" | ascii wide |
| $json7 | Text | "work_json" | ascii wide |
| $msg1 | Text | "bash_pid: %d, FDS_CHILD: %d, FDS_PARENT: %d" | ascii wide |
| $msg2 | Text | "pid %d is dead" | ascii wide |
| $msg3 | Text | "exit with code %d" | ascii wide |
| $msg4 | Text | "recv signal %d" | ascii wide |
| $cmd1 | Text | "ReadCmdQueue" | ascii wide |
| $cmd2 | Text | "read_cmd_server_timer" | ascii wide |
| $cmd3 | Text | "enableProxys" | ascii wide |
| $cmd4 | Text | "result_block" | ascii wide |
| $cmd5 | Text | "createDirLock" | ascii wide |
| $cmd6 | Text | "proxyLock" | ascii wide |
| $cmd7 | Text | "createDirTmpItem" | ascii wide |
| $cmd8 | Text | "dowfileLock" | ascii wide |
| $cmd9 | Text | "downFileTmpItem" | ascii wide |
| $cmd10 | Text | "filePathTmpItem" | ascii wide |
| $cmd11 | Text | "uploadItems" | ascii wide |
| $cmd12 | Text | "downItems" | ascii wide |
| $cmd13 | Text | "failUploadItems" | ascii wide |
| $cmd14 | Text | "failDownItems" | ascii wide |
| $cmd15 | Text | "downloadCmds" | ascii wide |
| $cmd16 | Text | "uploadFiles" | ascii wide |
| $cmd17 | Text | "bash callback...." | ascii wide |
Bedingung
$s1 or 5 of ( $json* ) or 3 of ( $msg* ) or 9 of ( $cmd* )In Worten (Heuristik)
- Mindestens 5 Muster aus ( $json* ) müssen treffen.
- Mindestens 3 Muster aus ( $msg* ) müssen treffen.
- Mindestens 9 Muster aus ( $cmd* ) müssen treffen.
- Muster $s1 muss vorhanden sein.
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).
- 2a9296ac999e78f6c0bee8aca8bfa4d4638aa30d9c8ccc65124b1cbfc9caab5f
Lizenz & Namensnennung
Autor: threatintel@volexity.com
Quell-Repository: Volexity threat-intel @ 3a9d0b5245
Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright-Hinweis: Copyright 2022 by Volexity, Inc.
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 3d485788-4aab-511b-a49e-5dc09d1950a9
Metadaten
| os | darwin |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 6022 |
| version | 8 |
Verwandte Regeln
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2024-02-23
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2024-02-23
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-07-24
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2020-03-16
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30