Malware Analysis Report

2025-01-18 16:50

Sample ID 231012-pmpytsaa8w
Target ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1
SHA256 ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824
Tags
netwire botnet rat stealer
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824

Threat Level: Known bad

The file ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1 was found to be: Known bad.

Malicious Activity Summary

netwire botnet rat stealer

NetWire RAT payload

Netwire

Suspicious use of SetThreadContext

Suspicious use of WriteProcessMemory

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

N/A

Analysis: static1

Detonation Overview

Reported

2023-10-12 12:26

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2023-10-12 12:26

Reported

2023-10-16 04:00

Platform

win7-20230831-en

Max time kernel

120s

Max time network

124s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1

Signatures

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Processes

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1

Network

N/A

Files

memory/3068-4-0x000000001B200000-0x000000001B4E2000-memory.dmp

memory/3068-5-0x000007FEF51D0000-0x000007FEF5B6D000-memory.dmp

memory/3068-6-0x00000000025E0000-0x00000000025E8000-memory.dmp

memory/3068-7-0x000007FEF51D0000-0x000007FEF5B6D000-memory.dmp

memory/3068-8-0x00000000026B0000-0x0000000002730000-memory.dmp

memory/3068-9-0x00000000026B0000-0x0000000002730000-memory.dmp

memory/3068-10-0x00000000026B0000-0x0000000002730000-memory.dmp

memory/3068-11-0x00000000026B0000-0x0000000002730000-memory.dmp

memory/3068-12-0x00000000026B0000-0x0000000002730000-memory.dmp

memory/3068-13-0x000007FEF51D0000-0x000007FEF5B6D000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2023-10-12 12:26

Reported

2023-10-16 03:58

Platform

win10v2004-20230915-en

Max time kernel

144s

Max time network

150s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1

Signatures

NetWire RAT payload

rat
Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Netwire

botnet stealer netwire

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 4176 set thread context of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
PID 4176 wrote to memory of 4524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe

Processes

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\ff82d39c5ac755ccce282d2d096a73e772670b02925a372edcc3c312d1ec2824.ps1

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 146.78.124.51.in-addr.arpa udp
US 8.8.8.8:53 14.160.190.20.in-addr.arpa udp
US 8.8.8.8:53 108.211.229.192.in-addr.arpa udp
US 8.8.8.8:53 whitecat.space udp
US 66.154.102.133:3360 whitecat.space tcp
US 8.8.8.8:53 158.240.127.40.in-addr.arpa udp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 254.105.26.67.in-addr.arpa udp
US 66.154.102.133:3360 whitecat.space tcp
US 8.8.8.8:53 9.73.50.20.in-addr.arpa udp

Files

memory/4176-0-0x000002409EEE0000-0x000002409EF02000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gqr3sgap.zai.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4176-10-0x00007FFDAE870000-0x00007FFDAF331000-memory.dmp

memory/4176-12-0x000002409EF30000-0x000002409EF40000-memory.dmp

memory/4176-11-0x000002409EF30000-0x000002409EF40000-memory.dmp

memory/4176-13-0x000002409FBA0000-0x000002409FBC8000-memory.dmp

memory/4176-14-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-15-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-17-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-19-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-21-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-23-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-25-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-27-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-29-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-31-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-33-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-35-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-37-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-39-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-41-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-43-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-45-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-47-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-49-0x000002409FBA0000-0x000002409FBC1000-memory.dmp

memory/4176-50-0x000002409EF20000-0x000002409EF21000-memory.dmp

memory/4524-51-0x0000000000400000-0x0000000000433000-memory.dmp

memory/4176-55-0x00007FFDAE870000-0x00007FFDAF331000-memory.dmp

memory/4524-56-0x0000000000400000-0x0000000000433000-memory.dmp

memory/4524-57-0x0000000000400000-0x0000000000433000-memory.dmp