Analysis
-
max time kernel
148s -
max time network
149s -
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 08:49
Static task
static1
Behavioral task
behavioral1
Sample
7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe
Resource
win7-20240704-en
General
-
Target
7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe
-
Size
548KB
-
MD5
7fdf52e6c29795edf3873748ade13d0e
-
SHA1
14c005aeb0015840038e38bd8f3ed8b8d0afb08f
-
SHA256
a010cb86c49f5095e8d23a269dfaeadaa4271311fd81ae3ecbb58d8d9405f8a9
-
SHA512
ba40011c93bc6b4610f12084b1c12612e0a6fd791a8424bd69028fd503a9feddc1546d41f78aa1a0e51c8b2f446884f59d11bb633eddeff21f417cde012878bb
-
SSDEEP
12288:1QnZp+FguhYs1ob8SfLR18KHwbQhpZggZE6rDoa2aRTiua:CnZDN1b7JV4
Malware Config
Extracted
darkcomet
Guest16
darkcommetrat.no-ip.org:25565
DC_MUTEX-MV4JSRU
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
UrntQd1f4RHS
-
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\\AppData\\Local\\Temp\\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 3920 attrib.exe 3212 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-2927035347-1736702767-189270196-1000\Control Panel\International\Geo\Nation svchost.exe -
Executes dropped EXE 2 IoCs
Processes:
svchost.exemsdcsc.exepid process 2292 svchost.exe 2432 msdcsc.exe -
Processes:
resource yara_rule behavioral2/memory/2292-4-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-7-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-9-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-11-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-14-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-13-0x0000000000400000-0x00000000004CA000-memory.dmp upx behavioral2/memory/2292-77-0x0000000000400000-0x00000000004CA000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2927035347-1736702767-189270196-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" svchost.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exedescription pid process target process PID 4628 set thread context of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_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.exe7fdf52e6c29795edf3873748ade13d0e_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 7fdf52e6c29795edf3873748ade13d0e_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 24 IoCs
Processes:
svchost.exedescription pid process Token: SeIncreaseQuotaPrivilege 2292 svchost.exe Token: SeSecurityPrivilege 2292 svchost.exe Token: SeTakeOwnershipPrivilege 2292 svchost.exe Token: SeLoadDriverPrivilege 2292 svchost.exe Token: SeSystemProfilePrivilege 2292 svchost.exe Token: SeSystemtimePrivilege 2292 svchost.exe Token: SeProfSingleProcessPrivilege 2292 svchost.exe Token: SeIncBasePriorityPrivilege 2292 svchost.exe Token: SeCreatePagefilePrivilege 2292 svchost.exe Token: SeBackupPrivilege 2292 svchost.exe Token: SeRestorePrivilege 2292 svchost.exe Token: SeShutdownPrivilege 2292 svchost.exe Token: SeDebugPrivilege 2292 svchost.exe Token: SeSystemEnvironmentPrivilege 2292 svchost.exe Token: SeChangeNotifyPrivilege 2292 svchost.exe Token: SeRemoteShutdownPrivilege 2292 svchost.exe Token: SeUndockPrivilege 2292 svchost.exe Token: SeManageVolumePrivilege 2292 svchost.exe Token: SeImpersonatePrivilege 2292 svchost.exe Token: SeCreateGlobalPrivilege 2292 svchost.exe Token: 33 2292 svchost.exe Token: 34 2292 svchost.exe Token: 35 2292 svchost.exe Token: 36 2292 svchost.exe -
Suspicious use of WriteProcessMemory 40 IoCs
Processes:
7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exesvchost.execmd.execmd.exedescription pid process target process PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 4628 wrote to memory of 2292 4628 7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe svchost.exe PID 2292 wrote to memory of 2444 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 2444 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 2444 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 3060 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 3060 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 3060 2292 svchost.exe cmd.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2292 wrote to memory of 3240 2292 svchost.exe notepad.exe PID 2444 wrote to memory of 3920 2444 cmd.exe attrib.exe PID 2444 wrote to memory of 3920 2444 cmd.exe attrib.exe PID 2444 wrote to memory of 3920 2444 cmd.exe attrib.exe PID 3060 wrote to memory of 3212 3060 cmd.exe attrib.exe PID 3060 wrote to memory of 3212 3060 cmd.exe attrib.exe PID 3060 wrote to memory of 3212 3060 cmd.exe attrib.exe PID 2292 wrote to memory of 2432 2292 svchost.exe msdcsc.exe PID 2292 wrote to memory of 2432 2292 svchost.exe msdcsc.exe PID 2292 wrote to memory of 2432 2292 svchost.exe msdcsc.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 3212 attrib.exe 3920 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\7fdf52e6c29795edf3873748ade13d0e_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4628 -
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:2292 -
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:2444 -
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:3920 -
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:3060 -
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:3212 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:3240 -
C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"3⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
PID:2432
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
1.1MB
MD5d881de17aa8f2e2c08cbb7b265f928f9
SHA108936aebc87decf0af6e8eada191062b5e65ac2a
SHA256b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0
SHA5125f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34