Analysis
-
max time kernel
17s -
max time network
23s -
platform
windows11-21h2_x64 -
resource
win11-20250410-en -
resource tags
arch:x64arch:x86image:win11-20250410-enlocale:en-usos:windows11-21h2-x64system -
submitted
14/04/2025, 02:19
Behavioral task
behavioral1
Sample
PortaRAT.exe
Resource
win11-20250410-en
General
-
Target
PortaRAT.exe
-
Size
245KB
-
MD5
ba4075021c4e845372a110f5a2225cf2
-
SHA1
43fe5e18f3f283cff474549b0cb59991261b01ee
-
SHA256
3dff7daa21e2b7f2a6c8c3ced325c9cdbc66f8c454a669608ce14f2e643c56f1
-
SHA512
7987ffea17ce0e00a734eff468b8f4c348ae7fe29f82ad66ca77936d27225defea5753501e75f63dfe8ea961561d2525e912b36e359ff7884e08d40bdd6b7312
-
SSDEEP
3072:kRPlsVWAbFt5EO7GyMubk8kBP3jf6/FfwKDt:QcrbiWk886xwK
Malware Config
Extracted
xworm
xml-processor.gl.at.ply.gg:35117
-
Install_directory
%AppData%
-
install_file
USB.exe
Signatures
-
Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/3284-1-0x0000000000140000-0x0000000000182000-memory.dmp family_xworm behavioral1/files/0x001e00000002b172-56.dat family_xworm -
Xworm family
-
Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2692 powershell.exe 2976 powershell.exe 2340 powershell.exe 2272 powershell.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\WindowsLocalAgent.lnk PortaRAT.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\WindowsLocalAgent.lnk PortaRAT.exe -
Executes dropped EXE 1 IoCs
pid Process 5212 WindowsLocalAgent -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3582532709-2637047242-3508314386-1000\Software\Microsoft\Windows\CurrentVersion\Run\WindowsLocalAgent = "C:\\Users\\Admin\\AppData\\Roaming\\WindowsLocalAgent" PortaRAT.exe -
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 1 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
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 4904 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 2692 powershell.exe 2692 powershell.exe 2976 powershell.exe 2976 powershell.exe 2340 powershell.exe 2340 powershell.exe 2272 powershell.exe 2272 powershell.exe 3284 PortaRAT.exe -
Suspicious use of AdjustPrivilegeToken 7 IoCs
description pid Process Token: SeDebugPrivilege 3284 PortaRAT.exe Token: SeDebugPrivilege 2692 powershell.exe Token: SeDebugPrivilege 2976 powershell.exe Token: SeDebugPrivilege 2340 powershell.exe Token: SeDebugPrivilege 2272 powershell.exe Token: SeDebugPrivilege 3284 PortaRAT.exe Token: SeDebugPrivilege 5212 WindowsLocalAgent -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3284 PortaRAT.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 3284 wrote to memory of 2692 3284 PortaRAT.exe 79 PID 3284 wrote to memory of 2692 3284 PortaRAT.exe 79 PID 3284 wrote to memory of 2976 3284 PortaRAT.exe 81 PID 3284 wrote to memory of 2976 3284 PortaRAT.exe 81 PID 3284 wrote to memory of 2340 3284 PortaRAT.exe 83 PID 3284 wrote to memory of 2340 3284 PortaRAT.exe 83 PID 3284 wrote to memory of 2272 3284 PortaRAT.exe 85 PID 3284 wrote to memory of 2272 3284 PortaRAT.exe 85 PID 3284 wrote to memory of 4904 3284 PortaRAT.exe 87 PID 3284 wrote to memory of 4904 3284 PortaRAT.exe 87 -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\PortaRAT.exe"C:\Users\Admin\AppData\Local\Temp\PortaRAT.exe"1⤵
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3284 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\PortaRAT.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2692
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'PortaRAT.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2976
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\WindowsLocalAgent'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2340
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'WindowsLocalAgent'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2272
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "WindowsLocalAgent" /tr "C:\Users\Admin\AppData\Roaming\WindowsLocalAgent"2⤵
- Scheduled Task/Job: Scheduled Task
PID:4904
-
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Roaming\WindowsLocalAgent1⤵PID:3316
-
C:\Users\Admin\AppData\Roaming\WindowsLocalAgentC:\Users\Admin\AppData\Roaming\WindowsLocalAgent1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:5212
Network
MITRE ATT&CK Enterprise v16
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD5627073ee3ca9676911bee35548eff2b8
SHA14c4b68c65e2cab9864b51167d710aa29ebdcff2e
SHA25685b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c
SHA5123c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb
-
Filesize
944B
MD51a9fa92a4f2e2ec9e244d43a6a4f8fb9
SHA19910190edfaccece1dfcc1d92e357772f5dae8f7
SHA2560ee052d5333fd5fd86bc84856fec98e045f077a7ac8051651bf7c521b9706888
SHA5125d2361476fa22200e6f83883efe7dcb8c3fe7dae8d56e04e28a36e9ae1270c327b6aa161d92b239593da7661289d002c574446ecfd6bd19928209aae25e3ef64
-
Filesize
944B
MD5781da0576417bf414dc558e5a315e2be
SHA1215451c1e370be595f1c389f587efeaa93108b4c
SHA25641a5aef8b0bbeea2766f40a7bba2c78322379f167c610f7055ccb69e7db030fe
SHA51224e283aa30a2903ebe154dad49b26067a45e46fec57549ad080d3b9ec3f272044efaaed3822d067837f5521262192f466c47195ffe7f75f8c7c5dcf3159ea737
-
Filesize
944B
MD5051a74485331f9d9f5014e58ec71566c
SHA14ed0256a84f2e95609a0b4d5c249bca624db8fe4
SHA2563f67e4ba795fd89d33e9a1fe7547e297a82ae50b8f25eedc2b33a27866b28888
SHA5121f15fd8ca727b198495ef826002c1cbcc63e98eecb2e92abff48354ae668e6c3aaf9bd3005664967ae75637bacee7e730ce36142483d08ae6a068d9ae3e0e17d
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
245KB
MD5ba4075021c4e845372a110f5a2225cf2
SHA143fe5e18f3f283cff474549b0cb59991261b01ee
SHA2563dff7daa21e2b7f2a6c8c3ced325c9cdbc66f8c454a669608ce14f2e643c56f1
SHA5127987ffea17ce0e00a734eff468b8f4c348ae7fe29f82ad66ca77936d27225defea5753501e75f63dfe8ea961561d2525e912b36e359ff7884e08d40bdd6b7312