Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
01-08-2024 17:18
Behavioral task
behavioral1
Sample
test.exe
Resource
win7-20240704-en
General
-
Target
test.exe
-
Size
658KB
-
MD5
ec24d90ed3c9befd6c389eef8a7b30d0
-
SHA1
fd5ced24ad422b5f3d63b90b99384b7b7dbb4792
-
SHA256
655eea77b66bbaa7012c3f84d6d6e81c4348146ea0736db0b329a2a9c1a9ada6
-
SHA512
0652aabb75f7cf146d58e22a2dc0d6c8db0ef360776edf52282dad7389c3efb908c39e14f2d4ece4480e481f5cc19123fac5479f0e3e587df9471ec0214892dd
-
SSDEEP
12288:e9HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/hq:qZ1xuVVjfFoynPaVBUR8f+kN10EBk
Malware Config
Extracted
darkcomet
Guest16
insurance-helmet.gl.at.ply.gg:31388
DC_MUTEX-LP7CXKP
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
AmrqVD7MwH6g
-
install
true
-
offline_keylogger
true
-
persistence
false
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
test.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" test.exe -
Modifies firewall policy service 3 TTPs 6 IoCs
Processes:
iexplore.exemsdcsc.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" iexplore.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" iexplore.exe Key created \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile msdcsc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" msdcsc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" msdcsc.exe Key created \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile iexplore.exe -
Modifies security service 2 TTPs 2 IoCs
Processes:
msdcsc.exeiexplore.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\wscsvc\Start = "4" msdcsc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\wscsvc\Start = "4" iexplore.exe -
Processes:
msdcsc.exeiexplore.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" iexplore.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" iexplore.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid process 2660 attrib.exe 2620 attrib.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 2788 msdcsc.exe -
Loads dropped DLL 2 IoCs
Processes:
test.exepid process 1980 test.exe 1980 test.exe -
Processes:
msdcsc.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsc.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
test.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2212144002-1172735686-1556890956-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" test.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
msdcsc.exedescription pid process target process PID 2788 set thread context of 2480 2788 msdcsc.exe iexplore.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:
attrib.exeattrib.exemsdcsc.exeiexplore.exenotepad.exetest.execmd.execmd.exedescription ioc process 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 iexplore.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language test.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
iexplore.exepid process 2480 iexplore.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
Processes:
test.exemsdcsc.exeiexplore.exedescription pid process Token: SeIncreaseQuotaPrivilege 1980 test.exe Token: SeSecurityPrivilege 1980 test.exe Token: SeTakeOwnershipPrivilege 1980 test.exe Token: SeLoadDriverPrivilege 1980 test.exe Token: SeSystemProfilePrivilege 1980 test.exe Token: SeSystemtimePrivilege 1980 test.exe Token: SeProfSingleProcessPrivilege 1980 test.exe Token: SeIncBasePriorityPrivilege 1980 test.exe Token: SeCreatePagefilePrivilege 1980 test.exe Token: SeBackupPrivilege 1980 test.exe Token: SeRestorePrivilege 1980 test.exe Token: SeShutdownPrivilege 1980 test.exe Token: SeDebugPrivilege 1980 test.exe Token: SeSystemEnvironmentPrivilege 1980 test.exe Token: SeChangeNotifyPrivilege 1980 test.exe Token: SeRemoteShutdownPrivilege 1980 test.exe Token: SeUndockPrivilege 1980 test.exe Token: SeManageVolumePrivilege 1980 test.exe Token: SeImpersonatePrivilege 1980 test.exe Token: SeCreateGlobalPrivilege 1980 test.exe Token: 33 1980 test.exe Token: 34 1980 test.exe Token: 35 1980 test.exe Token: SeIncreaseQuotaPrivilege 2788 msdcsc.exe Token: SeSecurityPrivilege 2788 msdcsc.exe Token: SeTakeOwnershipPrivilege 2788 msdcsc.exe Token: SeLoadDriverPrivilege 2788 msdcsc.exe Token: SeSystemProfilePrivilege 2788 msdcsc.exe Token: SeSystemtimePrivilege 2788 msdcsc.exe Token: SeProfSingleProcessPrivilege 2788 msdcsc.exe Token: SeIncBasePriorityPrivilege 2788 msdcsc.exe Token: SeCreatePagefilePrivilege 2788 msdcsc.exe Token: SeBackupPrivilege 2788 msdcsc.exe Token: SeRestorePrivilege 2788 msdcsc.exe Token: SeShutdownPrivilege 2788 msdcsc.exe Token: SeDebugPrivilege 2788 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2788 msdcsc.exe Token: SeChangeNotifyPrivilege 2788 msdcsc.exe Token: SeRemoteShutdownPrivilege 2788 msdcsc.exe Token: SeUndockPrivilege 2788 msdcsc.exe Token: SeManageVolumePrivilege 2788 msdcsc.exe Token: SeImpersonatePrivilege 2788 msdcsc.exe Token: SeCreateGlobalPrivilege 2788 msdcsc.exe Token: 33 2788 msdcsc.exe Token: 34 2788 msdcsc.exe Token: 35 2788 msdcsc.exe Token: SeIncreaseQuotaPrivilege 2480 iexplore.exe Token: SeSecurityPrivilege 2480 iexplore.exe Token: SeTakeOwnershipPrivilege 2480 iexplore.exe Token: SeLoadDriverPrivilege 2480 iexplore.exe Token: SeSystemProfilePrivilege 2480 iexplore.exe Token: SeSystemtimePrivilege 2480 iexplore.exe Token: SeProfSingleProcessPrivilege 2480 iexplore.exe Token: SeIncBasePriorityPrivilege 2480 iexplore.exe Token: SeCreatePagefilePrivilege 2480 iexplore.exe Token: SeBackupPrivilege 2480 iexplore.exe Token: SeRestorePrivilege 2480 iexplore.exe Token: SeShutdownPrivilege 2480 iexplore.exe Token: SeDebugPrivilege 2480 iexplore.exe Token: SeSystemEnvironmentPrivilege 2480 iexplore.exe Token: SeChangeNotifyPrivilege 2480 iexplore.exe Token: SeRemoteShutdownPrivilege 2480 iexplore.exe Token: SeUndockPrivilege 2480 iexplore.exe Token: SeManageVolumePrivilege 2480 iexplore.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
iexplore.exepid process 2480 iexplore.exe -
Suspicious use of WriteProcessMemory 49 IoCs
Processes:
test.execmd.execmd.exemsdcsc.exeiexplore.exedescription pid process target process PID 1980 wrote to memory of 2680 1980 test.exe cmd.exe PID 1980 wrote to memory of 2680 1980 test.exe cmd.exe PID 1980 wrote to memory of 2680 1980 test.exe cmd.exe PID 1980 wrote to memory of 2680 1980 test.exe cmd.exe PID 1980 wrote to memory of 2644 1980 test.exe cmd.exe PID 1980 wrote to memory of 2644 1980 test.exe cmd.exe PID 1980 wrote to memory of 2644 1980 test.exe cmd.exe PID 1980 wrote to memory of 2644 1980 test.exe cmd.exe PID 2680 wrote to memory of 2660 2680 cmd.exe attrib.exe PID 2680 wrote to memory of 2660 2680 cmd.exe attrib.exe PID 2680 wrote to memory of 2660 2680 cmd.exe attrib.exe PID 2680 wrote to memory of 2660 2680 cmd.exe attrib.exe PID 2644 wrote to memory of 2620 2644 cmd.exe attrib.exe PID 2644 wrote to memory of 2620 2644 cmd.exe attrib.exe PID 2644 wrote to memory of 2620 2644 cmd.exe attrib.exe PID 2644 wrote to memory of 2620 2644 cmd.exe attrib.exe PID 1980 wrote to memory of 2788 1980 test.exe msdcsc.exe PID 1980 wrote to memory of 2788 1980 test.exe msdcsc.exe PID 1980 wrote to memory of 2788 1980 test.exe msdcsc.exe PID 1980 wrote to memory of 2788 1980 test.exe msdcsc.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2788 wrote to memory of 2480 2788 msdcsc.exe iexplore.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe PID 2480 wrote to memory of 1688 2480 iexplore.exe notepad.exe -
System policy modification 1 TTPs 3 IoCs
Processes:
msdcsc.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion msdcsc.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern\NoControlPanel = "1" msdcsc.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 2660 attrib.exe 2620 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\test.exe"C:\Users\Admin\AppData\Local\Temp\test.exe"1⤵
- Modifies WinLogon for persistence
- Loads dropped DLL
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1980 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\test.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2680 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\test.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:2660 -
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:2644 -
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:2620 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"2⤵
- Modifies firewall policy service
- Modifies security service
- Windows security bypass
- Executes dropped EXE
- Windows security modification
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
- System policy modification
PID:2788 -
C:\Program Files (x86)\Internet Explorer\iexplore.exe"C:\Program Files (x86)\Internet Explorer\iexplore.exe"3⤵
- Modifies firewall policy service
- Modifies security service
- Windows security bypass
- System Location Discovery: System Language Discovery
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2480 -
C:\Windows\SysWOW64\notepad.exenotepad4⤵
- System Location Discovery: System Language Discovery
PID:1688
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
2Windows Service
2Privilege Escalation
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
2Windows Service
2Defense Evasion
Hide Artifacts
2Hidden Files and Directories
2Impair Defenses
3Disable or Modify System Firewall
1Disable or Modify Tools
2Modify Registry
7Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
658KB
MD5ec24d90ed3c9befd6c389eef8a7b30d0
SHA1fd5ced24ad422b5f3d63b90b99384b7b7dbb4792
SHA256655eea77b66bbaa7012c3f84d6d6e81c4348146ea0736db0b329a2a9c1a9ada6
SHA5120652aabb75f7cf146d58e22a2dc0d6c8db0ef360776edf52282dad7389c3efb908c39e14f2d4ece4480e481f5cc19123fac5479f0e3e587df9471ec0214892dd