Analysis
-
max time kernel
93s -
max time network
148s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03-12-2024 12:29
Static task
static1
Behavioral task
behavioral1
Sample
bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe
-
Size
699KB
-
MD5
bd67d22cadfe66ca3f914e4702a437b5
-
SHA1
42e36f5b1e9a116c1a9ae6c740186fb7606c63da
-
SHA256
889d0c285c75bd93dd27109f019888e188996edcb4760ab9703627a1d341de5a
-
SHA512
1bb588877eb9161efe5e409d7dc1347ecf69e15812d1c9309d29d196acfd11fd08b0348af61b05efc1728b535f0bca5a03fd97b37b9733ce7ef571ba6090826f
-
SSDEEP
12288:S26g9e3ai37SzggkWClfOV8ef2h/8C+QISVBy4iKFRUX6YfllbSpbIwyg7X1UKCh:S26g4qi37SzgpWClfOhf298C+QISVByd
Malware Config
Extracted
darkcomet
Guest16
72.39.160.230:1256
DC_MUTEX-P9BUQZZ
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
Z8FqYnljpmJi
-
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:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" winlogon.exe -
Sets file to hidden 1 TTPs 1 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 2768 attrib.exe -
Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1045960512-3948844814-3059691613-1000\Control Panel\International\Geo\Nation bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe Key value queried \REGISTRY\USER\S-1-5-21-1045960512-3948844814-3059691613-1000\Control Panel\International\Geo\Nation winlogon.exe -
Executes dropped EXE 3 IoCs
pid Process 2536 winz.exe 4664 winlogon.exe 4780 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1045960512-3948844814-3059691613-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Windows Live = "C:\\Users\\Admin\\AppData\\Local\\Temp\\winz.exe" winz.exe Set value (str) \REGISTRY\USER\S-1-5-21-1045960512-3948844814-3059691613-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" winlogon.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2536 set thread context of 4664 2536 winz.exe 85 -
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 attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language winz.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dw20.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language winlogon.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe -
Checks processor information in registry 2 TTPs 3 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString dw20.exe -
Enumerates system info in registry 2 TTPs 2 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU dw20.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2536 winz.exe 2536 winz.exe -
Suspicious use of AdjustPrivilegeToken 31 IoCs
description pid Process Token: SeDebugPrivilege 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe Token: SeRestorePrivilege 4132 dw20.exe Token: SeBackupPrivilege 4132 dw20.exe Token: SeDebugPrivilege 2536 winz.exe Token: SeBackupPrivilege 4132 dw20.exe Token: SeBackupPrivilege 4132 dw20.exe Token: SeIncreaseQuotaPrivilege 4664 winlogon.exe Token: SeSecurityPrivilege 4664 winlogon.exe Token: SeTakeOwnershipPrivilege 4664 winlogon.exe Token: SeLoadDriverPrivilege 4664 winlogon.exe Token: SeSystemProfilePrivilege 4664 winlogon.exe Token: SeSystemtimePrivilege 4664 winlogon.exe Token: SeProfSingleProcessPrivilege 4664 winlogon.exe Token: SeIncBasePriorityPrivilege 4664 winlogon.exe Token: SeCreatePagefilePrivilege 4664 winlogon.exe Token: SeBackupPrivilege 4664 winlogon.exe Token: SeRestorePrivilege 4664 winlogon.exe Token: SeShutdownPrivilege 4664 winlogon.exe Token: SeDebugPrivilege 4664 winlogon.exe Token: SeSystemEnvironmentPrivilege 4664 winlogon.exe Token: SeChangeNotifyPrivilege 4664 winlogon.exe Token: SeRemoteShutdownPrivilege 4664 winlogon.exe Token: SeUndockPrivilege 4664 winlogon.exe Token: SeManageVolumePrivilege 4664 winlogon.exe Token: SeImpersonatePrivilege 4664 winlogon.exe Token: SeCreateGlobalPrivilege 4664 winlogon.exe Token: 33 4664 winlogon.exe Token: 34 4664 winlogon.exe Token: 35 4664 winlogon.exe Token: 36 4664 winlogon.exe Token: SeDebugPrivilege 2536 winz.exe -
Suspicious use of WriteProcessMemory 29 IoCs
description pid Process procid_target PID 4632 wrote to memory of 2536 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 83 PID 4632 wrote to memory of 2536 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 83 PID 4632 wrote to memory of 2536 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 83 PID 4632 wrote to memory of 4132 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 84 PID 4632 wrote to memory of 4132 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 84 PID 4632 wrote to memory of 4132 4632 bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe 84 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 2536 wrote to memory of 4664 2536 winz.exe 85 PID 4664 wrote to memory of 4308 4664 winlogon.exe 87 PID 4664 wrote to memory of 4308 4664 winlogon.exe 87 PID 4664 wrote to memory of 4308 4664 winlogon.exe 87 PID 4664 wrote to memory of 4780 4664 winlogon.exe 89 PID 4664 wrote to memory of 4780 4664 winlogon.exe 89 PID 4664 wrote to memory of 4780 4664 winlogon.exe 89 PID 4308 wrote to memory of 2768 4308 cmd.exe 91 PID 4308 wrote to memory of 2768 4308 cmd.exe 91 PID 4308 wrote to memory of 2768 4308 cmd.exe 91 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 2768 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\bd67d22cadfe66ca3f914e4702a437b5_JaffaCakes118.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4632 -
C:\Users\Admin\AppData\Local\Temp\winz.exe"C:\Users\Admin\AppData\Local\Temp\winz.exe"2⤵
- Executes dropped EXE
- Adds Run key to start application
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2536 -
C:\Users\Admin\AppData\Local\Temp\winlogon.exeC:\Users\Admin\AppData\Local\Temp\\winlogon.exe3⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4664 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\winlogon.exe" +s +h4⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4308 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\winlogon.exe" +s +h5⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:2768
-
-
-
C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"4⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
PID:4780
-
-
-
-
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 15682⤵
- System Location Discovery: System Language Discovery
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:4132
-
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
34KB
MD5e118330b4629b12368d91b9df6488be0
SHA1ce90218c7e3b90df2a3409ec253048bb6472c2fd
SHA2563a0f2936b8c45e8ba3458d69d7859a63844469e698652e15fb56639d32f40cc9
SHA512ac91c04cb20223dbaaf594440cb778dff36e857921be427c8528ba4c6cdb3e8bf8e71e1ae8af7bde9c04ff5b97b379231625bc1a2b66aba2f98cd340cd8a94b0
-
Filesize
461KB
MD5c6c68ae3743666b5339bd25510954093
SHA1e61308ee91092f3dc5875fe008f0a583aa69d96b
SHA256f3382b5188af2292dc114299107947284ebb6583096f93ab2f966787f8cb6101
SHA5122110269bfa3b7a6c52c466216c5e7534c0ec532bcd13aaff972e12c17f0a287ffaa29f1cf3f2b85ff2b5b02c3d6daeca435fc1b46bec9dccf494950c2be9e474