YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Ps1_Powerless_B
Detects POWERLESS malware.
- Autor
- threatintel@volexity.com
- Datum
- 2023-10-25
- Geändert
- 2024-01-29
- Score / Qualität
- 75 / 78
Was diese Regel erkennt
Detects POWERLESS malware.
Sie definiert 34 Muster (34 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule VOLEXITY_Apt_Malware_Ps1_Powerless_B : CHARMINGCYPRESS FILE MEMORY
{
meta:
= "Detects POWERLESS malware."
= "threatintel@volexity.com"
= "e62703b5-32fb-5ceb-9f21-f52a4871f3d9"
= "2023-10-25"
= "2024-01-29"
= "TIB-20231027"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-02-13 CharmingCypress/rules.yar#L100-L157"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "62de7abb39cf4c47ff120c7d765749696a03f4fa4e3e84c08712bb0484306ae1"
= "eb9d199c1f7c2a42d711c1a44ab13526787169c18a77ce988568525baca043ef"
= 75
= 78
= "CHARMINGCYPRESS, FILE, MEMORY"
= "win"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 9794
= 5
strings:
$fun_1 = "function verifyClickStorke"
$fun_2 = "function ConvertTo-SHA256"
$fun_3 = "function Convert-Tobase" fullword
$fun_4 = "function Convert-Frombase" fullword
$fun_5 = "function Send-Httppacket"
$fun_6 = "function Generat-FetchCommand"
$fun_7 = "function Create-Fetchkey"
$fun_8 = "function Run-Uploader"
$fun_9 = "function Run-Shot" fullword
$fun_10 = "function ShotThis("
$fun_11 = "function File-Manager"
$fun_12 = "function zip-files"
$fun_13 = "function Run-Stealer"
$fun_14 = "function Run-Downloader"
$fun_15 = "function Run-Stro" fullword
$fun_16 = "function Run-Tele" fullword
$fun_17 = "function Run-Voice"
$s_1 = "if($commandtype -eq \"klg\")"
$s_2 = "$desrilizedrecievedcommand"
$s_3 = "$getAsyncKeyProto = @"
$s_4 = "$Global:BotId ="
$s_5 = "$targetCLSID = (Get-ScheduledTask | Where-Object TaskName -eq"
$s_6 = "$burl = \"$Global:HostAddress/"
$s_7 = "$hashString = [System.BitConverter]::ToString($hash).Replace('-','').ToLower()"
$s_8 = "$Global:UID = ((gwmi win32_computersystemproduct).uuid -replace '[^0-9a-z]').substring("
$s_9 = "$rawpacket = \"{`\"MId`\":`\"$Global:MachineID`\",`\"BotId`\":`\"$basebotid`\"}\""
$s_12 = "Runned Without any Error"
$s_13 = "$commandresponse = (Invoke-Expression $instruction -ErrorAction Stop) | Out-String"
$s_14 = "Operation started successfuly"
$s_15 = "$t_path = (Get-WmiObject Win32_Process -Filter \"name = '$process'\" | Select-Object CommandLine).CommandLine"
$s_16 = "?{ $_.DisplayName -match \"Telegram Desktop\" } | %{$app_path += $_.InstallLocation }"
$s_17 = "$chlids = get-ChildItem $t -Recurse -Exclude \"$t\\tdata\\user_data\""
$s_18 = "if($FirsttimeFlag -eq $True)"
$s_19 = "Update-Conf -interval $inter -url $url -next_url $next -conf_path $conf_path -key $config_key"
condition:
3 of ( $fun_* ) or any of ( $s_* )
}
Strings (34 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $fun_1 | Text | "function verifyClickStorke" | |
| $fun_2 | Text | "function ConvertTo-SHA256" | |
| $fun_3 | Text | "function Convert-Tobase" | fullword |
| $fun_4 | Text | "function Convert-Frombase" | fullword |
| $fun_5 | Text | "function Send-Httppacket" | |
| $fun_6 | Text | "function Generat-FetchCommand" | |
| $fun_7 | Text | "function Create-Fetchkey" | |
| $fun_8 | Text | "function Run-Uploader" | |
| $fun_9 | Text | "function Run-Shot" | fullword |
| $fun_10 | Text | "function ShotThis(" | |
| $fun_11 | Text | "function File-Manager" | |
| $fun_12 | Text | "function zip-files" | |
| $fun_13 | Text | "function Run-Stealer" | |
| $fun_14 | Text | "function Run-Downloader" | |
| $fun_15 | Text | "function Run-Stro" | fullword |
| $fun_16 | Text | "function Run-Tele" | fullword |
| $fun_17 | Text | "function Run-Voice" | |
| $s_1 | Text | "if($commandtype -eq \"klg\")" | |
| $s_2 | Text | "$desrilizedrecievedcommand" | |
| $s_3 | Text | "$getAsyncKeyProto = @" | |
| $s_4 | Text | "$Global:BotId =" | |
| $s_5 | Text | "$targetCLSID = (Get-ScheduledTask | Where-Object TaskName -eq" | |
| $s_6 | Text | "$burl = \"$Global:HostAddress/" | |
| $s_7 | Text | "$hashString = [System.BitConverter]::ToString($hash).Replace('-','').ToLower()" | |
| $s_8 | Text | "$Global:UID = ((gwmi win32_computersystemproduct).uuid -replace '[^0-9a-z]').substring(" | |
| $s_9 | Text | "$rawpacket = \"{`\"MId`\":`\"$Global:MachineID`\",`\"BotId`\":`\"$basebotid`\"}\"" | |
| $s_12 | Text | "Runned Without any Error" | |
| $s_13 | Text | "$commandresponse = (Invoke-Expression $instruction -ErrorAction Stop) | Out-String" | |
| $s_14 | Text | "Operation started successfuly" | |
| $s_15 | Text | "$t_path = (Get-WmiObject Win32_Process -Filter \"name = '$process'\" | Select-Object CommandLine).CommandLine" | |
| $s_16 | Text | "?{ $_.DisplayName -match \"Telegram Desktop\" } | %{$app_path += $_.InstallLocation }" | |
| $s_17 | Text | "$chlids = get-ChildItem $t -Recurse -Exclude \"$t\\tdata\\user_data\"" | |
| $s_18 | Text | "if($FirsttimeFlag -eq $True)" | |
| $s_19 | Text | "Update-Conf -interval $inter -url $url -next_url $next -conf_path $conf_path -key $config_key" |
Bedingung
3 of ( $fun_* ) or any of ( $s_* )In Worten (Heuristik)
- Mindestens ein Muster aus ( $s_* ) muss treffen.
- Mindestens 3 Muster aus ( $fun_* ) 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).
- 62de7abb39cf4c47ff120c7d765749696a03f4fa4e3e84c08712bb0484306ae1
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: e62703b5-32fb-5ceb-9f21-f52a4871f3d9
Metadaten
| os | win |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 9794 |
| version | 5 |
Tags:CHARMINGCYPRESSFILEMEMORY
Verwandte Regeln
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2024-01-04
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-10-17
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-10-17
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-10-17
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-06-02
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / AkteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17