Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
12/10/2024, 00:28
Behavioral task
behavioral1
Sample
NTrat.exe
Resource
win7-20240708-en
General
-
Target
NTrat.exe
-
Size
793KB
-
MD5
716e2305f98bcfcdf7b6b5834cabe354
-
SHA1
4dd31cdbaf110671f78a51eebb7096d1a81cb41b
-
SHA256
38d026ed743afc0372aa4abea764d2594d5daa82e06093aef3cf6f29a61b9923
-
SHA512
0d018dee698e85340476554f84a66d689d699065541bd493e7e0e2dfead415debe0e3c350389e3d629c006a499ff62a37626a990b84f6b1bb65e3c79a04142b7
-
SSDEEP
24576:UZ1xuVVjfFoynPaVBUR8f+kN10EB8h6ey39:0QDgok30fh6ey39
Malware Config
Extracted
darkcomet
GuestNT
cndns.minidns.net:1123
DC_MUTEX-PQXTHV7
-
InstallPath
NTsoft\NTrat.exe
-
gencode
ZDyvfnhdmzgr
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
NTrat
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\\NTsoft\\NTrat.exe" NTrat.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 912 attrib.exe 464 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 NTrat.exe -
Deletes itself 1 IoCs
pid Process 3872 notepad.exe -
Executes dropped EXE 1 IoCs
pid Process 4204 NTrat.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\NTrat = "C:\\Users\\Admin\\Documents\\NTsoft\\NTrat.exe" NTrat.exe Set value (str) \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\NTrat = "C:\\Users\\Admin\\Documents\\NTsoft\\NTrat.exe" NTrat.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.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language NTrat.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 attrib.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 NTrat.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ NTrat.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 4204 NTrat.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 5080 NTrat.exe Token: SeSecurityPrivilege 5080 NTrat.exe Token: SeTakeOwnershipPrivilege 5080 NTrat.exe Token: SeLoadDriverPrivilege 5080 NTrat.exe Token: SeSystemProfilePrivilege 5080 NTrat.exe Token: SeSystemtimePrivilege 5080 NTrat.exe Token: SeProfSingleProcessPrivilege 5080 NTrat.exe Token: SeIncBasePriorityPrivilege 5080 NTrat.exe Token: SeCreatePagefilePrivilege 5080 NTrat.exe Token: SeBackupPrivilege 5080 NTrat.exe Token: SeRestorePrivilege 5080 NTrat.exe Token: SeShutdownPrivilege 5080 NTrat.exe Token: SeDebugPrivilege 5080 NTrat.exe Token: SeSystemEnvironmentPrivilege 5080 NTrat.exe Token: SeChangeNotifyPrivilege 5080 NTrat.exe Token: SeRemoteShutdownPrivilege 5080 NTrat.exe Token: SeUndockPrivilege 5080 NTrat.exe Token: SeManageVolumePrivilege 5080 NTrat.exe Token: SeImpersonatePrivilege 5080 NTrat.exe Token: SeCreateGlobalPrivilege 5080 NTrat.exe Token: 33 5080 NTrat.exe Token: 34 5080 NTrat.exe Token: 35 5080 NTrat.exe Token: 36 5080 NTrat.exe Token: SeIncreaseQuotaPrivilege 4204 NTrat.exe Token: SeSecurityPrivilege 4204 NTrat.exe Token: SeTakeOwnershipPrivilege 4204 NTrat.exe Token: SeLoadDriverPrivilege 4204 NTrat.exe Token: SeSystemProfilePrivilege 4204 NTrat.exe Token: SeSystemtimePrivilege 4204 NTrat.exe Token: SeProfSingleProcessPrivilege 4204 NTrat.exe Token: SeIncBasePriorityPrivilege 4204 NTrat.exe Token: SeCreatePagefilePrivilege 4204 NTrat.exe Token: SeBackupPrivilege 4204 NTrat.exe Token: SeRestorePrivilege 4204 NTrat.exe Token: SeShutdownPrivilege 4204 NTrat.exe Token: SeDebugPrivilege 4204 NTrat.exe Token: SeSystemEnvironmentPrivilege 4204 NTrat.exe Token: SeChangeNotifyPrivilege 4204 NTrat.exe Token: SeRemoteShutdownPrivilege 4204 NTrat.exe Token: SeUndockPrivilege 4204 NTrat.exe Token: SeManageVolumePrivilege 4204 NTrat.exe Token: SeImpersonatePrivilege 4204 NTrat.exe Token: SeCreateGlobalPrivilege 4204 NTrat.exe Token: 33 4204 NTrat.exe Token: 34 4204 NTrat.exe Token: 35 4204 NTrat.exe Token: 36 4204 NTrat.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4204 NTrat.exe -
Suspicious use of WriteProcessMemory 54 IoCs
description pid Process procid_target PID 5080 wrote to memory of 4160 5080 NTrat.exe 86 PID 5080 wrote to memory of 4160 5080 NTrat.exe 86 PID 5080 wrote to memory of 4160 5080 NTrat.exe 86 PID 5080 wrote to memory of 5076 5080 NTrat.exe 88 PID 5080 wrote to memory of 5076 5080 NTrat.exe 88 PID 5080 wrote to memory of 5076 5080 NTrat.exe 88 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 5080 wrote to memory of 3872 5080 NTrat.exe 89 PID 4160 wrote to memory of 912 4160 cmd.exe 91 PID 4160 wrote to memory of 912 4160 cmd.exe 91 PID 4160 wrote to memory of 912 4160 cmd.exe 91 PID 5076 wrote to memory of 464 5076 cmd.exe 92 PID 5076 wrote to memory of 464 5076 cmd.exe 92 PID 5076 wrote to memory of 464 5076 cmd.exe 92 PID 5080 wrote to memory of 4204 5080 NTrat.exe 93 PID 5080 wrote to memory of 4204 5080 NTrat.exe 93 PID 5080 wrote to memory of 4204 5080 NTrat.exe 93 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 PID 4204 wrote to memory of 4712 4204 NTrat.exe 94 -
Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 912 attrib.exe 464 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\NTrat.exe"C:\Users\Admin\AppData\Local\Temp\NTrat.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:5080 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\NTrat.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4160 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\NTrat.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:912
-
-
-
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:5076 -
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:464
-
-
-
C:\Windows\SysWOW64\notepad.exenotepad2⤵
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3872
-
-
C:\Users\Admin\Documents\NTsoft\NTrat.exe"C:\Users\Admin\Documents\NTsoft\NTrat.exe"2⤵
- Executes dropped EXE
- 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:4204 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:4712
-
-
Network
MITRE ATT&CK Enterprise v15
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
1Defense Evasion
Hide Artifacts
2Hidden Files and Directories
2Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
793KB
MD5716e2305f98bcfcdf7b6b5834cabe354
SHA14dd31cdbaf110671f78a51eebb7096d1a81cb41b
SHA25638d026ed743afc0372aa4abea764d2594d5daa82e06093aef3cf6f29a61b9923
SHA5120d018dee698e85340476554f84a66d689d699065541bd493e7e0e2dfead415debe0e3c350389e3d629c006a499ff62a37626a990b84f6b1bb65e3c79a04142b7