Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
11/08/2024, 08:28
Static task
static1
Behavioral task
behavioral1
Sample
89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe
Resource
win7-20240704-en
General
-
Target
89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe
-
Size
326KB
-
MD5
89ad42692fee7414e1d76e9e82ddb060
-
SHA1
0b146b9cd89888de3e11c997b5c13f6312022344
-
SHA256
4e61ec038b087b5928e2f67763c5648f53fdf6809d884ad4767988b38ac76fef
-
SHA512
5ab6535fb05524f8d3c7ad15f7bef77ec587fc9b0c852d63305d4883077c4603c97d8533df3c95b9e3873a752ed1e7d6aae39063096e85e75aeefbd178e2059b
-
SSDEEP
6144:y/bxSTw4/srl69uroeLiDO5pFhLZzfe7oS3JnfAm:yjxST5s5pVD5xJmMS3mm
Malware Config
Extracted
darkcomet
TheLeGenD
angham.no-ip.biz:60
DC_MUTEX-HXHF9JH
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
2HQjSzpbPTYy
-
install
true
-
offline_keylogger
true
-
password
123456
-
persistence
true
-
reg_key
MicroUpdate
Signatures
-
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\\Documents\\MSDCSC\\msdcsc.exe" 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 1632 attrib.exe 3140 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-945322488-2060912225-3527527000-1000\Control Panel\International\Geo\Nation 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 3972 msdcsc.exe 2016 msdcsc.exe -
resource yara_rule behavioral2/memory/416-1-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-5-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-2-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-3-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-8-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-11-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-10-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-9-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-15-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-59-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-61-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-60-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-64-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/416-65-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-63-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-67-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-68-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-69-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-70-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-71-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-72-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-73-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-74-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-75-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-76-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-77-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-78-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-79-0x0000000000400000-0x00000000004C7000-memory.dmp upx behavioral2/memory/2016-80-0x0000000000400000-0x00000000004C7000-memory.dmp upx -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-945322488-2060912225-3527527000-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-945322488-2060912225-3527527000-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 3080 set thread context of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3972 set thread context of 2016 3972 msdcsc.exe 95 -
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.
description ioc Process 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 89ad42692fee7414e1d76e9e82ddb060_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 notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2016 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeSecurityPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeLoadDriverPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeSystemProfilePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeSystemtimePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeBackupPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeRestorePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeShutdownPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeDebugPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeUndockPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeManageVolumePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeImpersonatePrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: 33 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: 34 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: 35 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: 36 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 2016 msdcsc.exe Token: SeSecurityPrivilege 2016 msdcsc.exe Token: SeTakeOwnershipPrivilege 2016 msdcsc.exe Token: SeLoadDriverPrivilege 2016 msdcsc.exe Token: SeSystemProfilePrivilege 2016 msdcsc.exe Token: SeSystemtimePrivilege 2016 msdcsc.exe Token: SeProfSingleProcessPrivilege 2016 msdcsc.exe Token: SeIncBasePriorityPrivilege 2016 msdcsc.exe Token: SeCreatePagefilePrivilege 2016 msdcsc.exe Token: SeBackupPrivilege 2016 msdcsc.exe Token: SeRestorePrivilege 2016 msdcsc.exe Token: SeShutdownPrivilege 2016 msdcsc.exe Token: SeDebugPrivilege 2016 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2016 msdcsc.exe Token: SeChangeNotifyPrivilege 2016 msdcsc.exe Token: SeRemoteShutdownPrivilege 2016 msdcsc.exe Token: SeUndockPrivilege 2016 msdcsc.exe Token: SeManageVolumePrivilege 2016 msdcsc.exe Token: SeImpersonatePrivilege 2016 msdcsc.exe Token: SeCreateGlobalPrivilege 2016 msdcsc.exe Token: 33 2016 msdcsc.exe Token: 34 2016 msdcsc.exe Token: 35 2016 msdcsc.exe Token: 36 2016 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2016 msdcsc.exe -
Suspicious use of WriteProcessMemory 53 IoCs
description pid Process procid_target PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 3080 wrote to memory of 416 3080 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 87 PID 416 wrote to memory of 344 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 88 PID 416 wrote to memory of 344 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 88 PID 416 wrote to memory of 344 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 88 PID 416 wrote to memory of 3040 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 89 PID 416 wrote to memory of 3040 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 89 PID 416 wrote to memory of 3040 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 89 PID 3040 wrote to memory of 1632 3040 cmd.exe 92 PID 3040 wrote to memory of 1632 3040 cmd.exe 92 PID 3040 wrote to memory of 1632 3040 cmd.exe 92 PID 344 wrote to memory of 3140 344 cmd.exe 93 PID 344 wrote to memory of 3140 344 cmd.exe 93 PID 344 wrote to memory of 3140 344 cmd.exe 93 PID 416 wrote to memory of 3972 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 94 PID 416 wrote to memory of 3972 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 94 PID 416 wrote to memory of 3972 416 89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe 94 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 3972 wrote to memory of 2016 3972 msdcsc.exe 95 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 PID 2016 wrote to memory of 3100 2016 msdcsc.exe 96 -
Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 1632 attrib.exe 3140 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3080 -
C:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe2⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:416 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe" +s +h3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:344 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\89ad42692fee7414e1d76e9e82ddb060_JaffaCakes118.exe" +s +h4⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:3140
-
-
-
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:3040 -
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:1632
-
-
-
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3972 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exeC:\Users\Admin\Documents\MSDCSC\msdcsc.exe4⤵
- 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:2016 -
C:\Windows\SysWOW64\notepad.exenotepad5⤵
- System Location Discovery: System Language Discovery
PID:3100
-
-
-
-
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
326KB
MD589ad42692fee7414e1d76e9e82ddb060
SHA10b146b9cd89888de3e11c997b5c13f6312022344
SHA2564e61ec038b087b5928e2f67763c5648f53fdf6809d884ad4767988b38ac76fef
SHA5125ab6535fb05524f8d3c7ad15f7bef77ec587fc9b0c852d63305d4883077c4603c97d8533df3c95b9e3873a752ed1e7d6aae39063096e85e75aeefbd178e2059b