Analysis
-
max time kernel
71s -
max time network
65s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
01-04-2024 22:44
Behavioral task
behavioral1
Sample
darkcomet_stub.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
darkcomet_stub.exe
Resource
win10v2004-20240226-en
General
-
Target
darkcomet_stub.exe
-
Size
662KB
-
MD5
10bf33fc0b791b5c123bf34647023e46
-
SHA1
e4859675bd2720c22c59d0bd9bfd4b637a1cd297
-
SHA256
9300b7b6bf1e06722e9daf487a52e75470583ed9ecb5078b5ad2b753c2179637
-
SHA512
b9ff6c60888b7bc3049e989190a92dd7b75625c621da319d555b94b310ba1ae407657f9f7398fb6d02d95542276023de8a1c45813d09a29b3c2ed7a9bb237785
-
SSDEEP
12288:03OpvNW4a76S/Ddon/m09bbYlIaaMcE2YGhq3vo1RnfAvIESJgoE26yc/RQ:iOA4aWNn/m09fKIaaBEtWq3A1Ov8Jgbu
Malware Config
Extracted
darkcomet
Guest16
7.tcp.eu.ngrok.io:16086
DC_MUTEX-VVQ12R5
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
a5HjuWXn17aD
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
darkcomet_stub.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" darkcomet_stub.exe -
Modifies firewall policy service 2 TTPs 3 IoCs
Processes:
msdcsc.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" msdcsc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" msdcsc.exe Key created \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile msdcsc.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
darkcomet_stub.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-275798769-4264537674-1142822080-1000\Control Panel\International\Geo\Nation darkcomet_stub.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 4832 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
darkcomet_stub.exemsdcsc.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-275798769-4264537674-1142822080-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" darkcomet_stub.exe Set value (str) \REGISTRY\USER\S-1-5-21-275798769-4264537674-1142822080-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
-
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
darkcomet_stub.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 1344 darkcomet_stub.exe Token: SeSecurityPrivilege 1344 darkcomet_stub.exe Token: SeTakeOwnershipPrivilege 1344 darkcomet_stub.exe Token: SeLoadDriverPrivilege 1344 darkcomet_stub.exe Token: SeSystemProfilePrivilege 1344 darkcomet_stub.exe Token: SeSystemtimePrivilege 1344 darkcomet_stub.exe Token: SeProfSingleProcessPrivilege 1344 darkcomet_stub.exe Token: SeIncBasePriorityPrivilege 1344 darkcomet_stub.exe Token: SeCreatePagefilePrivilege 1344 darkcomet_stub.exe Token: SeBackupPrivilege 1344 darkcomet_stub.exe Token: SeRestorePrivilege 1344 darkcomet_stub.exe Token: SeShutdownPrivilege 1344 darkcomet_stub.exe Token: SeDebugPrivilege 1344 darkcomet_stub.exe Token: SeSystemEnvironmentPrivilege 1344 darkcomet_stub.exe Token: SeChangeNotifyPrivilege 1344 darkcomet_stub.exe Token: SeRemoteShutdownPrivilege 1344 darkcomet_stub.exe Token: SeUndockPrivilege 1344 darkcomet_stub.exe Token: SeManageVolumePrivilege 1344 darkcomet_stub.exe Token: SeImpersonatePrivilege 1344 darkcomet_stub.exe Token: SeCreateGlobalPrivilege 1344 darkcomet_stub.exe Token: 33 1344 darkcomet_stub.exe Token: 34 1344 darkcomet_stub.exe Token: 35 1344 darkcomet_stub.exe Token: 36 1344 darkcomet_stub.exe Token: SeIncreaseQuotaPrivilege 4832 msdcsc.exe Token: SeSecurityPrivilege 4832 msdcsc.exe Token: SeTakeOwnershipPrivilege 4832 msdcsc.exe Token: SeLoadDriverPrivilege 4832 msdcsc.exe Token: SeSystemProfilePrivilege 4832 msdcsc.exe Token: SeSystemtimePrivilege 4832 msdcsc.exe Token: SeProfSingleProcessPrivilege 4832 msdcsc.exe Token: SeIncBasePriorityPrivilege 4832 msdcsc.exe Token: SeCreatePagefilePrivilege 4832 msdcsc.exe Token: SeBackupPrivilege 4832 msdcsc.exe Token: SeRestorePrivilege 4832 msdcsc.exe Token: SeShutdownPrivilege 4832 msdcsc.exe Token: SeDebugPrivilege 4832 msdcsc.exe Token: SeSystemEnvironmentPrivilege 4832 msdcsc.exe Token: SeChangeNotifyPrivilege 4832 msdcsc.exe Token: SeRemoteShutdownPrivilege 4832 msdcsc.exe Token: SeUndockPrivilege 4832 msdcsc.exe Token: SeManageVolumePrivilege 4832 msdcsc.exe Token: SeImpersonatePrivilege 4832 msdcsc.exe Token: SeCreateGlobalPrivilege 4832 msdcsc.exe Token: 33 4832 msdcsc.exe Token: 34 4832 msdcsc.exe Token: 35 4832 msdcsc.exe Token: 36 4832 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 4832 msdcsc.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
darkcomet_stub.exedescription pid process target process PID 1344 wrote to memory of 4832 1344 darkcomet_stub.exe msdcsc.exe PID 1344 wrote to memory of 4832 1344 darkcomet_stub.exe msdcsc.exe PID 1344 wrote to memory of 4832 1344 darkcomet_stub.exe msdcsc.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\darkcomet_stub.exe"C:\Users\Admin\AppData\Local\Temp\darkcomet_stub.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"2⤵
- Modifies firewall policy service
- Executes dropped EXE
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
Network
MITRE ATT&CK Matrix ATT&CK v13
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
1Windows Service
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\Documents\MSDCSC\msdcsc.exeFilesize
662KB
MD510bf33fc0b791b5c123bf34647023e46
SHA1e4859675bd2720c22c59d0bd9bfd4b637a1cd297
SHA2569300b7b6bf1e06722e9daf487a52e75470583ed9ecb5078b5ad2b753c2179637
SHA512b9ff6c60888b7bc3049e989190a92dd7b75625c621da319d555b94b310ba1ae407657f9f7398fb6d02d95542276023de8a1c45813d09a29b3c2ed7a9bb237785
-
memory/1344-0-0x0000000002180000-0x0000000002181000-memory.dmpFilesize
4KB
-
memory/1344-14-0x0000000000400000-0x00000000004B5000-memory.dmpFilesize
724KB
-
memory/4832-13-0x00000000022B0000-0x00000000022B1000-memory.dmpFilesize
4KB
-
memory/4832-15-0x0000000000400000-0x00000000004B5000-memory.dmpFilesize
724KB