Analysis
-
max time kernel
150s -
max time network
113s -
platform
windows10-2004_x64 -
resource
win10v2004-20240412-en -
resource tags
arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system -
submitted
16-04-2024 12:20
Behavioral task
behavioral1
Sample
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe
Resource
win7-20240221-en
General
-
Target
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe
-
Size
661KB
-
MD5
f37c39d23241d810bf574afd63d1475a
-
SHA1
f9017197fc5726f345f0d2398d42dfbe5e61339d
-
SHA256
3d3ddbe28d0b0b39a5c64a9cd062593f056a3c9a608073646dfc5e1dd55a7356
-
SHA512
acf8047755df03a4924e25cda00a09050ed1227bf57353e924d01912108efa46d5b91b68ef27a80764332c88e1b08c8ff4568a4c25f0aff7b0f0dccfd047054c
-
SSDEEP
12288:pXhpvNWw276S/DuoeFcfbmiJ99VPhYR5MTSHvLenELrWv1lZw4JuMkwh/:VnAw2WWeFcfbP9VPSPMTSPL/rWvzq4Jd
Malware Config
Extracted
darkcomet
Guest16
127.0.0.1:1604
DC_MUTEX-RQ9D7DQ
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
TdbyFJMD6RSA
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.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" f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe -
Modifies firewall policy service 2 TTPs 3 IoCs
Processes:
msdcsc.exedescription ioc Process Key created \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile msdcsc.exe 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 -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid Process 4580 attrib.exe 2612 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exedescription ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2288054676-1871194608-3559553667-1000\Control Panel\International\Geo\Nation f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid Process 4420 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exemsdcsc.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2288054676-1871194608-3559553667-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-2288054676-1871194608-3559553667-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
msdcsc.exepid Process 4420 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exemsdcsc.exedescription pid Process Token: SeIncreaseQuotaPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeSecurityPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeLoadDriverPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeSystemProfilePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeSystemtimePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeBackupPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeRestorePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeShutdownPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeDebugPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeUndockPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeManageVolumePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeImpersonatePrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: 33 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: 34 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: 35 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: 36 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 4420 msdcsc.exe Token: SeSecurityPrivilege 4420 msdcsc.exe Token: SeTakeOwnershipPrivilege 4420 msdcsc.exe Token: SeLoadDriverPrivilege 4420 msdcsc.exe Token: SeSystemProfilePrivilege 4420 msdcsc.exe Token: SeSystemtimePrivilege 4420 msdcsc.exe Token: SeProfSingleProcessPrivilege 4420 msdcsc.exe Token: SeIncBasePriorityPrivilege 4420 msdcsc.exe Token: SeCreatePagefilePrivilege 4420 msdcsc.exe Token: SeBackupPrivilege 4420 msdcsc.exe Token: SeRestorePrivilege 4420 msdcsc.exe Token: SeShutdownPrivilege 4420 msdcsc.exe Token: SeDebugPrivilege 4420 msdcsc.exe Token: SeSystemEnvironmentPrivilege 4420 msdcsc.exe Token: SeChangeNotifyPrivilege 4420 msdcsc.exe Token: SeRemoteShutdownPrivilege 4420 msdcsc.exe Token: SeUndockPrivilege 4420 msdcsc.exe Token: SeManageVolumePrivilege 4420 msdcsc.exe Token: SeImpersonatePrivilege 4420 msdcsc.exe Token: SeCreateGlobalPrivilege 4420 msdcsc.exe Token: 33 4420 msdcsc.exe Token: 34 4420 msdcsc.exe Token: 35 4420 msdcsc.exe Token: 36 4420 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid Process 4420 msdcsc.exe -
Suspicious use of WriteProcessMemory 37 IoCs
Processes:
f37c39d23241d810bf574afd63d1475a_JaffaCakes118.execmd.exemsdcsc.execmd.exedescription pid Process procid_target PID 3232 wrote to memory of 4484 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 92 PID 3232 wrote to memory of 4484 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 92 PID 3232 wrote to memory of 4484 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 92 PID 3232 wrote to memory of 2548 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 94 PID 3232 wrote to memory of 2548 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 94 PID 3232 wrote to memory of 2548 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 94 PID 3232 wrote to memory of 4420 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 96 PID 3232 wrote to memory of 4420 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 96 PID 3232 wrote to memory of 4420 3232 f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe 96 PID 4484 wrote to memory of 4580 4484 cmd.exe 98 PID 4484 wrote to memory of 4580 4484 cmd.exe 98 PID 4484 wrote to memory of 4580 4484 cmd.exe 98 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 4420 wrote to memory of 1844 4420 msdcsc.exe 97 PID 2548 wrote to memory of 2612 2548 cmd.exe 99 PID 2548 wrote to memory of 2612 2548 cmd.exe 99 PID 2548 wrote to memory of 2612 2548 cmd.exe 99 -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid Process 4580 attrib.exe 2612 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3232 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe" +s +h2⤵
- Suspicious use of WriteProcessMemory
PID:4484 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\f37c39d23241d810bf574afd63d1475a_JaffaCakes118.exe" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
PID:4580
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- Suspicious use of WriteProcessMemory
PID:2548 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
PID:2612
-
-
-
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 behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4420 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵PID:1844
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
1Windows Service
1Privilege Escalation
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
-
Filesize
661KB
MD5f37c39d23241d810bf574afd63d1475a
SHA1f9017197fc5726f345f0d2398d42dfbe5e61339d
SHA2563d3ddbe28d0b0b39a5c64a9cd062593f056a3c9a608073646dfc5e1dd55a7356
SHA512acf8047755df03a4924e25cda00a09050ed1227bf57353e924d01912108efa46d5b91b68ef27a80764332c88e1b08c8ff4568a4c25f0aff7b0f0dccfd047054c