Analysis
-
max time kernel
171s -
max time network
178s -
platform
windows10-2004_x64 -
resource
win10v2004-20231215-en -
resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system -
submitted
26/01/2024, 23:24
Behavioral task
behavioral1
Sample
78a9c32a4f8e84a1fac417b3621be3b4.exe
Resource
win7-20231215-en
General
-
Target
78a9c32a4f8e84a1fac417b3621be3b4.exe
-
Size
402KB
-
MD5
78a9c32a4f8e84a1fac417b3621be3b4
-
SHA1
8503b246c13b9367fe086df8b3a902d03f131057
-
SHA256
c48f8cf91800215da1f4f9f6bea83f59ad2ba28c66b8bee2d69c80bdbd4d9f11
-
SHA512
121f9f0a1b36d25a07b86c7a573ebac088826514468959bab878a1ed02a865c24a7a051a840a2a2c096d67ff79ddc1681a07f08a2d0407bb09809e9e50818f9d
-
SSDEEP
6144:MmaKVBGmE84IMNv55giU0pKiFYHxfx15RvOagakZBxkTN2gmeGcFnVQb/DAYbDgE:lSmLAuEY71fviagATFmebVQDcYcY
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 3576 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-635608581-3370340891-292606865-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 1916 test.exe 3984 Trojan.exe -
resource yara_rule behavioral2/memory/1232-0-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1232-1-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1232-25-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-635608581-3370340891-292606865-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 1620 1232 WerFault.exe 84 2340 1232 WerFault.exe 84 -
Suspicious behavior: EnumeratesProcesses 36 IoCs
pid Process 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe 3984 Trojan.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 3984 Trojan.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 1232 wrote to memory of 2296 1232 78a9c32a4f8e84a1fac417b3621be3b4.exe 95 PID 1232 wrote to memory of 2296 1232 78a9c32a4f8e84a1fac417b3621be3b4.exe 95 PID 1232 wrote to memory of 2296 1232 78a9c32a4f8e84a1fac417b3621be3b4.exe 95 PID 2296 wrote to memory of 1916 2296 cmd.exe 96 PID 2296 wrote to memory of 1916 2296 cmd.exe 96 PID 2296 wrote to memory of 1916 2296 cmd.exe 96 PID 1916 wrote to memory of 3984 1916 test.exe 100 PID 1916 wrote to memory of 3984 1916 test.exe 100 PID 1916 wrote to memory of 3984 1916 test.exe 100 PID 3984 wrote to memory of 3576 3984 Trojan.exe 101 PID 3984 wrote to memory of 3576 3984 Trojan.exe 101 PID 3984 wrote to memory of 3576 3984 Trojan.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\78a9c32a4f8e84a1fac417b3621be3b4.exe"C:\Users\Admin\AppData\Local\Temp\78a9c32a4f8e84a1fac417b3621be3b4.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:1232 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1232 -s 2402⤵
- Program crash
PID:1620
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c test.exe2⤵
- Suspicious use of WriteProcessMemory
PID:2296 -
C:\Users\Admin\AppData\Local\Temp\test.exetest.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:1916 -
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:3984 -
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Trojan.exe" "Trojan.exe" ENABLE5⤵
- Modifies Windows Firewall
PID:3576
-
-
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1232 -s 1642⤵
- Program crash
PID:2340
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1232 -ip 12321⤵PID:4112
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1232 -ip 12321⤵PID:4988
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