Analysis
-
max time kernel
150s -
max time network
129s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
10-12-2024 17:50
Behavioral task
behavioral1
Sample
ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe
Resource
win7-20240708-en
General
-
Target
ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe
-
Size
772KB
-
MD5
ddfa1700270ddb294e420fa5c2f91315
-
SHA1
5031c370f66fffeb1ff40b3c68ac371063450cd0
-
SHA256
94dd31b986c14745370b9d6af9919942e00a98013d3fa1d5d6e857ff8f6d45ec
-
SHA512
e946bca92df1f700570e9e9c978397a6ad027e65cc6e588f8a1592f235d8b1843992735a33be157f9d71dbacbf44383281040f9ba8683115ef039f31b9660617
-
SSDEEP
12288:j9HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/hSyC/:tZ1xuVVjfFoynPaVBUR8f+kN10EBK/
Malware Config
Extracted
darkcomet
Guest16
37.17.158.15:1604
DC_MUTEX-C9QWB5Q
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
Gv32zCQxtjSP
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
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:\\Windows\\system32\\MSDCSC\\msdcsc.exe" ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe -
Sets file to hidden 1 TTPs 1 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 1496 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-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe -
Executes dropped EXE 1 IoCs
pid Process 1596 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-493223053-2004649691-1575712786-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-493223053-2004649691-1575712786-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Drops file in System32 directory 3 IoCs
description ioc Process File created C:\Windows\SysWOW64\MSDCSC\msdcsc.exe ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\msdcsc.exe ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\ ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 5 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 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.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 msdcsc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 1596 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeSecurityPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeLoadDriverPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeSystemProfilePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeSystemtimePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeBackupPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeRestorePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeShutdownPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeDebugPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeUndockPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeManageVolumePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeImpersonatePrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: 33 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: 34 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: 35 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: 36 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 1596 msdcsc.exe Token: SeSecurityPrivilege 1596 msdcsc.exe Token: SeTakeOwnershipPrivilege 1596 msdcsc.exe Token: SeLoadDriverPrivilege 1596 msdcsc.exe Token: SeSystemProfilePrivilege 1596 msdcsc.exe Token: SeSystemtimePrivilege 1596 msdcsc.exe Token: SeProfSingleProcessPrivilege 1596 msdcsc.exe Token: SeIncBasePriorityPrivilege 1596 msdcsc.exe Token: SeCreatePagefilePrivilege 1596 msdcsc.exe Token: SeBackupPrivilege 1596 msdcsc.exe Token: SeRestorePrivilege 1596 msdcsc.exe Token: SeShutdownPrivilege 1596 msdcsc.exe Token: SeDebugPrivilege 1596 msdcsc.exe Token: SeSystemEnvironmentPrivilege 1596 msdcsc.exe Token: SeChangeNotifyPrivilege 1596 msdcsc.exe Token: SeRemoteShutdownPrivilege 1596 msdcsc.exe Token: SeUndockPrivilege 1596 msdcsc.exe Token: SeManageVolumePrivilege 1596 msdcsc.exe Token: SeImpersonatePrivilege 1596 msdcsc.exe Token: SeCreateGlobalPrivilege 1596 msdcsc.exe Token: 33 1596 msdcsc.exe Token: 34 1596 msdcsc.exe Token: 35 1596 msdcsc.exe Token: 36 1596 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1596 msdcsc.exe -
Suspicious use of WriteProcessMemory 31 IoCs
description pid Process procid_target PID 4172 wrote to memory of 1968 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 83 PID 4172 wrote to memory of 1968 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 83 PID 4172 wrote to memory of 1968 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 83 PID 1968 wrote to memory of 1496 1968 cmd.exe 85 PID 1968 wrote to memory of 1496 1968 cmd.exe 85 PID 1968 wrote to memory of 1496 1968 cmd.exe 85 PID 4172 wrote to memory of 1596 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 86 PID 4172 wrote to memory of 1596 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 86 PID 4172 wrote to memory of 1596 4172 ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe 86 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 PID 1596 wrote to memory of 4004 1596 msdcsc.exe 87 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 1496 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- Drops file in System32 directory
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4172 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1968 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\ddfa1700270ddb294e420fa5c2f91315_JaffaCakes118.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:1496
-
-
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exe"C:\Windows\system32\MSDCSC\msdcsc.exe"2⤵
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1596 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:4004
-
-
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
772KB
MD5ddfa1700270ddb294e420fa5c2f91315
SHA15031c370f66fffeb1ff40b3c68ac371063450cd0
SHA25694dd31b986c14745370b9d6af9919942e00a98013d3fa1d5d6e857ff8f6d45ec
SHA512e946bca92df1f700570e9e9c978397a6ad027e65cc6e588f8a1592f235d8b1843992735a33be157f9d71dbacbf44383281040f9ba8683115ef039f31b9660617