Analysis
-
max time kernel
150s -
max time network
16s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
16-10-2024 16:00
Static task
static1
Behavioral task
behavioral1
Sample
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe
Resource
win7-20240708-en
General
-
Target
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe
-
Size
538KB
-
MD5
4dbad88c8499d5b107f0fb03db52d51a
-
SHA1
c90ea6bfa776801348deb9e12737d4bfdd2874ba
-
SHA256
a143da5677db0949f56555e84e1a1f03a17ea7319b4b6c56abbac36b7f0abf67
-
SHA512
b8b694ce0f28d2c80f0b98236ff3562b332d3acb256e51f86f1fb34948fb236bab529388409687bb67bac66e91ac9b6f25056d2c3cd2e76a1ed8445d2a603899
-
SSDEEP
12288:eh2iNyOcF4Xb8oVDdRCWIEYHTnlSZzAj6Ii+YGo:eh/w4r8B6YzlxOI
Malware Config
Extracted
darkcomet
Normal
carbonfibers.myftp.biz:1656
DC_MUTEX-B7BWB8M
-
InstallPath
winsrvcrs\svchost.exe
-
gencode
APQgF8X7ZBz6
-
install
true
-
offline_keylogger
true
-
password
92496
-
persistence
true
-
reg_key
Microsoft Services Host
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exedescription ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Users\\Admin\\AppData\\Roaming\\winsrvcrs\\svchost.exe" 4dbad88c8499d5b107f0fb03db52d51a_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 2848 attrib.exe 1488 attrib.exe -
Executes dropped EXE 2 IoCs
Processes:
svchost.exesvchost.exepid Process 2832 svchost.exe 2248 svchost.exe -
Loads dropped DLL 3 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exesvchost.exepid Process 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 2832 svchost.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exesvchost.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1506706701-1246725540-2219210854-1000\Software\Microsoft\Windows\CurrentVersion\Run\Microsoft Services Host = "C:\\Users\\Admin\\AppData\\Roaming\\winsrvcrs\\svchost.exe" 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-1506706701-1246725540-2219210854-1000\Software\Microsoft\Windows\CurrentVersion\Run\Microsoft Services Host = "C:\\Users\\Admin\\AppData\\Roaming\\winsrvcrs\\svchost.exe" svchost.exe -
Suspicious use of SetThreadContext 2 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exesvchost.exedescription pid Process procid_target PID 2908 set thread context of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2832 set thread context of 2248 2832 svchost.exe 39 -
Processes:
resource yara_rule behavioral1/memory/2800-16-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-17-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-11-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-7-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-5-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-18-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-20-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-19-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-21-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-22-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2800-36-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-52-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-51-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-53-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-55-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-54-0x0000000000400000-0x00000000004BA000-memory.dmp upx behavioral1/memory/2248-98-0x0000000000400000-0x00000000004BA000-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 9 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.execmd.exeattrib.exesvchost.exenotepad.exe4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.execmd.exeattrib.exesvchost.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 4dbad88c8499d5b107f0fb03db52d51a_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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 4dbad88c8499d5b107f0fb03db52d51a_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 svchost.exe -
Suspicious behavior: EnumeratesProcesses 6 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exesvchost.exepid Process 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 2832 svchost.exe 2832 svchost.exe 2832 svchost.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
svchost.exepid Process 2248 svchost.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exesvchost.exesvchost.exedescription pid Process Token: SeDebugPrivilege 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeSecurityPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeLoadDriverPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeSystemProfilePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeSystemtimePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeBackupPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeRestorePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeShutdownPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeDebugPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeUndockPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeManageVolumePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeImpersonatePrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: 33 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: 34 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: 35 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe Token: SeDebugPrivilege 2832 svchost.exe Token: SeIncreaseQuotaPrivilege 2248 svchost.exe Token: SeSecurityPrivilege 2248 svchost.exe Token: SeTakeOwnershipPrivilege 2248 svchost.exe Token: SeLoadDriverPrivilege 2248 svchost.exe Token: SeSystemProfilePrivilege 2248 svchost.exe Token: SeSystemtimePrivilege 2248 svchost.exe Token: SeProfSingleProcessPrivilege 2248 svchost.exe Token: SeIncBasePriorityPrivilege 2248 svchost.exe Token: SeCreatePagefilePrivilege 2248 svchost.exe Token: SeBackupPrivilege 2248 svchost.exe Token: SeRestorePrivilege 2248 svchost.exe Token: SeShutdownPrivilege 2248 svchost.exe Token: SeDebugPrivilege 2248 svchost.exe Token: SeSystemEnvironmentPrivilege 2248 svchost.exe Token: SeChangeNotifyPrivilege 2248 svchost.exe Token: SeRemoteShutdownPrivilege 2248 svchost.exe Token: SeUndockPrivilege 2248 svchost.exe Token: SeManageVolumePrivilege 2248 svchost.exe Token: SeImpersonatePrivilege 2248 svchost.exe Token: SeCreateGlobalPrivilege 2248 svchost.exe Token: 33 2248 svchost.exe Token: 34 2248 svchost.exe Token: 35 2248 svchost.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
svchost.exepid Process 2248 svchost.exe -
Suspicious use of WriteProcessMemory 59 IoCs
Processes:
4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.execmd.execmd.exesvchost.exesvchost.exedescription pid Process procid_target PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2908 wrote to memory of 2800 2908 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 31 PID 2800 wrote to memory of 2872 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 32 PID 2800 wrote to memory of 2872 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 32 PID 2800 wrote to memory of 2872 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 32 PID 2800 wrote to memory of 2872 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 32 PID 2800 wrote to memory of 2668 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 33 PID 2800 wrote to memory of 2668 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 33 PID 2800 wrote to memory of 2668 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 33 PID 2800 wrote to memory of 2668 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 33 PID 2872 wrote to memory of 2848 2872 cmd.exe 36 PID 2872 wrote to memory of 2848 2872 cmd.exe 36 PID 2872 wrote to memory of 2848 2872 cmd.exe 36 PID 2872 wrote to memory of 2848 2872 cmd.exe 36 PID 2668 wrote to memory of 1488 2668 cmd.exe 37 PID 2668 wrote to memory of 1488 2668 cmd.exe 37 PID 2668 wrote to memory of 1488 2668 cmd.exe 37 PID 2668 wrote to memory of 1488 2668 cmd.exe 37 PID 2800 wrote to memory of 2832 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 38 PID 2800 wrote to memory of 2832 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 38 PID 2800 wrote to memory of 2832 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 38 PID 2800 wrote to memory of 2832 2800 4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe 38 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2832 wrote to memory of 2248 2832 svchost.exe 39 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 PID 2248 wrote to memory of 2932 2248 svchost.exe 40 -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid Process 2848 attrib.exe 1488 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2908 -
C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes1182⤵
- Modifies WinLogon for persistence
- Loads dropped DLL
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2800 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe" +s +h3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2872 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe" +s +h4⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:2848
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2668 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h4⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:1488
-
-
-
C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe"C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe"3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2832 -
C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exesvchost4⤵
- 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:2248 -
C:\Windows\SysWOW64\notepad.exenotepad5⤵
- System Location Discovery: System Language Discovery
PID:2932
-
-
-
-
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
538KB
MD54dbad88c8499d5b107f0fb03db52d51a
SHA1c90ea6bfa776801348deb9e12737d4bfdd2874ba
SHA256a143da5677db0949f56555e84e1a1f03a17ea7319b4b6c56abbac36b7f0abf67
SHA512b8b694ce0f28d2c80f0b98236ff3562b332d3acb256e51f86f1fb34948fb236bab529388409687bb67bac66e91ac9b6f25056d2c3cd2e76a1ed8445d2a603899