Analysis
-
max time kernel
155s -
max time network
160s -
platform
windows10-2004_x64 -
resource
win10v2004-20231215-en -
resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system -
submitted
03/02/2024, 04:30
Behavioral task
behavioral1
Sample
8b66ccb77f02e2ff88e9934fe4ab648d.exe
Resource
win7-20231215-en
General
-
Target
8b66ccb77f02e2ff88e9934fe4ab648d.exe
-
Size
402KB
-
MD5
8b66ccb77f02e2ff88e9934fe4ab648d
-
SHA1
3306d54395ab3b21d424fb73308a6ad37b9020bb
-
SHA256
f47e6c4f9dbd723b2dd9db492822967c6257f2f502b57f342908ecaa64dfe4ba
-
SHA512
425e9b883005f0b3e6513d7ea33aea06df9de6c4a64d88a9ba32f56013aa5f93fbc77f965d0e434c461107b71b27506a6e9aa750e207ce4ea70bdb6e37a626ca
-
SSDEEP
6144:1maKVBGmE84IMNv55giU0pKiFYHxfx15RvOagakZBxkTN2gmeGcFnVQb/DAYbDgU:ySmLAuEY71fviagATFmebVQDcYcg
Malware Config
Extracted
njrat
0.6.4
hhhmach.ddns.net:1177
5cd8f17f4086744065eb0992a09e05a2
-
reg_key
5cd8f17f4086744065eb0992a09e05a2
-
splitter
|'|'|
Signatures
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3100 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-3073191680-435865314-2862784915-1000\Control Panel\International\Geo\Nation test.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\5cd8f17f4086744065eb0992a09e05a2.exe Trojan.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\5cd8f17f4086744065eb0992a09e05a2.exe Trojan.exe -
Executes dropped EXE 2 IoCs
pid Process 880 test.exe 312 Trojan.exe -
resource yara_rule behavioral2/memory/1820-0-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1820-1-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1820-18-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1820-24-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-3073191680-435865314-2862784915-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 1420 1820 WerFault.exe 83 2284 1820 WerFault.exe 83 -
Suspicious behavior: EnumeratesProcesses 42 IoCs
pid Process 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe 312 Trojan.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 312 Trojan.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 1820 wrote to memory of 3832 1820 8b66ccb77f02e2ff88e9934fe4ab648d.exe 88 PID 1820 wrote to memory of 3832 1820 8b66ccb77f02e2ff88e9934fe4ab648d.exe 88 PID 1820 wrote to memory of 3832 1820 8b66ccb77f02e2ff88e9934fe4ab648d.exe 88 PID 3832 wrote to memory of 880 3832 cmd.exe 89 PID 3832 wrote to memory of 880 3832 cmd.exe 89 PID 3832 wrote to memory of 880 3832 cmd.exe 89 PID 880 wrote to memory of 312 880 test.exe 90 PID 880 wrote to memory of 312 880 test.exe 90 PID 880 wrote to memory of 312 880 test.exe 90 PID 312 wrote to memory of 3100 312 Trojan.exe 91 PID 312 wrote to memory of 3100 312 Trojan.exe 91 PID 312 wrote to memory of 3100 312 Trojan.exe 91
Processes
-
C:\Users\Admin\AppData\Local\Temp\8b66ccb77f02e2ff88e9934fe4ab648d.exe"C:\Users\Admin\AppData\Local\Temp\8b66ccb77f02e2ff88e9934fe4ab648d.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:1820 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1820 -s 2362⤵
- Program crash
PID:1420
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c test.exe2⤵
- Suspicious use of WriteProcessMemory
PID:3832 -
C:\Users\Admin\AppData\Local\Temp\test.exetest.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:880 -
C:\Users\Admin\AppData\Local\Temp\Trojan.exe"C:\Users\Admin\AppData\Local\Temp\Trojan.exe"4⤵
- Drops startup file
- Executes dropped EXE
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:312 -
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Trojan.exe" "Trojan.exe" ENABLE5⤵
- Modifies Windows Firewall
PID:3100
-
-
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1820 -s 1642⤵
- Program crash
PID:2284
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1820 -ip 18201⤵PID:2112
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 1820 -ip 18201⤵PID:4864
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Privilege Escalation
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