Malware Analysis Report

2024-10-18 21:32

Sample ID 240520-ns7kdsac71
Target p.ps1
SHA256 a07444d7955d03e97f1643050cca78054035d2edd4a7d59e4ffb700b2be3f991
Tags
execution metasploit
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

a07444d7955d03e97f1643050cca78054035d2edd4a7d59e4ffb700b2be3f991

Threat Level: Known bad

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

Malicious Activity Summary

execution metasploit

Metasploit family

Blocklisted process makes network request

Command and Scripting Interpreter: PowerShell

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-05-20 11:40

Signatures

Metasploit family

metasploit

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-20 11:40

Reported

2024-05-20 11:43

Platform

win10v2004-20240426-en

Max time kernel

149s

Max time network

155s

Command Line

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

Signatures

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A \??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe N/A

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A \??\c:\windows\syswow64\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
Token: SeDebugPrivilege N/A \??\c:\windows\syswow64\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\p.ps1

\??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe

"c:\windows\syswow64\windowspowershell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile

Network

Country Destination Domain Proto
US 8.8.8.8:53 232.168.11.51.in-addr.arpa udp
US 8.8.8.8:53 79.190.18.2.in-addr.arpa udp
US 8.8.8.8:53 19.177.190.20.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
CN 154.8.204.157:19001 tcp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 172.210.232.199.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
BE 88.221.83.248:443 www.bing.com tcp
US 8.8.8.8:53 200.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 43.58.199.20.in-addr.arpa udp
US 8.8.8.8:53 248.83.221.88.in-addr.arpa udp
US 8.8.8.8:53 udp

Files

memory/4808-0-0x00007FFADBFD3000-0x00007FFADBFD5000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_aiudk5b1.u5q.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4808-1-0x0000026526F60000-0x0000026526F82000-memory.dmp

memory/4808-11-0x00007FFADBFD0000-0x00007FFADCA91000-memory.dmp

memory/4808-12-0x00007FFADBFD0000-0x00007FFADCA91000-memory.dmp

memory/4808-13-0x00000265402E0000-0x0000026540456000-memory.dmp

memory/4808-14-0x0000026540670000-0x000002654087A000-memory.dmp

memory/3704-15-0x00000000753EE000-0x00000000753EF000-memory.dmp

memory/3704-16-0x0000000004D90000-0x0000000004DC6000-memory.dmp

memory/3704-17-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/3704-18-0x0000000005400000-0x0000000005A28000-memory.dmp

memory/3704-19-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/3704-20-0x0000000005360000-0x0000000005382000-memory.dmp

memory/3704-22-0x0000000005CD0000-0x0000000005D36000-memory.dmp

memory/3704-21-0x0000000005B30000-0x0000000005B96000-memory.dmp

memory/3704-32-0x0000000005D40000-0x0000000006094000-memory.dmp

memory/3704-33-0x00000000064A0000-0x00000000064BE000-memory.dmp

memory/3704-34-0x0000000006590000-0x00000000065DC000-memory.dmp

memory/3704-35-0x0000000007280000-0x00000000078FA000-memory.dmp

memory/3704-36-0x00000000069E0000-0x00000000069FA000-memory.dmp

memory/3704-37-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/4808-39-0x00007FFADBFD3000-0x00007FFADBFD5000-memory.dmp

memory/4808-40-0x00007FFADBFD0000-0x00007FFADCA91000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache

MD5 93678e82d776686aa54c42b8a98e6cbc
SHA1 802939dfed99ac74814c4371388b204c5810241d
SHA256 da32a79a8e04cbafb1c5980b3d6225f4705010df5eb45d464cd5bf6b642d7841
SHA512 0b412a1e11c0639d72f6a58c661ecc43da021c010c4d1e66051c5a376ebab287480bbf663345c9bd2a79ec3a35a9788cf04d74d612449f76fe2c87576cd13520

memory/3704-43-0x00000000753EE000-0x00000000753EF000-memory.dmp

memory/3704-44-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/3704-45-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/3704-48-0x00000000753E0000-0x0000000075B90000-memory.dmp

memory/4808-49-0x0000026526F90000-0x0000026526FA0000-memory.dmp

memory/4808-52-0x00007FFADBFD0000-0x00007FFADCA91000-memory.dmp

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-20 11:40

Reported

2024-05-20 11:43

Platform

win7-20240221-en

Max time kernel

119s

Max time network

125s

Command Line

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

Signatures

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A \??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe N/A
N/A N/A \??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe N/A

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A \??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe N/A

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\syswow64\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
Token: SeDebugPrivilege N/A \??\c:\windows\syswow64\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\p.ps1

\??\c:\windows\syswow64\windowspowershell\v1.0\powershell.exe

"c:\windows\syswow64\windowspowershell\v1.0\powershell.exe" -s -NoLogo -NoProfile

Network

Country Destination Domain Proto
CN 154.8.204.157:19001 tcp
CN 154.8.204.157:19001 tcp

Files

memory/2312-4-0x000007FEF628E000-0x000007FEF628F000-memory.dmp

memory/2312-5-0x000000001B300000-0x000000001B5E2000-memory.dmp

memory/2312-6-0x0000000002590000-0x0000000002598000-memory.dmp

memory/2312-7-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-8-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-9-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-11-0x0000000002A20000-0x0000000002A52000-memory.dmp

memory/2312-10-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-12-0x0000000002A20000-0x0000000002A52000-memory.dmp

memory/2312-13-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\CT0XRUPP30DE2DFCDUGW.temp

MD5 926549a8beea9894b6da75f2f31573c5
SHA1 74fdcfd812eb55c1f4f048e42aa2a2865fc535ce
SHA256 ca5744a3337f884f25a8c7bf592977635e61cbab47548b18f58992765c769320
SHA512 dc9cdfbe78529465f44497bb37f5c4227cda0cf5070699bc5cf494172491718a17e549c8b0833ea3856637551319891e6ef93ef3319975108c81a6e9f1ef7c58

memory/2312-16-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-17-0x000007FEF628E000-0x000007FEF628F000-memory.dmp

memory/2312-18-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-19-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-20-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp

memory/2312-23-0x000007FEF5FD0000-0x000007FEF696D000-memory.dmp