Analysis
-
max time kernel
153s -
max time network
153s -
platform
windows7_x64 -
resource
win7-20240221-en -
resource tags
arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system -
submitted
06-04-2024 23:22
Behavioral task
behavioral1
Sample
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe
Resource
win7-20240221-en
General
-
Target
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe
-
Size
350KB
-
MD5
7dee9ee8a1f01c84a03eec97edfefa90
-
SHA1
6ca55a33d811d84fedbff9278f2f8918284f5713
-
SHA256
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195
-
SHA512
9efbf52874dcfc2a2c48dfb6894ffc3c4d9d02ca441260968886500cdfddc5e5bab51ff5b79117cb336aaa45f0206bfdfe60a7d8b04733192c9b732462920e22
-
SSDEEP
6144:WMI/jlS4kCwHL76nz9Q3uR5LTYYBIsHHN:WMQlS9Cwr79uLLTvBIY
Malware Config
Extracted
darkcomet
Guest16
10.10.0.100:1604
DC_MUTEX-30LAHYZ
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
al7BRWGr7y55
-
install
true
-
offline_keylogger
true
-
persistence
false
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.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" 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe -
UPX dump on OEP (original entry point) 11 IoCs
Processes:
resource yara_rule behavioral1/memory/2164-0-0x0000000000400000-0x00000000004EA000-memory.dmp UPX C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe UPX behavioral1/memory/2948-14-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2164-12-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-43-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-45-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-47-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-49-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-51-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-53-0x0000000000400000-0x00000000004EA000-memory.dmp UPX behavioral1/memory/2948-55-0x0000000000400000-0x00000000004EA000-memory.dmp UPX -
Disables RegEdit via registry modification 1 IoCs
Processes:
msdcsc.exedescription ioc process Set value (int) \REGISTRY\USER\S-1-5-21-778096762-2241304387-192235952-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.
Processes:
attrib.exeattrib.exepid process 2508 attrib.exe 2972 attrib.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 2948 msdcsc.exe -
Loads dropped DLL 2 IoCs
Processes:
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exepid process 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe -
Processes:
resource yara_rule behavioral1/memory/2164-0-0x0000000000400000-0x00000000004EA000-memory.dmp upx C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe upx behavioral1/memory/2948-14-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2164-12-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-43-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-45-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-47-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-49-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-51-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-53-0x0000000000400000-0x00000000004EA000-memory.dmp upx behavioral1/memory/2948-55-0x0000000000400000-0x00000000004EA000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-778096762-2241304387-192235952-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\MSDCSC\\msdcsc.exe" 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
msdcsc.exepid process 2948 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 46 IoCs
Processes:
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeSecurityPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeTakeOwnershipPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeLoadDriverPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeSystemProfilePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeSystemtimePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeProfSingleProcessPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeIncBasePriorityPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeCreatePagefilePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeBackupPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeRestorePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeShutdownPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeDebugPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeSystemEnvironmentPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeChangeNotifyPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeRemoteShutdownPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeUndockPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeManageVolumePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeImpersonatePrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeCreateGlobalPrivilege 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: 33 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: 34 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: 35 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe Token: SeIncreaseQuotaPrivilege 2948 msdcsc.exe Token: SeSecurityPrivilege 2948 msdcsc.exe Token: SeTakeOwnershipPrivilege 2948 msdcsc.exe Token: SeLoadDriverPrivilege 2948 msdcsc.exe Token: SeSystemProfilePrivilege 2948 msdcsc.exe Token: SeSystemtimePrivilege 2948 msdcsc.exe Token: SeProfSingleProcessPrivilege 2948 msdcsc.exe Token: SeIncBasePriorityPrivilege 2948 msdcsc.exe Token: SeCreatePagefilePrivilege 2948 msdcsc.exe Token: SeBackupPrivilege 2948 msdcsc.exe Token: SeRestorePrivilege 2948 msdcsc.exe Token: SeShutdownPrivilege 2948 msdcsc.exe Token: SeDebugPrivilege 2948 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2948 msdcsc.exe Token: SeChangeNotifyPrivilege 2948 msdcsc.exe Token: SeRemoteShutdownPrivilege 2948 msdcsc.exe Token: SeUndockPrivilege 2948 msdcsc.exe Token: SeManageVolumePrivilege 2948 msdcsc.exe Token: SeImpersonatePrivilege 2948 msdcsc.exe Token: SeCreateGlobalPrivilege 2948 msdcsc.exe Token: 33 2948 msdcsc.exe Token: 34 2948 msdcsc.exe Token: 35 2948 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 2948 msdcsc.exe -
Suspicious use of WriteProcessMemory 43 IoCs
Processes:
9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.execmd.execmd.exemsdcsc.exedescription pid process target process PID 2164 wrote to memory of 2308 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 2308 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 2308 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 2308 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 1660 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 1660 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 1660 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2164 wrote to memory of 1660 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe cmd.exe PID 2308 wrote to memory of 2508 2308 cmd.exe attrib.exe PID 2308 wrote to memory of 2508 2308 cmd.exe attrib.exe PID 2308 wrote to memory of 2508 2308 cmd.exe attrib.exe PID 2308 wrote to memory of 2508 2308 cmd.exe attrib.exe PID 1660 wrote to memory of 2972 1660 cmd.exe attrib.exe PID 1660 wrote to memory of 2972 1660 cmd.exe attrib.exe PID 1660 wrote to memory of 2972 1660 cmd.exe attrib.exe PID 1660 wrote to memory of 2972 1660 cmd.exe attrib.exe PID 2164 wrote to memory of 2948 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe msdcsc.exe PID 2164 wrote to memory of 2948 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe msdcsc.exe PID 2164 wrote to memory of 2948 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe msdcsc.exe PID 2164 wrote to memory of 2948 2164 9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe msdcsc.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe PID 2948 wrote to memory of 2568 2948 msdcsc.exe notepad.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 2508 attrib.exe 2972 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe"C:\Users\Admin\AppData\Local\Temp\9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe"1⤵
- Modifies WinLogon for persistence
- Loads dropped DLL
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\9153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195.exe" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
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
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\notepad.exenotepad3⤵
Network
MITRE ATT&CK Matrix ATT&CK v13
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exeFilesize
350KB
MD57dee9ee8a1f01c84a03eec97edfefa90
SHA16ca55a33d811d84fedbff9278f2f8918284f5713
SHA2569153d1a2f2fe00b04462eb405d02754fecba082bcde45799dd1a53c994d75195
SHA5129efbf52874dcfc2a2c48dfb6894ffc3c4d9d02ca441260968886500cdfddc5e5bab51ff5b79117cb336aaa45f0206bfdfe60a7d8b04733192c9b732462920e22
-
memory/2164-1-0x00000000001D0000-0x00000000001D1000-memory.dmpFilesize
4KB
-
memory/2164-13-0x0000000003440000-0x000000000352A000-memory.dmpFilesize
936KB
-
memory/2164-0-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2164-12-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2568-15-0x0000000000080000-0x0000000000081000-memory.dmpFilesize
4KB
-
memory/2568-42-0x00000000005B0000-0x00000000005B1000-memory.dmpFilesize
4KB
-
memory/2948-14-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-16-0x0000000000240000-0x0000000000241000-memory.dmpFilesize
4KB
-
memory/2948-43-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-45-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-47-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-49-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-51-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-53-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB
-
memory/2948-55-0x0000000000400000-0x00000000004EA000-memory.dmpFilesize
936KB