Managed XDR

script.ps1 (Cobalt Strike) — malware analysis report

File info

Filename
script.ps1
File type
ASCII text, with very long lines, with CRLF line terminators
File size
474.3 KB
First seen
Last seen

Environment

w10/x64 en

Hashes

SHA1
33ac67f2c5ea7bfc0f20b53bf7bc93765f2d1c5a
SHA256
1fd51b41d18cd37d215b262778418fd864d90dfa25604ec68f1836943974cf79
MD5
7975eb3e2e0e3b2623112bdbd553adf6

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
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
T1057 has_wmi: Executes one or several WMI requests
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

Command and Control

T1071.001 winhttp_https: Performs HTTP/HTTPS requests using WinHttp
T1071.001 wininet_https: Performs HTTP/HTTPS requests using WinInet

Other

ce_info: CobaltStrike Configuration Data found
cobaltstrike_beacon: Memory region specific for CobaltStrike beacon was found
network_bind: Starts servers listening at None
dns_without_resolve: DNS query without a response
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
yara_rules: Static rules

Related reports