Analysis
-
max time kernel
150s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
25-12-2024 11:40
Behavioral task
behavioral1
Sample
test.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
test.exe
Resource
win10v2004-20241007-en
General
-
Target
test.exe
-
Size
251KB
-
MD5
57bd4f73690590693b5b921f29679410
-
SHA1
c2cb47bf602541043589e979f21c3d7c1698e3ac
-
SHA256
8a3de78cf177be4c37c1525becf05af336c1dc2a4d181cae79f6903754902efa
-
SHA512
00b543644058a93f1c0a13e4d40b1c4e76f9581325f1773d79983761ca6903643e5a44717e7785b27a8fac2a6609c19032e3f412d3339e9cc5dc697791890318
-
SSDEEP
6144:ZcNYS996KFifeVjBpeExgVTFSXFoMc5RhCaL37:ZcW7KEZlPzCy37
Malware Config
Extracted
darkcomet
GoogleDebugger
147.185.221.24:14161
RO_MUTEX-8HU43EZ
-
InstallPath
ChromeCookies\ChromeCookie.exe
-
gencode
WN0BLB8aPxBw
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
GoogleDebugJ
Signatures
-
Darkcomet family
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Users\\Admin\\AppData\\Local\\Temp\\ChromeCookies\\ChromeCookie.exe" test.exe -
Disables Task Manager via registry modification
-
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 5016 attrib.exe 4276 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation test.exe -
Executes dropped EXE 1 IoCs
pid Process 4740 ChromeCookie.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\GoogleDebugJ = "C:\\Users\\Admin\\AppData\\Local\\Temp\\ChromeCookies\\ChromeCookie.exe" test.exe Set value (str) \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\GoogleDebugJ = "C:\\Users\\Admin\\AppData\\Local\\Temp\\ChromeCookies\\ChromeCookie.exe" ChromeCookie.exe -
resource yara_rule behavioral2/memory/5108-0-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/files/0x000a000000023b7a-6.dat upx behavioral2/memory/5108-38-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-39-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-40-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-42-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-44-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-46-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/4740-52-0x0000000000400000-0x00000000004B7000-memory.dmp upx -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 7 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language test.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ChromeCookie.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ test.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 5108 test.exe Token: SeSecurityPrivilege 5108 test.exe Token: SeTakeOwnershipPrivilege 5108 test.exe Token: SeLoadDriverPrivilege 5108 test.exe Token: SeSystemProfilePrivilege 5108 test.exe Token: SeSystemtimePrivilege 5108 test.exe Token: SeProfSingleProcessPrivilege 5108 test.exe Token: SeIncBasePriorityPrivilege 5108 test.exe Token: SeCreatePagefilePrivilege 5108 test.exe Token: SeBackupPrivilege 5108 test.exe Token: SeRestorePrivilege 5108 test.exe Token: SeShutdownPrivilege 5108 test.exe Token: SeDebugPrivilege 5108 test.exe Token: SeSystemEnvironmentPrivilege 5108 test.exe Token: SeChangeNotifyPrivilege 5108 test.exe Token: SeRemoteShutdownPrivilege 5108 test.exe Token: SeUndockPrivilege 5108 test.exe Token: SeManageVolumePrivilege 5108 test.exe Token: SeImpersonatePrivilege 5108 test.exe Token: SeCreateGlobalPrivilege 5108 test.exe Token: 33 5108 test.exe Token: 34 5108 test.exe Token: 35 5108 test.exe Token: 36 5108 test.exe Token: SeIncreaseQuotaPrivilege 4740 ChromeCookie.exe Token: SeSecurityPrivilege 4740 ChromeCookie.exe Token: SeTakeOwnershipPrivilege 4740 ChromeCookie.exe Token: SeLoadDriverPrivilege 4740 ChromeCookie.exe Token: SeSystemProfilePrivilege 4740 ChromeCookie.exe Token: SeSystemtimePrivilege 4740 ChromeCookie.exe Token: SeProfSingleProcessPrivilege 4740 ChromeCookie.exe Token: SeIncBasePriorityPrivilege 4740 ChromeCookie.exe Token: SeCreatePagefilePrivilege 4740 ChromeCookie.exe Token: SeBackupPrivilege 4740 ChromeCookie.exe Token: SeRestorePrivilege 4740 ChromeCookie.exe Token: SeShutdownPrivilege 4740 ChromeCookie.exe Token: SeDebugPrivilege 4740 ChromeCookie.exe Token: SeSystemEnvironmentPrivilege 4740 ChromeCookie.exe Token: SeChangeNotifyPrivilege 4740 ChromeCookie.exe Token: SeRemoteShutdownPrivilege 4740 ChromeCookie.exe Token: SeUndockPrivilege 4740 ChromeCookie.exe Token: SeManageVolumePrivilege 4740 ChromeCookie.exe Token: SeImpersonatePrivilege 4740 ChromeCookie.exe Token: SeCreateGlobalPrivilege 4740 ChromeCookie.exe Token: 33 4740 ChromeCookie.exe Token: 34 4740 ChromeCookie.exe Token: 35 4740 ChromeCookie.exe Token: 36 4740 ChromeCookie.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4740 ChromeCookie.exe -
Suspicious use of WriteProcessMemory 42 IoCs
description pid Process procid_target PID 5108 wrote to memory of 5112 5108 test.exe 83 PID 5108 wrote to memory of 5112 5108 test.exe 83 PID 5108 wrote to memory of 5112 5108 test.exe 83 PID 5108 wrote to memory of 2092 5108 test.exe 84 PID 5108 wrote to memory of 2092 5108 test.exe 84 PID 5108 wrote to memory of 2092 5108 test.exe 84 PID 5112 wrote to memory of 5016 5112 cmd.exe 87 PID 5112 wrote to memory of 5016 5112 cmd.exe 87 PID 5112 wrote to memory of 5016 5112 cmd.exe 87 PID 2092 wrote to memory of 4276 2092 cmd.exe 88 PID 2092 wrote to memory of 4276 2092 cmd.exe 88 PID 2092 wrote to memory of 4276 2092 cmd.exe 88 PID 5108 wrote to memory of 4740 5108 test.exe 89 PID 5108 wrote to memory of 4740 5108 test.exe 89 PID 5108 wrote to memory of 4740 5108 test.exe 89 PID 4740 wrote to memory of 1188 4740 ChromeCookie.exe 90 PID 4740 wrote to memory of 1188 4740 ChromeCookie.exe 90 PID 4740 wrote to memory of 1188 4740 ChromeCookie.exe 90 PID 4740 wrote to memory of 1880 4740 ChromeCookie.exe 91 PID 4740 wrote to memory of 1880 4740 ChromeCookie.exe 91 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 PID 4740 wrote to memory of 2432 4740 ChromeCookie.exe 92 -
Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 5016 attrib.exe 4276 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\test.exe"C:\Users\Admin\AppData\Local\Temp\test.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:5108 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\test.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5112 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\test.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:5016
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2092 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:4276
-
-
-
C:\Users\Admin\AppData\Local\Temp\ChromeCookies\ChromeCookie.exe"C:\Users\Admin\AppData\Local\Temp\ChromeCookies\ChromeCookie.exe"2⤵
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4740 -
C:\Program Files (x86)\Internet Explorer\iexplore.exe"C:\Program Files (x86)\Internet Explorer\iexplore.exe"3⤵PID:1188
-
-
C:\Windows\explorer.exe"C:\Windows\explorer.exe"3⤵PID:1880
-
-
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:2432
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Privilege Escalation
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Defense Evasion
Hide Artifacts
2Hidden Files and Directories
2Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
251KB
MD557bd4f73690590693b5b921f29679410
SHA1c2cb47bf602541043589e979f21c3d7c1698e3ac
SHA2568a3de78cf177be4c37c1525becf05af336c1dc2a4d181cae79f6903754902efa
SHA51200b543644058a93f1c0a13e4d40b1c4e76f9581325f1773d79983761ca6903643e5a44717e7785b27a8fac2a6609c19032e3f412d3339e9cc5dc697791890318