Managed XDR

cgb.exe (QuasarRat, Cobalt Strike) — malware analysis report

File info

Filename
cgb.exe
File type
PE32 executable (GUI) Intel 80386, for MS Windows
File size
1.7 MB
First seen
Last seen

Environment

w10/x64 en

Hashes

SHA1
0dec0de397745a00c189194bef4c75c6187d476c
SHA256
d0eae4d6541e1b9403356a30101b99da8f757eb35f89672a098c7414b5618ce8
MD5
35ee3b47b1c48fb3dec5a0d50529a4c2

Malwares

  • QuasarRat
  • Cobalt Strike

Signatures

Execution

T1059.001 suspicious_powershell: Creates suspicious powershell process
T1569.002 persistence_service: Starts newly created service
T1047 antivm_wmi: Uses WMI to detect virtual environment
T1047 has_wmi: Executes one or several WMI requests
T1059.001 suspicious_process: Spawns a suspicious process
T1059.003 suspicious_process: Spawns a suspicious process
T1059.003 executes_dropped_cmd: Executes dropped batch files
T1059.003 suspicious_batch: Suspicious batch

Persistence

T1183 persistence_autorun: Makes itself run automatically on Windows startup
T1543.003 creates_service: Creates a service, that will start automatically
T1136.001 add_user: Creates a new Windows user account
T1098 changes_user_password: Attempts to change user password
T1098 add_user_to_admin: Adds an elevated user to a group
T1098 add_user_to_group: Adds user to a group

Privilege Escalation

T1183 persistence_autorun: Makes itself run automatically on Windows startup
T1543.003 creates_service: Creates a service, that will start automatically
T1098 changes_user_password: Attempts to change user password
T1098 add_user_to_admin: Adds an elevated user to a group
T1098 add_user_to_group: Adds user to a group
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

T1183 persistence_autorun: Makes itself run automatically on Windows startup
T1070.004 deletes_self: Moves to different location or removes the original executable file
T1027.002 unnamed_memory_regions: Code was executed in unnamed regions
T1564.001 stealth_file: Creates hidden or system files
T1564.004 removes_zoneid_ads: Attempts to hide the indications that the file was downloaded from the Internet
T1036 system_filename: Created a file named as a common system file
T1036 system_procname: Created a process named as a common system process
T1497.001 antivm_wmi: Uses WMI to detect virtual environment
T1497.003 antisandbox_idletime: Detects Windows Idle Time to determine the uptime
T1497.003 antisandbox_sleep_utilities: Uses Windows utilities for pausing the execution
T1497.001 antivm_network_adapters: Checks NIC addresses
T1480 system_default_lang_id_present: Checks the system language
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
T1027.002 packer_entropy: Probably contains compressed or encrypted data
T1070 stealth_window: A process created a hidden window
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

Credential Access

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

Discovery

T1057 has_wmi: Executes one or several WMI requests
T1497.001 antivm_wmi: Uses WMI to detect virtual environment
T1497.003 antisandbox_idletime: Detects Windows Idle Time to determine the uptime
T1497.003 antisandbox_sleep_utilities: Uses Windows utilities for pausing the execution
T1082 has_wmi: Executes one or several WMI requests
T1082 uses_windows_utilities: Uses Windows utilities for basic Windows functionality
T1518 locates_browser: Attempts to identify where browsers are installed
T1497.001 antivm_network_adapters: Checks NIC addresses
T1016.001 system_network_configuration_discovery: System network configuration discovery detected
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
T1082 reads_csrss: Attempts to read csrss.exe memory

Impact

T1531 changes_user_password: Attempts to change user password
T1489 change_service_config: Stops services via ChangeServiceConfig

Other

yara_rules: Static rules
suricata_alert: Malicious traffic detected
networkdyndns_checkip: Connects to a Dynamic DNS domain
creates_many_processes: Spawns a lot of processes (over 70)
creates_in_windows: Creates files in the Windows directory
network_bind: Starts servers listening at None
creates_exe: Creates executable files in the file system
dead_host: Connects to IP addresses that do not respond to requests
executes_dropped_exe: Executes dropped exe files
create_rpc_bindings: Creates RPC connection
has_pdb: This executable file has a PDB path
creates_suspended_process: Creates suspended process
break_limit_exceeded: Warning: function calls limit has been exceeded
suspicious_network_port: Performs TCP or UDP request to non-standard port
test_check_service: Starts services
checktokenmembership: Checks user token with CheckTokenMembership call
writes_data: Writes big amount of data to disk
pe_overlay: PE file contains overlay

Related reports

Managed XDR