Analysis
-
max time kernel
150s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
20/10/2024, 21:27
Behavioral task
behavioral1
Sample
facebook.exe
Resource
win7-20241010-en
General
-
Target
facebook.exe
-
Size
350KB
-
MD5
47c05a4b955100a7060167d4c7575ebe
-
SHA1
bd834449be9f5b3b172293e0006afa489346f3e7
-
SHA256
c0f7eee68ed62126c2626fbe95fd37276ea14e5c94b766a6464e292e317c5c48
-
SHA512
2047cc37d80bfe6286a45b49912af59b32ca670a28dc9f6c3677a3e4f267c306d5022cb924f5fb6706fede6d1a6335f14a41b982c7ba98fe64ead034572a6995
-
SSDEEP
6144:TD7cY2fgssM7Wirg9KXylmRiL+QMeC/i6isqX7UovnONztByipwxZ/S:Tl8E4w5huat7UovONzbXw
Malware Config
Extracted
darkcomet
hatab
megatorun.no-ip.biz:1604
DC_MUTEX-F54S21D
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
T4pjRZKyBHYU
-
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\\Documents\\MSDCSC\\msdcsc.exe" facebook.exe -
Modifies firewall policy service 3 TTPs 6 IoCs
description ioc Process 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 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 -
Modifies security service 2 TTPs 2 IoCs
description 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 -
description ioc Process 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 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 2 IoCs
description ioc Process Set value (int) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" msdcsc.exe Set value (int) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-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 760 attrib.exe 4088 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-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation facebook.exe -
Deletes itself 1 IoCs
pid Process 4280 notepad.exe -
Executes dropped EXE 1 IoCs
pid Process 1856 msdcsc.exe -
description 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 3 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" facebook.exe Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" iexplore.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1856 set thread context of 2348 1856 msdcsc.exe 96 -
resource yara_rule behavioral2/memory/4008-0-0x0000000000400000-0x00000000004EB000-memory.dmp upx behavioral2/files/0x0007000000023caf-7.dat upx behavioral2/memory/4008-65-0x0000000000400000-0x00000000004EB000-memory.dmp upx behavioral2/memory/2348-66-0x0000000000400000-0x00000000004EB000-memory.dmp upx behavioral2/memory/1856-68-0x0000000000400000-0x00000000004EB000-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 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 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 facebook.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe 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 -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ facebook.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2348 iexplore.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 4008 facebook.exe Token: SeSecurityPrivilege 4008 facebook.exe Token: SeTakeOwnershipPrivilege 4008 facebook.exe Token: SeLoadDriverPrivilege 4008 facebook.exe Token: SeSystemProfilePrivilege 4008 facebook.exe Token: SeSystemtimePrivilege 4008 facebook.exe Token: SeProfSingleProcessPrivilege 4008 facebook.exe Token: SeIncBasePriorityPrivilege 4008 facebook.exe Token: SeCreatePagefilePrivilege 4008 facebook.exe Token: SeBackupPrivilege 4008 facebook.exe Token: SeRestorePrivilege 4008 facebook.exe Token: SeShutdownPrivilege 4008 facebook.exe Token: SeDebugPrivilege 4008 facebook.exe Token: SeSystemEnvironmentPrivilege 4008 facebook.exe Token: SeChangeNotifyPrivilege 4008 facebook.exe Token: SeRemoteShutdownPrivilege 4008 facebook.exe Token: SeUndockPrivilege 4008 facebook.exe Token: SeManageVolumePrivilege 4008 facebook.exe Token: SeImpersonatePrivilege 4008 facebook.exe Token: SeCreateGlobalPrivilege 4008 facebook.exe Token: 33 4008 facebook.exe Token: 34 4008 facebook.exe Token: 35 4008 facebook.exe Token: 36 4008 facebook.exe Token: SeIncreaseQuotaPrivilege 1856 msdcsc.exe Token: SeSecurityPrivilege 1856 msdcsc.exe Token: SeTakeOwnershipPrivilege 1856 msdcsc.exe Token: SeLoadDriverPrivilege 1856 msdcsc.exe Token: SeSystemProfilePrivilege 1856 msdcsc.exe Token: SeSystemtimePrivilege 1856 msdcsc.exe Token: SeProfSingleProcessPrivilege 1856 msdcsc.exe Token: SeIncBasePriorityPrivilege 1856 msdcsc.exe Token: SeCreatePagefilePrivilege 1856 msdcsc.exe Token: SeBackupPrivilege 1856 msdcsc.exe Token: SeRestorePrivilege 1856 msdcsc.exe Token: SeShutdownPrivilege 1856 msdcsc.exe Token: SeDebugPrivilege 1856 msdcsc.exe Token: SeSystemEnvironmentPrivilege 1856 msdcsc.exe Token: SeChangeNotifyPrivilege 1856 msdcsc.exe Token: SeRemoteShutdownPrivilege 1856 msdcsc.exe Token: SeUndockPrivilege 1856 msdcsc.exe Token: SeManageVolumePrivilege 1856 msdcsc.exe Token: SeImpersonatePrivilege 1856 msdcsc.exe Token: SeCreateGlobalPrivilege 1856 msdcsc.exe Token: 33 1856 msdcsc.exe Token: 34 1856 msdcsc.exe Token: 35 1856 msdcsc.exe Token: 36 1856 msdcsc.exe Token: SeIncreaseQuotaPrivilege 2348 iexplore.exe Token: SeSecurityPrivilege 2348 iexplore.exe Token: SeTakeOwnershipPrivilege 2348 iexplore.exe Token: SeLoadDriverPrivilege 2348 iexplore.exe Token: SeSystemProfilePrivilege 2348 iexplore.exe Token: SeSystemtimePrivilege 2348 iexplore.exe Token: SeProfSingleProcessPrivilege 2348 iexplore.exe Token: SeIncBasePriorityPrivilege 2348 iexplore.exe Token: SeCreatePagefilePrivilege 2348 iexplore.exe Token: SeBackupPrivilege 2348 iexplore.exe Token: SeRestorePrivilege 2348 iexplore.exe Token: SeShutdownPrivilege 2348 iexplore.exe Token: SeDebugPrivilege 2348 iexplore.exe Token: SeSystemEnvironmentPrivilege 2348 iexplore.exe Token: SeChangeNotifyPrivilege 2348 iexplore.exe Token: SeRemoteShutdownPrivilege 2348 iexplore.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2348 iexplore.exe -
Suspicious use of WriteProcessMemory 59 IoCs
description pid Process procid_target PID 4008 wrote to memory of 2872 4008 facebook.exe 86 PID 4008 wrote to memory of 2872 4008 facebook.exe 86 PID 4008 wrote to memory of 2872 4008 facebook.exe 86 PID 4008 wrote to memory of 1800 4008 facebook.exe 87 PID 4008 wrote to memory of 1800 4008 facebook.exe 87 PID 4008 wrote to memory of 1800 4008 facebook.exe 87 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 4008 wrote to memory of 4280 4008 facebook.exe 89 PID 2872 wrote to memory of 760 2872 cmd.exe 91 PID 2872 wrote to memory of 760 2872 cmd.exe 91 PID 2872 wrote to memory of 760 2872 cmd.exe 91 PID 1800 wrote to memory of 4088 1800 cmd.exe 92 PID 1800 wrote to memory of 4088 1800 cmd.exe 92 PID 1800 wrote to memory of 4088 1800 cmd.exe 92 PID 4008 wrote to memory of 1856 4008 facebook.exe 93 PID 4008 wrote to memory of 1856 4008 facebook.exe 93 PID 4008 wrote to memory of 1856 4008 facebook.exe 93 PID 1856 wrote to memory of 2348 1856 msdcsc.exe 96 PID 1856 wrote to memory of 2348 1856 msdcsc.exe 96 PID 1856 wrote to memory of 2348 1856 msdcsc.exe 96 PID 1856 wrote to memory of 2348 1856 msdcsc.exe 96 PID 1856 wrote to memory of 2348 1856 msdcsc.exe 96 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 PID 2348 wrote to memory of 2352 2348 iexplore.exe 98 -
System policy modification 1 TTPs 3 IoCs
description 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
pid Process 760 attrib.exe 4088 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\facebook.exe"C:\Users\Admin\AppData\Local\Temp\facebook.exe"1⤵
- 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:4008 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\facebook.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2872 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\facebook.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:760
-
-
-
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:1800 -
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:4088
-
-
-
C:\Windows\SysWOW64\notepad.exenotepad2⤵
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4280
-
-
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
- 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:1856 -
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:2348 -
C:\Windows\SysWOW64\notepad.exenotepad4⤵
- System Location Discovery: System Language Discovery
PID:2352
-
-
-
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
350KB
MD547c05a4b955100a7060167d4c7575ebe
SHA1bd834449be9f5b3b172293e0006afa489346f3e7
SHA256c0f7eee68ed62126c2626fbe95fd37276ea14e5c94b766a6464e292e317c5c48
SHA5122047cc37d80bfe6286a45b49912af59b32ca670a28dc9f6c3677a3e4f267c306d5022cb924f5fb6706fede6d1a6335f14a41b982c7ba98fe64ead034572a6995