Analysis
-
max time kernel
149s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
20-05-2024 13:12
Behavioral task
behavioral1
Sample
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe
Resource
win7-20240221-en
General
-
Target
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe
-
Size
251KB
-
MD5
5f416b178d8d810f5d4278290a2bd00c
-
SHA1
ff151d7e84772e85f0c8f94680bc09aea1e8eb21
-
SHA256
8ff1ef963f68b60dfc4a3116e308b57449400791280dd2b21a4b8727aaa9c33a
-
SHA512
0a4cba14d009833f2e8c5d27f67de960c77937a6c8a1a865f29ff579595dea0af9970c0daaad0031074d7530ee456a47029addeea5a33063cf044673c36217c5
-
SSDEEP
6144:lcNYS996KFifeVjBpeExgVTFSXFoMc5RhCaL37:lcW7KEZlPzCy37
Malware Config
Extracted
darkcomet
unkown
78.29.9.28:12345
DC_MUTEX-YK73YNE
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
7oqLDrdDz3He
-
install
true
-
offline_keylogger
true
-
persistence
false
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\MSDCSC\\msdcsc.exe" 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid process 1908 attrib.exe 4052 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-4124900551-4068476067-3491212533-1000\Control Panel\International\Geo\Nation 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 3524 msdcsc.exe -
Processes:
resource yara_rule behavioral2/memory/4904-0-0x0000000000400000-0x00000000004B7000-memory.dmp upx C:\Windows\MSDCSC\msdcsc.exe upx behavioral2/memory/4904-65-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-66-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-68-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-70-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-72-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-74-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-76-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/3524-78-0x0000000000400000-0x00000000004B7000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-4124900551-4068476067-3491212533-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\MSDCSC\\msdcsc.exe" 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe -
Drops file in Windows directory 3 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exedescription ioc process File created C:\Windows\MSDCSC\msdcsc.exe 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe File opened for modification C:\Windows\MSDCSC\msdcsc.exe 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe File opened for modification C:\Windows\MSDCSC\ 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Modifies registry class 1 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
msdcsc.exepid process 3524 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeSecurityPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeLoadDriverPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeSystemProfilePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeSystemtimePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeBackupPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeRestorePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeShutdownPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeDebugPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeUndockPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeManageVolumePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeImpersonatePrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: 33 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: 34 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: 35 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: 36 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 3524 msdcsc.exe Token: SeSecurityPrivilege 3524 msdcsc.exe Token: SeTakeOwnershipPrivilege 3524 msdcsc.exe Token: SeLoadDriverPrivilege 3524 msdcsc.exe Token: SeSystemProfilePrivilege 3524 msdcsc.exe Token: SeSystemtimePrivilege 3524 msdcsc.exe Token: SeProfSingleProcessPrivilege 3524 msdcsc.exe Token: SeIncBasePriorityPrivilege 3524 msdcsc.exe Token: SeCreatePagefilePrivilege 3524 msdcsc.exe Token: SeBackupPrivilege 3524 msdcsc.exe Token: SeRestorePrivilege 3524 msdcsc.exe Token: SeShutdownPrivilege 3524 msdcsc.exe Token: SeDebugPrivilege 3524 msdcsc.exe Token: SeSystemEnvironmentPrivilege 3524 msdcsc.exe Token: SeChangeNotifyPrivilege 3524 msdcsc.exe Token: SeRemoteShutdownPrivilege 3524 msdcsc.exe Token: SeUndockPrivilege 3524 msdcsc.exe Token: SeManageVolumePrivilege 3524 msdcsc.exe Token: SeImpersonatePrivilege 3524 msdcsc.exe Token: SeCreateGlobalPrivilege 3524 msdcsc.exe Token: 33 3524 msdcsc.exe Token: 34 3524 msdcsc.exe Token: 35 3524 msdcsc.exe Token: 36 3524 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 3524 msdcsc.exe -
Suspicious use of WriteProcessMemory 37 IoCs
Processes:
5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.execmd.execmd.exemsdcsc.exedescription pid process target process PID 4904 wrote to memory of 528 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 4904 wrote to memory of 528 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 4904 wrote to memory of 528 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 4904 wrote to memory of 348 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 4904 wrote to memory of 348 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 4904 wrote to memory of 348 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe cmd.exe PID 528 wrote to memory of 1908 528 cmd.exe attrib.exe PID 528 wrote to memory of 1908 528 cmd.exe attrib.exe PID 528 wrote to memory of 1908 528 cmd.exe attrib.exe PID 348 wrote to memory of 4052 348 cmd.exe attrib.exe PID 348 wrote to memory of 4052 348 cmd.exe attrib.exe PID 348 wrote to memory of 4052 348 cmd.exe attrib.exe PID 4904 wrote to memory of 3524 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe msdcsc.exe PID 4904 wrote to memory of 3524 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe msdcsc.exe PID 4904 wrote to memory of 3524 4904 5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe msdcsc.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe PID 3524 wrote to memory of 4436 3524 msdcsc.exe notepad.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 1908 attrib.exe 4052 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- Drops file in Windows directory
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\5f416b178d8d810f5d4278290a2bd00c_JaffaCakes118.exe" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
C:\Windows\MSDCSC\msdcsc.exe"C:\Windows\MSDCSC\msdcsc.exe"2⤵
- Executes dropped EXE
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\notepad.exenotepad3⤵
Network
MITRE ATT&CK Matrix ATT&CK v13
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
-
C:\Windows\MSDCSC\msdcsc.exeFilesize
251KB
MD55f416b178d8d810f5d4278290a2bd00c
SHA1ff151d7e84772e85f0c8f94680bc09aea1e8eb21
SHA2568ff1ef963f68b60dfc4a3116e308b57449400791280dd2b21a4b8727aaa9c33a
SHA5120a4cba14d009833f2e8c5d27f67de960c77937a6c8a1a865f29ff579595dea0af9970c0daaad0031074d7530ee456a47029addeea5a33063cf044673c36217c5
-
memory/3524-66-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-63-0x00000000009E0000-0x00000000009E1000-memory.dmpFilesize
4KB
-
memory/3524-68-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-70-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-72-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-74-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-76-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/3524-78-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/4436-64-0x0000000000640000-0x0000000000641000-memory.dmpFilesize
4KB
-
memory/4904-1-0x00000000023D0000-0x00000000023D1000-memory.dmpFilesize
4KB
-
memory/4904-65-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB
-
memory/4904-0-0x0000000000400000-0x00000000004B7000-memory.dmpFilesize
732KB