Analysis
-
max time kernel
147s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20231222-en -
resource tags
arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system -
submitted
26-12-2023 01:53
Behavioral task
behavioral1
Sample
4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe
Resource
win7-20231129-en
General
-
Target
4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe
-
Size
402KB
-
MD5
4ab8fe1e78032e7e21bfc7f9ffb4dac1
-
SHA1
81234a22190d834c6959d3e4164f2d359ebce34e
-
SHA256
79e3ec6c521fd939a66b44cd02e87772412cf065f8a247a0da5856df54b3efed
-
SHA512
8ce68c92f29d26d1b85dbbc9b2690c7f04e4193683c5aeee89976e7a44254a235f9ad2c0531e4bb9a575334b08eaf9312cfb4ecb2b7b3061d7636cb2513c197b
-
SSDEEP
6144:hmaKVBGmE84IMNv55giU0pKiFYHxfx15RvOagakZBxkTN2gmeGcFnVQb/DAYbDgU:mSmLAuEY71fviagATFmebVQDcYcg
Malware Config
Extracted
njrat
0.6.4
hhhmach.ddns.net:1177
5cd8f17f4086744065eb0992a09e05a2
-
reg_key
5cd8f17f4086744065eb0992a09e05a2
-
splitter
|'|'|
Signatures
-
Modifies Windows Firewall 1 TTPs 1 IoCs
pid Process 1952 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-3803511929-1339359695-2191195476-1000\Control Panel\International\Geo\Nation test.exe -
Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\5cd8f17f4086744065eb0992a09e05a2.exe Trojan.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\5cd8f17f4086744065eb0992a09e05a2.exe Trojan.exe -
Executes dropped EXE 2 IoCs
pid Process 560 test.exe 2272 Trojan.exe -
resource yara_rule behavioral2/memory/1840-0-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1840-22-0x0000000000400000-0x00000000004FB000-memory.dmp upx -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3803511929-1339359695-2191195476-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\5cd8f17f4086744065eb0992a09e05a2 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\Trojan.exe\" .." Trojan.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\5cd8f17f4086744065eb0992a09e05a2 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\Trojan.exe\" .." Trojan.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Program crash 2 IoCs
pid pid_target Process procid_target 2028 1840 WerFault.exe 12 548 1840 WerFault.exe 12 -
Suspicious behavior: EnumeratesProcesses 48 IoCs
pid Process 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe 2272 Trojan.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2272 Trojan.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 1840 wrote to memory of 4364 1840 4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe 25 PID 1840 wrote to memory of 4364 1840 4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe 25 PID 1840 wrote to memory of 4364 1840 4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe 25 PID 4364 wrote to memory of 560 4364 cmd.exe 24 PID 4364 wrote to memory of 560 4364 cmd.exe 24 PID 4364 wrote to memory of 560 4364 cmd.exe 24 PID 560 wrote to memory of 2272 560 test.exe 34 PID 560 wrote to memory of 2272 560 test.exe 34 PID 560 wrote to memory of 2272 560 test.exe 34 PID 2272 wrote to memory of 1952 2272 Trojan.exe 32 PID 2272 wrote to memory of 1952 2272 Trojan.exe 32 PID 2272 wrote to memory of 1952 2272 Trojan.exe 32
Processes
-
C:\Users\Admin\AppData\Local\Temp\4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe"C:\Users\Admin\AppData\Local\Temp\4ab8fe1e78032e7e21bfc7f9ffb4dac1.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:1840 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1840 -s 2402⤵
- Program crash
PID:2028
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c test.exe2⤵
- Suspicious use of WriteProcessMemory
PID:4364
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1840 -s 1642⤵
- Program crash
PID:548
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 196 -p 1840 -ip 18401⤵PID:1208
-
C:\Users\Admin\AppData\Local\Temp\test.exetest.exe1⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:560 -
C:\Users\Admin\AppData\Local\Temp\Trojan.exe"C:\Users\Admin\AppData\Local\Temp\Trojan.exe"2⤵
- Drops startup file
- Executes dropped EXE
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2272
-
-
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Trojan.exe" "Trojan.exe" ENABLE1⤵
- Modifies Windows Firewall
PID:1952
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1840 -ip 18401⤵PID:976
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
78KB
MD542c5854aa0709d8bf6c28ea82c67b9a5
SHA1124ea473f0572009de85a4a46f361109f4fae7d6
SHA25671e1add662041fee9ff0ddf0139154cf006538559af45f34047aac91efb1b8eb
SHA512c0f4412f2237138b5b66ecc285d7f44bacd67ae23feb0a55561cd4f7850ee6b0fd1b1dac3d2725ed4932aaf155b0fbda284a69b07594789bdb4cbcf0f499d95a