Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240730-en -
resource tags
arch:x64arch:x86image:win10v2004-20240730-enlocale:en-usos:windows10-2004-x64system -
submitted
01-08-2024 07:53
Static task
static1
Behavioral task
behavioral1
Sample
7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe
Resource
win7-20240704-en
General
-
Target
7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe
-
Size
1.0MB
-
MD5
7fb95a278a19e2e617103073ce277949
-
SHA1
b35d3abe168e600e479fe4ee0a9bbd0d16896293
-
SHA256
e10ceccfa2079cd2c7fbd113a12b2543089858353aa864120ac4fa4293a44c82
-
SHA512
f3a7abb1041b9cb894e11d240e651e1874f4698a426f652afa82360065da05cbbed3e7910b8cd3a82bc38b35e6ce5a07b8cc110e7c3823816fc4e4104fb112b8
-
SSDEEP
24576:FhXEizcghu+seL01pUbWm/FZk8KDdZprnIRWmAZfwv:z0rgw+s8k8KZ6DA1e
Malware Config
Extracted
darkcomet
Guest16
rat298.no-ip.biz:1604
DC_MUTEX-0GZYHZ0
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
z8rgSbLtXLFl
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
svchost.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" svchost.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid process 4620 attrib.exe 1772 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
svchost.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-195445723-368091294-1661186673-1000\Control Panel\International\Geo\Nation svchost.exe -
Executes dropped EXE 2 IoCs
Processes:
svchost.exemsdcsc.exepid process 1176 svchost.exe 1288 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
svchost.exe7fb95a278a19e2e617103073ce277949_JaffaCakes118.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-195445723-368091294-1661186673-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" svchost.exe Set value (str) \REGISTRY\USER\S-1-5-21-195445723-368091294-1661186673-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MSE = "C:\\Users\\Admin\\AppData\\Local\\Temp\\msupdate" 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
7fb95a278a19e2e617103073ce277949_JaffaCakes118.exedescription pid process target process PID 3420 set thread context of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 8 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
cmd.execmd.exeattrib.exeattrib.exemsdcsc.exe7fb95a278a19e2e617103073ce277949_JaffaCakes118.exesvchost.exenotepad.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe -
Modifies registry class 1 IoCs
Processes:
svchost.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ svchost.exe -
Suspicious use of AdjustPrivilegeToken 25 IoCs
Processes:
7fb95a278a19e2e617103073ce277949_JaffaCakes118.exesvchost.exedescription pid process Token: SeDebugPrivilege 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 1176 svchost.exe Token: SeSecurityPrivilege 1176 svchost.exe Token: SeTakeOwnershipPrivilege 1176 svchost.exe Token: SeLoadDriverPrivilege 1176 svchost.exe Token: SeSystemProfilePrivilege 1176 svchost.exe Token: SeSystemtimePrivilege 1176 svchost.exe Token: SeProfSingleProcessPrivilege 1176 svchost.exe Token: SeIncBasePriorityPrivilege 1176 svchost.exe Token: SeCreatePagefilePrivilege 1176 svchost.exe Token: SeBackupPrivilege 1176 svchost.exe Token: SeRestorePrivilege 1176 svchost.exe Token: SeShutdownPrivilege 1176 svchost.exe Token: SeDebugPrivilege 1176 svchost.exe Token: SeSystemEnvironmentPrivilege 1176 svchost.exe Token: SeChangeNotifyPrivilege 1176 svchost.exe Token: SeRemoteShutdownPrivilege 1176 svchost.exe Token: SeUndockPrivilege 1176 svchost.exe Token: SeManageVolumePrivilege 1176 svchost.exe Token: SeImpersonatePrivilege 1176 svchost.exe Token: SeCreateGlobalPrivilege 1176 svchost.exe Token: 33 1176 svchost.exe Token: 34 1176 svchost.exe Token: 35 1176 svchost.exe Token: 36 1176 svchost.exe -
Suspicious use of WriteProcessMemory 46 IoCs
Processes:
7fb95a278a19e2e617103073ce277949_JaffaCakes118.exesvchost.execmd.execmd.exedescription pid process target process PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 3420 wrote to memory of 1176 3420 7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe svchost.exe PID 1176 wrote to memory of 3252 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 3252 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 3252 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 2360 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 2360 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 2360 1176 svchost.exe cmd.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 1176 wrote to memory of 808 1176 svchost.exe notepad.exe PID 3252 wrote to memory of 1772 3252 cmd.exe attrib.exe PID 3252 wrote to memory of 1772 3252 cmd.exe attrib.exe PID 3252 wrote to memory of 1772 3252 cmd.exe attrib.exe PID 2360 wrote to memory of 4620 2360 cmd.exe attrib.exe PID 2360 wrote to memory of 4620 2360 cmd.exe attrib.exe PID 2360 wrote to memory of 4620 2360 cmd.exe attrib.exe PID 1176 wrote to memory of 1288 1176 svchost.exe msdcsc.exe PID 1176 wrote to memory of 1288 1176 svchost.exe msdcsc.exe PID 1176 wrote to memory of 1288 1176 svchost.exe msdcsc.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 1772 attrib.exe 4620 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\7fb95a278a19e2e617103073ce277949_JaffaCakes118.exe"1⤵
- Adds Run key to start application
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3420 -
C:\Users\Admin\AppData\Local\Temp\svchost.exeC:\Users\Admin\AppData\Local\Temp\svchost.exe2⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1176 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\svchost.exe" +s +h3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3252 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\svchost.exe" +s +h4⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:1772 -
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:2360 -
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:4620 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:808 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"3⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
PID:1288
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