Analysis
-
max time kernel
16s -
max time network
18s -
platform
windows10-1703_x64 -
resource
win10-20230220-en -
resource tags
arch:x64arch:x86image:win10-20230220-enlocale:en-usos:windows10-1703-x64system -
submitted
22-05-2023 23:23
Behavioral task
behavioral1
Sample
stub.exe
Resource
win10-20230220-en
General
-
Target
stub.exe
-
Size
42KB
-
MD5
815c1245bc05bdad3189cc6a65396207
-
SHA1
778663a46b269dc305f2e577f433ffc3b45909bd
-
SHA256
e1790e7dd80127ecb73f0a540f2ad8b4479bb97a0ecb7be807a67bc06fda94f2
-
SHA512
bedd64ebe0162fd55b74044ed4325997cf453ec0f502099337773dd0d2a4347f13ded825b7b812ba7441b6d092d2ff1a51517b2bb07882279b929c548b42e1ed
-
SSDEEP
384:sciKoRD0L2GI1Q/VNWJ2ge5So9eTYuWs/XZxIh/doJEFq5nmqoTAsCIKQsLd/Sfp:1LT+oge5b0guZ5LnoTjZKZKfgm3Eheb
Malware Config
Extracted
mercurialgrabber
https://discord.com/api/webhooks/1016435887099351190/NopdbVD5frXDLoZP3uBJeO3ESYrxVuhaIRyPJa5-BQ2gbFKRBe__Z233lKve_2jaiaDB
Signatures
-
Mercurial Grabber Stealer
Mercurial Grabber is an open source stealer targeting Chrome, Discord and some game clients as well as generic system information.
-
Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
Processes:
stub.exedescription ioc process Key opened \REGISTRY\MACHINE\SOFTWARE\Oracle\VirtualBox Guest Additions stub.exe -
Looks for VMWare Tools registry key 2 TTPs 1 IoCs
Processes:
stub.exedescription ioc process Key opened \REGISTRY\MACHINE\SOFTWARE\VMWare, Inc.\VMWare Tools stub.exe -
Checks BIOS information in registry 2 TTPs 1 IoCs
BIOS information is often read in order to detect sandboxing environments.
Processes:
stub.exedescription ioc process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\VideoBiosVersion stub.exe -
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Legitimate hosting services abused for malware hosting/C2 1 TTPs
-
Looks up external IP address via web service 4 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
Processes:
flow ioc 1 ip4.seeip.org 2 ip4.seeip.org 4 ip4.seeip.org 5 ip-api.com -
Maps connected drives based on registry 3 TTPs 2 IoCs
Disk information is often read in order to detect sandboxing environments.
Processes:
stub.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum stub.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum\0 stub.exe -
Checks SCSI registry key(s) 3 TTPs 1 IoCs
SCSI information is often read in order to detect sandboxing environments.
Processes:
stub.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_VMware_&Prod_VMware_Virtual_S stub.exe -
Checks processor information in registry 2 TTPs 2 IoCs
Processor information is often read in order to detect sandboxing environments.
Processes:
stub.exedescription ioc process Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 stub.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString stub.exe -
Enumerates system info in registry 2 TTPs 4 IoCs
Processes:
stub.exedescription ioc process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosInformation stub.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemManufacturer stub.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemProductName stub.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\Logical Unit Id 0 stub.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
Processes:
stub.exedescription pid process Token: SeDebugPrivilege 3712 stub.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\stub.exe"C:\Users\Admin\AppData\Local\Temp\stub.exe"1⤵
- Looks for VirtualBox Guest Additions in registry
- Looks for VMWare Tools registry key
- Checks BIOS information in registry
- Maps connected drives based on registry
- Checks SCSI registry key(s)
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:3712