Analysis
- max time kernel
151s - max time network
148s - platform
windows10-2004_x64 - resource
win10v2004-20240221-en - resource tags
arch:x64arch:x86image:win10v2004-20240221-enlocale:en-usos:windows10-2004-x64system - submitted
26/02/2024, 04:49
Behavioral task
behavioral1
Sample
a5785b42b8dd7192cefb84b38e7ba0e9.exe
Resource
win7-20240221-en
11 signatures
150 seconds
General
- Target a5785b42b8dd7192cefb84b38e7ba0e9.exe
- Size 402KB
- Sample240226-ffvfasdf7z
- SHA256 49d0d4770eb085e0880bcd9ccb5f36c8a79ad63ba104c1cb6d702eb75d448ec7
- MD5 a5785b42b8dd7192cefb84b38e7ba0e9
- SHA1 25866d61f4291720797c5f7f5d5ea5f5c988be22
- SHA512 1f25adcfe16144e6fc7bad45de98846abe423f5d018a366288df45976cfba8c234fb6d3b2144bea4a0a50d5bc79f9e69a810bd978ca1520bf93b2e250b06de52
- SSDEEP 6144:2maKVBGmE84IMNv55giU0pKiFYHxfx15RvOagakZBxkTN2gmeGcFnVQb/DAYbDgW:XSmLAuEY71fviagATFmebVQDcYc6
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
njrat
Version
-
0.6.4
Botnet
-
pdf
C2
-
hhhmach.ddns.net:1177
Mutex
-
5cd8f17f4086744065eb0992a09e05a2
Attributes
-
reg_key
5cd8f17f4086744065eb0992a09e05a2
-
splitter
|'|'|
Signatures
- Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3244 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-3844919115-497234255-166257750-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 720 test.exe 4764 Trojan.exe -
resource yara_rule behavioral2/memory/4812-0-0x0000000000400000-0x00000000004FA000-memory.dmp upx behavioral2/memory/4812-1-0x0000000000400000-0x00000000004FA000-memory.dmp upx behavioral2/memory/4812-17-0x0000000000400000-0x00000000004FA000-memory.dmp upx behavioral2/memory/4812-24-0x0000000000400000-0x00000000004FA000-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-3844919115-497234255-166257750-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 492 4812 WerFault.exe 83 2644 4812 WerFault.exe 83 - Suspicious behavior: EnumeratesProcesses 39 IoCs
pid Process 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe 4764 Trojan.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 4764 Trojan.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 4812 wrote to memory of 2888 4812 a5785b42b8dd7192cefb84b38e7ba0e9.exe 89 PID 4812 wrote to memory of 2888 4812 a5785b42b8dd7192cefb84b38e7ba0e9.exe 89 PID 4812 wrote to memory of 2888 4812 a5785b42b8dd7192cefb84b38e7ba0e9.exe 89 PID 2888 wrote to memory of 720 2888 cmd.exe 90 PID 2888 wrote to memory of 720 2888 cmd.exe 90 PID 2888 wrote to memory of 720 2888 cmd.exe 90 PID 720 wrote to memory of 4764 720 test.exe 91 PID 720 wrote to memory of 4764 720 test.exe 91 PID 720 wrote to memory of 4764 720 test.exe 91 PID 4764 wrote to memory of 3244 4764 Trojan.exe 93 PID 4764 wrote to memory of 3244 4764 Trojan.exe 93 PID 4764 wrote to memory of 3244 4764 Trojan.exe 93
Processes
-
C:\Users\Admin\AppData\Local\Temp\a5785b42b8dd7192cefb84b38e7ba0e9.exe"C:\Users\Admin\AppData\Local\Temp\a5785b42b8dd7192cefb84b38e7ba0e9.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:4812 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 2522⤵
- Program crash
PID:492
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c test.exe2⤵
- Suspicious use of WriteProcessMemory
PID:2888 -
C:\Users\Admin\AppData\Local\Temp\test.exetest.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:720 -
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:4764 -
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Trojan.exe" "Trojan.exe" ENABLE5⤵
- Modifies Windows Firewall
PID:3244
-
-
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 1722⤵
- Program crash
PID:2644
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4812 -ip 48121⤵PID:2944
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4812 -ip 48121⤵PID:2240
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
- Path C:\Users\Admin\AppData\Local\Temp\test.exe
- Size 78KB
- SHA256 71e1add662041fee9ff0ddf0139154cf006538559af45f34047aac91efb1b8eb
- MD5 42c5854aa0709d8bf6c28ea82c67b9a5
- SHA1 124ea473f0572009de85a4a46f361109f4fae7d6
- SHA512 c0f4412f2237138b5b66ecc285d7f44bacd67ae23feb0a55561cd4f7850ee6b0fd1b1dac3d2725ed4932aaf155b0fbda284a69b07594789bdb4cbcf0f499d95a
- SSDEEP 1536:57JM7EhKhG29juLFOoUslM0l00hEmMWmgJUdk:HMwIA29AOTslM020hEZW2dk
- MD5 SHA1 SHA512 SSDEEP