Analysis
-
max time kernel
120s -
max time network
96s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03-12-2024 03:37
Static task
static1
Behavioral task
behavioral1
Sample
40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe
Resource
win10v2004-20241007-en
General
-
Target
40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe
-
Size
980KB
-
MD5
9d39a28d4969df4949cebc75f03554c0
-
SHA1
1e3230a54a084e8558c648a66b23f868e7c1276f
-
SHA256
40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58
-
SHA512
4b3c4e6b50a28e8352db4ffacdb865ed1ff219c224d40db3076c796ca4cd83c1e9cd35151a1473c2e72bd172ca0bc0f7e43282cb63f12e9199d4641ff9a2c847
-
SSDEEP
12288:x2LaKaEt0ymu5M2kqChPAxzlO50IoPWEu/8+l89R6WvEVr4aQxU:xdnuahPS5nxTRdvEVr47
Malware Config
Extracted
njrat
0.7d
HacKed
127.0.0.1:5552
279f6960ed84a752570aca7fb2dc1552
-
reg_key
279f6960ed84a752570aca7fb2dc1552
-
splitter
|'|'|
Signatures
-
Njrat family
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1156 netsh.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 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe -
Executes dropped EXE 2 IoCs
pid Process 2992 server.exe 3412 server.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2878641211-696417878-3864914810-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\279f6960ed84a752570aca7fb2dc1552 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\server.exe\" .." server.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\279f6960ed84a752570aca7fb2dc1552 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\server.exe\" .." server.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 4580 set thread context of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 2992 set thread context of 3412 2992 server.exe 88 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs
Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.
description ioc Process Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
System Location Discovery: System Language Discovery 1 TTPs 5 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 server.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language server.exe -
Suspicious use of AdjustPrivilegeToken 29 IoCs
description pid Process Token: SeDebugPrivilege 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe Token: SeDebugPrivilege 2992 server.exe Token: SeDebugPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe Token: 33 3412 server.exe Token: SeIncBasePriorityPrivilege 3412 server.exe -
Suspicious use of WriteProcessMemory 16 IoCs
description pid Process procid_target PID 4580 wrote to memory of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 4580 wrote to memory of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 4580 wrote to memory of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 4580 wrote to memory of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 4580 wrote to memory of 5116 4580 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 83 PID 5116 wrote to memory of 2992 5116 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 85 PID 5116 wrote to memory of 2992 5116 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 85 PID 5116 wrote to memory of 2992 5116 40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe 85 PID 2992 wrote to memory of 3412 2992 server.exe 88 PID 2992 wrote to memory of 3412 2992 server.exe 88 PID 2992 wrote to memory of 3412 2992 server.exe 88 PID 2992 wrote to memory of 3412 2992 server.exe 88 PID 2992 wrote to memory of 3412 2992 server.exe 88 PID 3412 wrote to memory of 1156 3412 server.exe 96 PID 3412 wrote to memory of 1156 3412 server.exe 96 PID 3412 wrote to memory of 1156 3412 server.exe 96
Processes
-
C:\Users\Admin\AppData\Local\Temp\40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe"C:\Users\Admin\AppData\Local\Temp\40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4580 -
C:\Users\Admin\AppData\Local\Temp\40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exeC:\Users\Admin\AppData\Local\Temp\40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe2⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5116 -
C:\Users\Admin\AppData\Local\Temp\server.exe"C:\Users\Admin\AppData\Local\Temp\server.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2992 -
C:\Users\Admin\AppData\Local\Temp\server.exeC:\Users\Admin\AppData\Local\Temp\server.exe4⤵
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3412 -
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\server.exe" "server.exe" ENABLE5⤵
- Modifies Windows Firewall
- Event Triggered Execution: Netsh Helper DLL
- System Location Discovery: System Language Discovery
PID:1156
-
-
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\40efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58N.exe.log
Filesize1KB
MD59a2d0ce437d2445330f2646472703087
SHA133c83e484a15f35c2caa3af62d5da6b7713a20ae
SHA25630ea2f716e85f8d14a201e3fb0897d745a01b113342dfb7a9b7ac133c4ef150c
SHA512a61d18d90bfad9ea8afdfa37537cfea3d5a3d0c161e323fa65840c283bdc87c3de85daaff5519beea2f2719eec1c68398eea8679b55ff733a61052f073162d5d
-
Filesize
980KB
MD59d39a28d4969df4949cebc75f03554c0
SHA11e3230a54a084e8558c648a66b23f868e7c1276f
SHA25640efde16d08059a99d43c80e67e7c76c51893186aac36f091da2ece9eecceb58
SHA5124b3c4e6b50a28e8352db4ffacdb865ed1ff219c224d40db3076c796ca4cd83c1e9cd35151a1473c2e72bd172ca0bc0f7e43282cb63f12e9199d4641ff9a2c847