Analysis
-
max time kernel
151s -
max time network
156s -
platform
windows10-2004_x64 -
resource
win10v2004-20220721-en -
resource tags
arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system -
submitted
30-07-2022 20:29
Behavioral task
behavioral1
Sample
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe
Resource
win7-20220715-en
General
-
Target
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe
-
Size
658KB
-
MD5
674f4d8ef4964657adf1aa84d1a4bd22
-
SHA1
fd837d847f4840edb6cc1218f1ea59a7813bfc96
-
SHA256
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc
-
SHA512
eea4f665c5233d8ecfaecf3fbc59b52d9a5dc62b8ce4d2c17c261d53d75841756df27a1f1ae96d63bcade4bd6213599d92f975d5df809b7669a47ca4a7126d84
Malware Config
Extracted
darkcomet
Guest16
cometka321.ddns.net:1604
DC_MUTEX-JZ5G2G4
-
InstallPath
Windows\msdcsc.exe
-
gencode
TjzE59HsqfK5
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
WindowsUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.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\\Windows\\msdcsc.exe" 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe -
Modifies firewall policy service 2 TTPs 3 IoCs
Processes:
msdcsc.exedescription ioc process 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 msdcsc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" msdcsc.exe -
Modifies security service 2 TTPs 1 IoCs
Processes:
msdcsc.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" msdcsc.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 -
Disables RegEdit via registry modification 1 IoCs
Processes:
msdcsc.exedescription ioc process Set value (int) \REGISTRY\USER\S-1-5-21-2660308776-3705150086-26593515-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" msdcsc.exe -
Disables Task Manager via registry modification
-
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 4652 msdcsc.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid process 2496 attrib.exe 4948 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-2660308776-3705150086-26593515-1000\Control Panel\International\Geo\Nation 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.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 2 IoCs
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exemsdcsc.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2660308776-3705150086-26593515-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\WindowsUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\Windows\\msdcsc.exe" 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Set value (str) \REGISTRY\USER\S-1-5-21-2660308776-3705150086-26593515-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\WindowsUpdate = "C:\\Users\\Admin\\AppData\\Local\\Temp\\Windows\\msdcsc.exe" msdcsc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
Modifies registry class 1 IoCs
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
msdcsc.exepid process 4652 msdcsc.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeSecurityPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeTakeOwnershipPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeLoadDriverPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeSystemProfilePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeSystemtimePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeProfSingleProcessPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeIncBasePriorityPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeCreatePagefilePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeBackupPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeRestorePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeShutdownPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeDebugPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeSystemEnvironmentPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeChangeNotifyPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeRemoteShutdownPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeUndockPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeManageVolumePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeImpersonatePrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeCreateGlobalPrivilege 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: 33 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: 34 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: 35 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: 36 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe Token: SeIncreaseQuotaPrivilege 4652 msdcsc.exe Token: SeSecurityPrivilege 4652 msdcsc.exe Token: SeTakeOwnershipPrivilege 4652 msdcsc.exe Token: SeLoadDriverPrivilege 4652 msdcsc.exe Token: SeSystemProfilePrivilege 4652 msdcsc.exe Token: SeSystemtimePrivilege 4652 msdcsc.exe Token: SeProfSingleProcessPrivilege 4652 msdcsc.exe Token: SeIncBasePriorityPrivilege 4652 msdcsc.exe Token: SeCreatePagefilePrivilege 4652 msdcsc.exe Token: SeBackupPrivilege 4652 msdcsc.exe Token: SeRestorePrivilege 4652 msdcsc.exe Token: SeShutdownPrivilege 4652 msdcsc.exe Token: SeDebugPrivilege 4652 msdcsc.exe Token: SeSystemEnvironmentPrivilege 4652 msdcsc.exe Token: SeChangeNotifyPrivilege 4652 msdcsc.exe Token: SeRemoteShutdownPrivilege 4652 msdcsc.exe Token: SeUndockPrivilege 4652 msdcsc.exe Token: SeManageVolumePrivilege 4652 msdcsc.exe Token: SeImpersonatePrivilege 4652 msdcsc.exe Token: SeCreateGlobalPrivilege 4652 msdcsc.exe Token: 33 4652 msdcsc.exe Token: 34 4652 msdcsc.exe Token: 35 4652 msdcsc.exe Token: 36 4652 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 4652 msdcsc.exe -
Suspicious use of WriteProcessMemory 37 IoCs
Processes:
61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.execmd.execmd.exemsdcsc.exedescription pid process target process PID 4244 wrote to memory of 4340 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4244 wrote to memory of 4340 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4244 wrote to memory of 4340 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4244 wrote to memory of 2436 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4244 wrote to memory of 2436 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4244 wrote to memory of 2436 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe cmd.exe PID 4340 wrote to memory of 2496 4340 cmd.exe attrib.exe PID 4340 wrote to memory of 2496 4340 cmd.exe attrib.exe PID 4340 wrote to memory of 2496 4340 cmd.exe attrib.exe PID 2436 wrote to memory of 4948 2436 cmd.exe attrib.exe PID 2436 wrote to memory of 4948 2436 cmd.exe attrib.exe PID 2436 wrote to memory of 4948 2436 cmd.exe attrib.exe PID 4244 wrote to memory of 4652 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe msdcsc.exe PID 4244 wrote to memory of 4652 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe msdcsc.exe PID 4244 wrote to memory of 4652 4244 61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe msdcsc.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.exe notepad.exe PID 4652 wrote to memory of 3520 4652 msdcsc.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 2496 attrib.exe 4948 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe"C:\Users\Admin\AppData\Local\Temp\61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- Modifies registry class
- 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\61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.exe" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\61aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc.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\Windows\msdcsc.exe"C:\Users\Admin\AppData\Local\Temp\Windows\msdcsc.exe"2⤵
- Modifies firewall policy service
- Modifies security service
- Windows security bypass
- Disables RegEdit via registry modification
- Executes dropped EXE
- Windows security modification
- Adds Run key to start application
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
- System policy modification
-
C:\Windows\SysWOW64\notepad.exenotepad3⤵
Network
MITRE ATT&CK Matrix ATT&CK v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\Windows\msdcsc.exeFilesize
658KB
MD5674f4d8ef4964657adf1aa84d1a4bd22
SHA1fd837d847f4840edb6cc1218f1ea59a7813bfc96
SHA25661aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc
SHA512eea4f665c5233d8ecfaecf3fbc59b52d9a5dc62b8ce4d2c17c261d53d75841756df27a1f1ae96d63bcade4bd6213599d92f975d5df809b7669a47ca4a7126d84
-
C:\Users\Admin\AppData\Local\Temp\Windows\msdcsc.exeFilesize
658KB
MD5674f4d8ef4964657adf1aa84d1a4bd22
SHA1fd837d847f4840edb6cc1218f1ea59a7813bfc96
SHA25661aa788c92173825ed5c7898d6b475fb7263851324dd2e0051ef6691a42466dc
SHA512eea4f665c5233d8ecfaecf3fbc59b52d9a5dc62b8ce4d2c17c261d53d75841756df27a1f1ae96d63bcade4bd6213599d92f975d5df809b7669a47ca4a7126d84
-
memory/2436-131-0x0000000000000000-mapping.dmp
-
memory/2496-132-0x0000000000000000-mapping.dmp
-
memory/3520-137-0x0000000000000000-mapping.dmp
-
memory/4340-130-0x0000000000000000-mapping.dmp
-
memory/4652-134-0x0000000000000000-mapping.dmp
-
memory/4948-133-0x0000000000000000-mapping.dmp