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
24-12-2024 16:13
Behavioral task
behavioral1
Sample
gay.scr
Resource
win10v2004-20241007-en
General
-
Target
gay.scr
-
Size
659KB
-
MD5
699142205c509b571fd991aa528c14ad
-
SHA1
fd796f14c1b45e7ac1cc88c4060e8a23bcaab156
-
SHA256
363fce9e5352a207dda57123b938b0b9624d0323f81cd9fd367e8fcafe5cc23e
-
SHA512
c2a5818ceff8174a1dc3f097c0eac35b6196a692d7bbcab36faecde105166bd36a6bc5ea9bc1b20e8e44c67b651f698e5ac4db00c46e29005ee8587080a493b2
-
SSDEEP
12288:69HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/hG:2Z1xuVVjfFoynPaVBUR8f+kN10EBU
Malware Config
Extracted
darkcomet
Guest1f63242m
rose324-33082.portmap.host:33082
DC_MUTEX-V8T2ADJ
-
InstallPath
MSDCSC\msdcsjc.exe
-
gencode
FFSpYmDpe0mC
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
reahltekaudio
Signatures
-
Darkcomet family
-
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:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\MSDCSC\\msdcsjc.exe" gay.scr -
Modifies firewall policy service 3 TTPs 6 IoCs
description ioc Process 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 msdcsjc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" msdcsjc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" msdcsjc.exe Key created \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile iexplore.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" iexplore.exe -
Modifies security service 2 TTPs 2 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" msdcsjc.exe Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" iexplore.exe -
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsjc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsjc.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 -
Disables RegEdit via registry modification 2 IoCs
description ioc Process Set value (int) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" msdcsjc.exe Set value (int) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" iexplore.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 1164 attrib.exe 3052 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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation gay.scr -
Deletes itself 1 IoCs
pid Process 2452 notepad.exe -
Executes dropped EXE 1 IoCs
pid Process 4332 msdcsjc.exe -
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsjc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsjc.exe -
Adds Run key to start application 2 TTPs 3 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\reahltekaudio = "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\MSDCSC\\msdcsjc.exe" gay.scr Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\reahltekaudio = "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\MSDCSC\\msdcsjc.exe" msdcsjc.exe Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\reahltekaudio = "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\MSDCSC\\msdcsjc.exe" iexplore.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4332 set thread context of 3404 4332 msdcsjc.exe 90 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 9 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 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 msdcsjc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language iexplore.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language gay.scr Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ gay.scr -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 3404 iexplore.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 4676 gay.scr Token: SeSecurityPrivilege 4676 gay.scr Token: SeTakeOwnershipPrivilege 4676 gay.scr Token: SeLoadDriverPrivilege 4676 gay.scr Token: SeSystemProfilePrivilege 4676 gay.scr Token: SeSystemtimePrivilege 4676 gay.scr Token: SeProfSingleProcessPrivilege 4676 gay.scr Token: SeIncBasePriorityPrivilege 4676 gay.scr Token: SeCreatePagefilePrivilege 4676 gay.scr Token: SeBackupPrivilege 4676 gay.scr Token: SeRestorePrivilege 4676 gay.scr Token: SeShutdownPrivilege 4676 gay.scr Token: SeDebugPrivilege 4676 gay.scr Token: SeSystemEnvironmentPrivilege 4676 gay.scr Token: SeChangeNotifyPrivilege 4676 gay.scr Token: SeRemoteShutdownPrivilege 4676 gay.scr Token: SeUndockPrivilege 4676 gay.scr Token: SeManageVolumePrivilege 4676 gay.scr Token: SeImpersonatePrivilege 4676 gay.scr Token: SeCreateGlobalPrivilege 4676 gay.scr Token: 33 4676 gay.scr Token: 34 4676 gay.scr Token: 35 4676 gay.scr Token: 36 4676 gay.scr Token: SeIncreaseQuotaPrivilege 4332 msdcsjc.exe Token: SeSecurityPrivilege 4332 msdcsjc.exe Token: SeTakeOwnershipPrivilege 4332 msdcsjc.exe Token: SeLoadDriverPrivilege 4332 msdcsjc.exe Token: SeSystemProfilePrivilege 4332 msdcsjc.exe Token: SeSystemtimePrivilege 4332 msdcsjc.exe Token: SeProfSingleProcessPrivilege 4332 msdcsjc.exe Token: SeIncBasePriorityPrivilege 4332 msdcsjc.exe Token: SeCreatePagefilePrivilege 4332 msdcsjc.exe Token: SeBackupPrivilege 4332 msdcsjc.exe Token: SeRestorePrivilege 4332 msdcsjc.exe Token: SeShutdownPrivilege 4332 msdcsjc.exe Token: SeDebugPrivilege 4332 msdcsjc.exe Token: SeSystemEnvironmentPrivilege 4332 msdcsjc.exe Token: SeChangeNotifyPrivilege 4332 msdcsjc.exe Token: SeRemoteShutdownPrivilege 4332 msdcsjc.exe Token: SeUndockPrivilege 4332 msdcsjc.exe Token: SeManageVolumePrivilege 4332 msdcsjc.exe Token: SeImpersonatePrivilege 4332 msdcsjc.exe Token: SeCreateGlobalPrivilege 4332 msdcsjc.exe Token: 33 4332 msdcsjc.exe Token: 34 4332 msdcsjc.exe Token: 35 4332 msdcsjc.exe Token: 36 4332 msdcsjc.exe Token: SeIncreaseQuotaPrivilege 3404 iexplore.exe Token: SeSecurityPrivilege 3404 iexplore.exe Token: SeTakeOwnershipPrivilege 3404 iexplore.exe Token: SeLoadDriverPrivilege 3404 iexplore.exe Token: SeSystemProfilePrivilege 3404 iexplore.exe Token: SeSystemtimePrivilege 3404 iexplore.exe Token: SeProfSingleProcessPrivilege 3404 iexplore.exe Token: SeIncBasePriorityPrivilege 3404 iexplore.exe Token: SeCreatePagefilePrivilege 3404 iexplore.exe Token: SeBackupPrivilege 3404 iexplore.exe Token: SeRestorePrivilege 3404 iexplore.exe Token: SeShutdownPrivilege 3404 iexplore.exe Token: SeDebugPrivilege 3404 iexplore.exe Token: SeSystemEnvironmentPrivilege 3404 iexplore.exe Token: SeChangeNotifyPrivilege 3404 iexplore.exe Token: SeRemoteShutdownPrivilege 3404 iexplore.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3404 iexplore.exe -
Suspicious use of WriteProcessMemory 59 IoCs
description pid Process procid_target PID 4676 wrote to memory of 4200 4676 gay.scr 82 PID 4676 wrote to memory of 4200 4676 gay.scr 82 PID 4676 wrote to memory of 4200 4676 gay.scr 82 PID 4676 wrote to memory of 4124 4676 gay.scr 84 PID 4676 wrote to memory of 4124 4676 gay.scr 84 PID 4676 wrote to memory of 4124 4676 gay.scr 84 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4676 wrote to memory of 2452 4676 gay.scr 85 PID 4200 wrote to memory of 1164 4200 cmd.exe 87 PID 4200 wrote to memory of 1164 4200 cmd.exe 87 PID 4200 wrote to memory of 1164 4200 cmd.exe 87 PID 4124 wrote to memory of 3052 4124 cmd.exe 88 PID 4124 wrote to memory of 3052 4124 cmd.exe 88 PID 4124 wrote to memory of 3052 4124 cmd.exe 88 PID 4676 wrote to memory of 4332 4676 gay.scr 89 PID 4676 wrote to memory of 4332 4676 gay.scr 89 PID 4676 wrote to memory of 4332 4676 gay.scr 89 PID 4332 wrote to memory of 3404 4332 msdcsjc.exe 90 PID 4332 wrote to memory of 3404 4332 msdcsjc.exe 90 PID 4332 wrote to memory of 3404 4332 msdcsjc.exe 90 PID 4332 wrote to memory of 3404 4332 msdcsjc.exe 90 PID 4332 wrote to memory of 3404 4332 msdcsjc.exe 90 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 PID 3404 wrote to memory of 3712 3404 iexplore.exe 91 -
System policy modification 1 TTPs 3 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion msdcsjc.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern msdcsjc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern\NoControlPanel = "1" msdcsjc.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 1164 attrib.exe 3052 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\gay.scr"C:\Users\Admin\AppData\Local\Temp\gay.scr" /S1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4676 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\gay.scr" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4200 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\gay.scr" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:1164
-
-
-
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:4124 -
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:3052
-
-
-
C:\Windows\SysWOW64\notepad.exenotepad2⤵
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2452
-
-
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MSDCSC\msdcsjc.exe"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MSDCSC\msdcsjc.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 use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
- System policy modification
PID:4332 -
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
- Disables RegEdit via registry modification
- 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:3404 -
C:\Windows\SysWOW64\notepad.exenotepad4⤵
- System Location Discovery: System Language Discovery
PID:3712
-
-
-
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
659KB
MD5699142205c509b571fd991aa528c14ad
SHA1fd796f14c1b45e7ac1cc88c4060e8a23bcaab156
SHA256363fce9e5352a207dda57123b938b0b9624d0323f81cd9fd367e8fcafe5cc23e
SHA512c2a5818ceff8174a1dc3f097c0eac35b6196a692d7bbcab36faecde105166bd36a6bc5ea9bc1b20e8e44c67b651f698e5ac4db00c46e29005ee8587080a493b2