Managed XDR

ganyu.ps1 (Cobalt Strike) — malware analysis report

File info

Filename
ganyu.ps1
File type
ASCII text, with very long lines
File size
3.5 KB
First seen
Last seen

Environment

w10/x64 en

Hashes

SHA1
a4774330f8455ff6a16f5c84cb79d52154193091
SHA256
ca6771d7509d87136985dfe9155814392364d444c73355f88e4a97bd1e1d5b6d
MD5
8667807149523fc9dada5f1ffedfe7f9

Malwares

  • Cobalt Strike

Signatures

Execution

T1047 antivm_wmi: Uses WMI to detect virtual environment
T1047 has_wmi: Executes one or several WMI requests

Privilege Escalation

T1134 sets_privilegies_via_adjusttokenprivileges: Sets process privilege via AdjustTokenPrivileges
T1134 opens_thread_token: Opens the access token associated with a thread
T1134 opens_process_token: Opens the access token associated with a process

Defense Evasion

T1497.001 antivm_wmi: Uses WMI to detect virtual environment
T1497 evasion_printers: Attempts to detect Sandbox by exploring existing printers
T1497.001 antivm_generic_productname: Checks system product name in registry, possibly for anti-virtualization
T1497.001 antivm_queries_computername: Retrieves the computer name
T1497.002 antivm_usbstor: Reads information about usbdevices from regkey
T1134 sets_privilegies_via_adjusttokenprivileges: Sets process privilege via AdjustTokenPrivileges
T1134 opens_thread_token: Opens the access token associated with a thread
T1134 opens_process_token: Opens the access token associated with a process

Credential Access

T1555.004 windows_credential_manager: Acquire credentials from the Windows Credential Manager

Discovery

T1497.001 antivm_wmi: Uses WMI to detect virtual environment
T1082 has_wmi: Executes one or several WMI requests
T1518 locates_browser: Attempts to identify where browsers are installed
T1497 evasion_printers: Attempts to detect Sandbox by exploring existing printers
T1497.001 antivm_generic_productname: Checks system product name in registry, possibly for anti-virtualization
T1497.001 antivm_queries_computername: Retrieves the computer name
T1497.002 antivm_usbstor: Reads information about usbdevices from regkey

Command and Control

T1071 internet_security_options: Sets Internet connections options that are not secure
T1032 internet_security_options: Sets Internet connections options that are not secure
T1071.001 wininet_https: Performs HTTP/HTTPS requests using WinInet

Other

yara_rules: Static rules
network_bind: Starts servers listening at None
dead_host: Connects to IP addresses that do not respond to requests
process_crashed: One of the processes has failed
unexpected_exception: Unexpected exception
network_powershell: Powershell process network connection detected
create_rpc_bindings: Creates RPC connection
suspicious_network_port: Performs TCP or UDP request to non-standard port
test_check_service: Starts services
writes_data: Writes big amount of data to disk

Related reports