Analysis
- max time kernel
148s - max time network
147s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
25/09/2024, 08:42
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe
Resource
win7-20240903-en
12 signatures
150 seconds
General
- Target f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe
- Size 1.8MB
- Sample240925-kl179ayena
- SHA256 c61f6298ac3ec3d9247dcc846b5732fff584743c6dedcb16014072338311a166
- MD5 f59fcd0a0d1be6eb51ea547395553584
- SHA1 2dab35d28174c211f85dbb26b5ecd19b53a9b355
- SHA512 97e145bce6721e5e37c6e5fb1e0733cd8da07a56c8c5dccc406424d9aa4c4cd1615c3e9ed804bf0f71f11e8aedf4e717b239b80d21e7c5b7e8a66dcea6c641e6
- SSDEEP 6144:uTgdwaoEXT52PfkHYHH14VgpOk35jQv2Z1M5lkHaoEXT52PfkHYHH14Vgp:udaik4OgOkpjQ8ElkHaik4Og
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
darkcomet
Botnet
-
Guest16
C2
-
127.0.0.1:1604
-
khaledboos.no-ip.biz:1604
Mutex
-
DC_MUTEX-9MKHND2
Attributes
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
e6B8pehka9Rg
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
Signatures
- 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\\Documents\\MSDCSC\\msdcsc.exe" f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe - Executes dropped EXE 2 IoCs
pid Process 3172 msdcsc.exe 344 msdcsc.exe - Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe - Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2740 set thread context of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 3172 set thread context of 344 3172 msdcsc.exe 84 -
resource yara_rule behavioral2/memory/804-2-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-4-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-5-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-7-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-6-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-8-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/804-21-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-28-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-30-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-29-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-31-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-32-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-33-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-34-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-35-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-36-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-37-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-38-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-39-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-40-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-41-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-42-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-43-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-44-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-45-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-46-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-47-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-48-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-49-0x0000000000400000-0x00000000004B9000-memory.dmp upx behavioral2/memory/344-50-0x0000000000400000-0x00000000004B9000-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 4 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 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe - Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeSecurityPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeLoadDriverPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeSystemProfilePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeSystemtimePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeBackupPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeRestorePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeShutdownPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeDebugPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeUndockPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeManageVolumePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeImpersonatePrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: 33 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: 34 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: 35 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: 36 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 344 msdcsc.exe Token: SeSecurityPrivilege 344 msdcsc.exe Token: SeTakeOwnershipPrivilege 344 msdcsc.exe Token: SeLoadDriverPrivilege 344 msdcsc.exe Token: SeSystemProfilePrivilege 344 msdcsc.exe Token: SeSystemtimePrivilege 344 msdcsc.exe Token: SeProfSingleProcessPrivilege 344 msdcsc.exe Token: SeIncBasePriorityPrivilege 344 msdcsc.exe Token: SeCreatePagefilePrivilege 344 msdcsc.exe Token: SeBackupPrivilege 344 msdcsc.exe Token: SeRestorePrivilege 344 msdcsc.exe Token: SeShutdownPrivilege 344 msdcsc.exe Token: SeDebugPrivilege 344 msdcsc.exe Token: SeSystemEnvironmentPrivilege 344 msdcsc.exe Token: SeChangeNotifyPrivilege 344 msdcsc.exe Token: SeRemoteShutdownPrivilege 344 msdcsc.exe Token: SeUndockPrivilege 344 msdcsc.exe Token: SeManageVolumePrivilege 344 msdcsc.exe Token: SeImpersonatePrivilege 344 msdcsc.exe Token: SeCreateGlobalPrivilege 344 msdcsc.exe Token: 33 344 msdcsc.exe Token: 34 344 msdcsc.exe Token: 35 344 msdcsc.exe Token: 36 344 msdcsc.exe - Suspicious use of SetWindowsHookEx 3 IoCs
pid Process 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 3172 msdcsc.exe 344 msdcsc.exe - Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 2740 wrote to memory of 804 2740 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 82 PID 804 wrote to memory of 3172 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 83 PID 804 wrote to memory of 3172 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 83 PID 804 wrote to memory of 3172 804 f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe 83 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84 PID 3172 wrote to memory of 344 3172 msdcsc.exe 84
Processes
-
C:\Users\Admin\AppData\Local\Temp\f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2740 -
C:\Users\Admin\AppData\Local\Temp\f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f59fcd0a0d1be6eb51ea547395553584_JaffaCakes118.exe"2⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:804 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3172 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"4⤵
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:344
-
-
-
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
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
- Size 1.8MB
- SHA256 c61f6298ac3ec3d9247dcc846b5732fff584743c6dedcb16014072338311a166
- MD5 f59fcd0a0d1be6eb51ea547395553584
- SHA1 2dab35d28174c211f85dbb26b5ecd19b53a9b355
- SHA512 97e145bce6721e5e37c6e5fb1e0733cd8da07a56c8c5dccc406424d9aa4c4cd1615c3e9ed804bf0f71f11e8aedf4e717b239b80d21e7c5b7e8a66dcea6c641e6
- SSDEEP 6144:uTgdwaoEXT52PfkHYHH14VgpOk35jQv2Z1M5lkHaoEXT52PfkHYHH14Vgp:udaik4OgOkpjQ8ElkHaik4Og
- MD5 SHA1 SHA512 SSDEEP