Analysis
-
max time kernel
121s -
max time network
126s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
14-01-2025 15:31
Behavioral task
behavioral1
Sample
botnet.exe
Resource
win7-20241010-en
General
-
Target
botnet.exe
-
Size
55KB
-
MD5
75c3c6f848f99103c46d785d1a488138
-
SHA1
3f75be65932cec817261d8a5e4c26ebd643bb07b
-
SHA256
33d3d6d79232d61d88f214d83d6eab25ad9c40aff24045745795e97955388420
-
SHA512
66e7dfaabc302b4bea87760869a12d50e9e9657485b14af1bdea7334f3a441675d8c4cd307109e28b6f14962c3d20e7e005ab68562b1ebe6ba6b17bdc246bc50
-
SSDEEP
1536:D/pMDnE4uNRty4XzPhhDVwsNMDwXExI3pm1Om:dMDnlYk4XdhDVwsNMDwXExI3pm
Malware Config
Signatures
-
Njrat family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" reg.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\414bf8bf8acc3fbb7978d9d782a996a1.exe botnet.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\414bf8bf8acc3fbb7978d9d782a996a1.exe botnet.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Microsoft\Windows\CurrentVersion\Run\414bf8bf8acc3fbb7978d9d782a996a1 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\botnet.exe\" .." botnet.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\414bf8bf8acc3fbb7978d9d782a996a1 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\botnet.exe\" .." botnet.exe -
pid Process 2744 powershell.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
flow ioc 2 2.tcp.eu.ngrok.io -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2820 sc.exe 2612 sc.exe 1620 sc.exe -
System Location Discovery: System Language Discovery 1 TTPs 17 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language reg.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language botnet.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language PING.EXE -
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 332 PING.EXE 2632 cmd.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 2168 reg.exe -
Runs ping.exe 1 TTPs 1 IoCs
pid Process 332 PING.EXE -
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3068 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe 2876 botnet.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2876 botnet.exe -
Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 2876 botnet.exe Token: SeDebugPrivilege 2744 powershell.exe Token: 33 2876 botnet.exe Token: SeIncBasePriorityPrivilege 2876 botnet.exe Token: 33 2876 botnet.exe Token: SeIncBasePriorityPrivilege 2876 botnet.exe Token: 33 2876 botnet.exe Token: SeIncBasePriorityPrivilege 2876 botnet.exe -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 2876 wrote to memory of 2748 2876 botnet.exe 30 PID 2876 wrote to memory of 2748 2876 botnet.exe 30 PID 2876 wrote to memory of 2748 2876 botnet.exe 30 PID 2876 wrote to memory of 2748 2876 botnet.exe 30 PID 2876 wrote to memory of 2816 2876 botnet.exe 32 PID 2876 wrote to memory of 2816 2876 botnet.exe 32 PID 2876 wrote to memory of 2816 2876 botnet.exe 32 PID 2876 wrote to memory of 2816 2876 botnet.exe 32 PID 2816 wrote to memory of 2744 2816 cmd.exe 34 PID 2816 wrote to memory of 2744 2816 cmd.exe 34 PID 2816 wrote to memory of 2744 2816 cmd.exe 34 PID 2816 wrote to memory of 2744 2816 cmd.exe 34 PID 2876 wrote to memory of 2728 2876 botnet.exe 35 PID 2876 wrote to memory of 2728 2876 botnet.exe 35 PID 2876 wrote to memory of 2728 2876 botnet.exe 35 PID 2876 wrote to memory of 2728 2876 botnet.exe 35 PID 2728 wrote to memory of 2820 2728 cmd.exe 37 PID 2728 wrote to memory of 2820 2728 cmd.exe 37 PID 2728 wrote to memory of 2820 2728 cmd.exe 37 PID 2728 wrote to memory of 2820 2728 cmd.exe 37 PID 2876 wrote to memory of 2828 2876 botnet.exe 38 PID 2876 wrote to memory of 2828 2876 botnet.exe 38 PID 2876 wrote to memory of 2828 2876 botnet.exe 38 PID 2876 wrote to memory of 2828 2876 botnet.exe 38 PID 2828 wrote to memory of 2612 2828 cmd.exe 40 PID 2828 wrote to memory of 2612 2828 cmd.exe 40 PID 2828 wrote to memory of 2612 2828 cmd.exe 40 PID 2828 wrote to memory of 2612 2828 cmd.exe 40 PID 2876 wrote to memory of 2656 2876 botnet.exe 41 PID 2876 wrote to memory of 2656 2876 botnet.exe 41 PID 2876 wrote to memory of 2656 2876 botnet.exe 41 PID 2876 wrote to memory of 2656 2876 botnet.exe 41 PID 2656 wrote to memory of 1620 2656 cmd.exe 43 PID 2656 wrote to memory of 1620 2656 cmd.exe 43 PID 2656 wrote to memory of 1620 2656 cmd.exe 43 PID 2656 wrote to memory of 1620 2656 cmd.exe 43 PID 2876 wrote to memory of 3060 2876 botnet.exe 44 PID 2876 wrote to memory of 3060 2876 botnet.exe 44 PID 2876 wrote to memory of 3060 2876 botnet.exe 44 PID 2876 wrote to memory of 3060 2876 botnet.exe 44 PID 2876 wrote to memory of 3068 2876 botnet.exe 46 PID 2876 wrote to memory of 3068 2876 botnet.exe 46 PID 2876 wrote to memory of 3068 2876 botnet.exe 46 PID 2876 wrote to memory of 3068 2876 botnet.exe 46 PID 2876 wrote to memory of 684 2876 botnet.exe 48 PID 2876 wrote to memory of 684 2876 botnet.exe 48 PID 2876 wrote to memory of 684 2876 botnet.exe 48 PID 2876 wrote to memory of 684 2876 botnet.exe 48 PID 684 wrote to memory of 2168 684 cmd.exe 50 PID 684 wrote to memory of 2168 684 cmd.exe 50 PID 684 wrote to memory of 2168 684 cmd.exe 50 PID 684 wrote to memory of 2168 684 cmd.exe 50 PID 2876 wrote to memory of 860 2876 botnet.exe 52 PID 2876 wrote to memory of 860 2876 botnet.exe 52 PID 2876 wrote to memory of 860 2876 botnet.exe 52 PID 2876 wrote to memory of 860 2876 botnet.exe 52 PID 2876 wrote to memory of 2632 2876 botnet.exe 54 PID 2876 wrote to memory of 2632 2876 botnet.exe 54 PID 2876 wrote to memory of 2632 2876 botnet.exe 54 PID 2876 wrote to memory of 2632 2876 botnet.exe 54 PID 2632 wrote to memory of 332 2632 cmd.exe 56 PID 2632 wrote to memory of 332 2632 cmd.exe 56 PID 2632 wrote to memory of 332 2632 cmd.exe 56 PID 2632 wrote to memory of 332 2632 cmd.exe 56 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 2748 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\botnet.exe"C:\Users\Admin\AppData\Local\Temp\botnet.exe"1⤵
- Drops startup file
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2876 -
C:\Windows\SysWOW64\attrib.exeattrib +h "C:\Users\Admin\AppData\Local\Temp\botnet.exe"2⤵
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:2748
-
-
C:\Windows\SysWOW64\cmd.execmd /c powershell Set-MpPreference -DisableRealtimeMonitoring $true2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2816 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exepowershell Set-MpPreference -DisableRealtimeMonitoring $true3⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
PID:2744
-
-
-
C:\Windows\SysWOW64\cmd.execmd /c sc query windefend2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2728 -
C:\Windows\SysWOW64\sc.exesc query windefend3⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2820
-
-
-
C:\Windows\SysWOW64\cmd.execmd /c sc stop windefend2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2828 -
C:\Windows\SysWOW64\sc.exesc stop windefend3⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2612
-
-
-
C:\Windows\SysWOW64\cmd.execmd /c sc delete windefend2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2656 -
C:\Windows\SysWOW64\sc.exesc delete windefend3⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1620
-
-
-
C:\Windows\SysWOW64\schtasks.exeschtasks /delete /tn CleanSweepCheck /f2⤵
- System Location Discovery: System Language Discovery
PID:3060
-
-
C:\Windows\SysWOW64\schtasks.exeschtasks /create /sc minute /mo 1 /tn CleanSweepCheck /tr C:\Users\Admin\AppData\Local\Temp\botnet.exe2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:3068
-
-
C:\Windows\SysWOW64\cmd.execmd /c reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:684 -
C:\Windows\SysWOW64\reg.exereg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f3⤵
- UAC bypass
- System Location Discovery: System Language Discovery
- Modifies registry key
PID:2168
-
-
-
C:\Windows\SysWOW64\schtasks.exeschtasks /delete /tn CleanSweepCheck /f2⤵
- System Location Discovery: System Language Discovery
PID:860
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c ping 0 -n 2 & del "C:\Users\Admin\AppData\Local\Temp\botnet.exe"2⤵
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
- Suspicious use of WriteProcessMemory
PID:2632 -
C:\Windows\SysWOW64\PING.EXEping 0 -n 23⤵
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
- Runs ping.exe
PID:332
-
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1System Services
1Service Execution
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Scheduled Task/Job
1Scheduled Task
1Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Scheduled Task/Job
1Scheduled Task
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Hide Artifacts
1Hidden Files and Directories
1Impair Defenses
2Disable or Modify Tools
1Modify Registry
3