Analysis
- max time kernel
149s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20231222-en - resource tags
arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system - submitted
25/01/2024, 01:41
Behavioral task
behavioral1
Sample
736678448249591fa59a3493d93cbd81.exe
Resource
win7-20231215-en
11 signatures
150 seconds
General
- Target 736678448249591fa59a3493d93cbd81.exe
- Size 402KB
- Sample240125-b35sbsdeb4
- SHA256 331d10adbff4d2145daf02201148759191747125e05b9d35137b87731f4002cc
- MD5 736678448249591fa59a3493d93cbd81
- SHA1 60b7a25142bb3cfc121afd26af100d366ec5fba4
- SHA512 93a3630a5a2f8823726ad0e2d498bf9bac0bf642b0aa0efdab06a75b6ca11f444769380cbb442da545591342792736bc65093c95d9834e74cbcc51ed2877053c
- SSDEEP 6144:tmaKVBGmE84IMNv55giU0pKiFYHxfx15RvOagakZBxkTN2gmeGcFnVQb/DAYbDgU:aSmLAuEY71fviagATFmebVQDcYcg
- 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 1 TTPs 1 IoCs
pid Process 5236 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-1168293393-3419776239-306423207-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 4396 test.exe 6124 Trojan.exe -
resource yara_rule behavioral2/memory/1420-0-0x0000000000400000-0x00000000004FB000-memory.dmp upx behavioral2/memory/1420-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-1168293393-3419776239-306423207-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 2020 1420 WerFault.exe 84 5256 1420 WerFault.exe 84 - Suspicious behavior: EnumeratesProcesses 48 IoCs
pid Process 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe 6124 Trojan.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 6124 Trojan.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 1420 wrote to memory of 4700 1420 736678448249591fa59a3493d93cbd81.exe 92 PID 1420 wrote to memory of 4700 1420 736678448249591fa59a3493d93cbd81.exe 92 PID 1420 wrote to memory of 4700 1420 736678448249591fa59a3493d93cbd81.exe 92 PID 4700 wrote to memory of 4396 4700 cmd.exe 93 PID 4700 wrote to memory of 4396 4700 cmd.exe 93 PID 4700 wrote to memory of 4396 4700 cmd.exe 93 PID 4396 wrote to memory of 6124 4396 test.exe 94 PID 4396 wrote to memory of 6124 4396 test.exe 94 PID 4396 wrote to memory of 6124 4396 test.exe 94 PID 6124 wrote to memory of 5236 6124 Trojan.exe 95 PID 6124 wrote to memory of 5236 6124 Trojan.exe 95 PID 6124 wrote to memory of 5236 6124 Trojan.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\736678448249591fa59a3493d93cbd81.exe"C:\Users\Admin\AppData\Local\Temp\736678448249591fa59a3493d93cbd81.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:1420 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1420 -s 2482⤵
- Program crash
PID:2020
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c test.exe2⤵
- Suspicious use of WriteProcessMemory
PID:4700 -
C:\Users\Admin\AppData\Local\Temp\test.exetest.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:4396 -
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:6124 -
C:\Windows\SysWOW64\netsh.exenetsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Trojan.exe" "Trojan.exe" ENABLE5⤵
- Modifies Windows Firewall
PID:5236
-
-
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1420 -s 1642⤵
- Program crash
PID:5256
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 1420 -ip 14201⤵PID:5620
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1420 -ip 14201⤵PID:5284
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
- Path C:\Users\Admin\AppData\Local\Temp\Trojan.exe
- Size 57KB
- SHA256 e817a6de5b40d969845ddd50d30ff40b120083632347a2b2dd886355bb054759
- MD5 3568a56e9267ed87cd417a21f3c081dd
- SHA1 c6fdebd3c41f9be59fcba6e76f1448d39e39f257
- SHA512 78674798d641f272b9548821999afd2ada1755ae27351a3571430e8bbe123b289528a0839c826143ff4bd00e734f71e142c48551f890cf52dd1805d935cc2399
- SSDEEP 768:57Js8oDSDuTQ8qNOeXBKh0p29SgRuLt/bdo32u+sbS6F3OlM0l3E0VjEhQbGt:57JM7EhKhG29juLFOoUslM0l00hEm2
- MD5 SHA1 SHA512 SSDEEP
- 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