Analysis
-
max time kernel
150s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
15/10/2024, 08:15
Behavioral task
behavioral1
Sample
46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe
-
Size
251KB
-
MD5
46af882c1bc6f0f16c5b1f1a7aa13e6f
-
SHA1
9553b760ae0fb2684d45fea3b6751d3397499223
-
SHA256
d97f102ce229fe965177a624b359e620a26fd48d4da96dcc7f3205aaf9612e6c
-
SHA512
7b94fb2e36f21492f3d0d41211d6bb97c29537576b91de48c172d5f8a40cabdf513031b9c7b6efc14f84a56449f14fe0e1a920597b74c20a6c07cf2fe1e3fba7
-
SSDEEP
6144:7cNYS996KFifeVjBpeExgVTFSXFoMc5RhCaL37E:7cW7KEZlPzCy37
Malware Config
Extracted
darkcomet
Guest16
jasondi916.no-ip.biz:1604
DC_MUTEX-5NX1AM1
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
4Vwdt4wCbKD7
-
install
true
-
offline_keylogger
true
-
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\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe -
Disables RegEdit via registry modification 1 IoCs
description ioc Process Set value (int) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" msdcsc.exe -
Disables Task Manager via registry modification
-
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 1880 attrib.exe 3416 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-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 1976 notepad.exe -
Executes dropped EXE 1 IoCs
pid Process 2076 msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Set value (str) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" msdcsc.exe -
resource yara_rule behavioral2/memory/1220-0-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/files/0x0007000000023cc1-7.dat upx behavioral2/memory/2076-16-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-18-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/1220-20-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-22-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-23-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-24-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-25-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-26-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-27-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-28-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-29-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-30-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-31-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-32-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-33-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-34-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-35-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-36-0x0000000000400000-0x00000000004B7000-memory.dmp upx behavioral2/memory/2076-37-0x0000000000400000-0x00000000004B7000-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 8 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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language attrib.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 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2076 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeSecurityPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeLoadDriverPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeSystemProfilePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeSystemtimePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeBackupPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeRestorePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeShutdownPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeDebugPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeUndockPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeManageVolumePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeImpersonatePrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: 33 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: 34 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: 35 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: 36 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe Token: SeIncreaseQuotaPrivilege 2076 msdcsc.exe Token: SeSecurityPrivilege 2076 msdcsc.exe Token: SeTakeOwnershipPrivilege 2076 msdcsc.exe Token: SeLoadDriverPrivilege 2076 msdcsc.exe Token: SeSystemProfilePrivilege 2076 msdcsc.exe Token: SeSystemtimePrivilege 2076 msdcsc.exe Token: SeProfSingleProcessPrivilege 2076 msdcsc.exe Token: SeIncBasePriorityPrivilege 2076 msdcsc.exe Token: SeCreatePagefilePrivilege 2076 msdcsc.exe Token: SeBackupPrivilege 2076 msdcsc.exe Token: SeRestorePrivilege 2076 msdcsc.exe Token: SeShutdownPrivilege 2076 msdcsc.exe Token: SeDebugPrivilege 2076 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2076 msdcsc.exe Token: SeChangeNotifyPrivilege 2076 msdcsc.exe Token: SeRemoteShutdownPrivilege 2076 msdcsc.exe Token: SeUndockPrivilege 2076 msdcsc.exe Token: SeManageVolumePrivilege 2076 msdcsc.exe Token: SeImpersonatePrivilege 2076 msdcsc.exe Token: SeCreateGlobalPrivilege 2076 msdcsc.exe Token: 33 2076 msdcsc.exe Token: 34 2076 msdcsc.exe Token: 35 2076 msdcsc.exe Token: 36 2076 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2076 msdcsc.exe -
Suspicious use of WriteProcessMemory 54 IoCs
description pid Process procid_target PID 1220 wrote to memory of 3984 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 84 PID 1220 wrote to memory of 3984 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 84 PID 1220 wrote to memory of 3984 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 84 PID 1220 wrote to memory of 3892 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 85 PID 1220 wrote to memory of 3892 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 85 PID 1220 wrote to memory of 3892 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 85 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 1976 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 87 PID 1220 wrote to memory of 2076 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 89 PID 1220 wrote to memory of 2076 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 89 PID 1220 wrote to memory of 2076 1220 46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe 89 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 3892 wrote to memory of 1880 3892 cmd.exe 90 PID 3892 wrote to memory of 1880 3892 cmd.exe 90 PID 3892 wrote to memory of 1880 3892 cmd.exe 90 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 2076 wrote to memory of 1656 2076 msdcsc.exe 91 PID 3984 wrote to memory of 3416 3984 cmd.exe 92 PID 3984 wrote to memory of 3416 3984 cmd.exe 92 PID 3984 wrote to memory of 3416 3984 cmd.exe 92 -
Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 1880 attrib.exe 3416 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1220 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3984 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\46af882c1bc6f0f16c5b1f1a7aa13e6f_JaffaCakes118.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:3416
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3892 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:1880
-
-
-
C:\Windows\SysWOW64\notepad.exenotepad2⤵
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1976
-
-
C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe"2⤵
- Disables RegEdit via registry modification
- 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:2076 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:1656
-
-
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
251KB
MD546af882c1bc6f0f16c5b1f1a7aa13e6f
SHA19553b760ae0fb2684d45fea3b6751d3397499223
SHA256d97f102ce229fe965177a624b359e620a26fd48d4da96dcc7f3205aaf9612e6c
SHA5127b94fb2e36f21492f3d0d41211d6bb97c29537576b91de48c172d5f8a40cabdf513031b9c7b6efc14f84a56449f14fe0e1a920597b74c20a6c07cf2fe1e3fba7