Malware Analysis Report

2025-08-05 08:55

Sample ID 250108-jh321azqbs
Target ab733235a722c734fb8f19160825cef1.ps1
SHA256 32e6d8538c6b1d47942918cef259a80e70f06feb0145d6e41d44ec5917435391
Tags
execution amadey 26467e discovery trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

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

32e6d8538c6b1d47942918cef259a80e70f06feb0145d6e41d44ec5917435391

Threat Level: Known bad

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

Malicious Activity Summary

execution amadey 26467e discovery trojan

Amadey

Amadey family

Suspicious use of SetThreadContext

Command and Scripting Interpreter: PowerShell

System Location Discovery: System Language Discovery

Gathers network information

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Checks processor information in registry

Enumerates system info in registry

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2025-01-08 07:41

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2025-01-08 07:41

Reported

2025-01-08 07:43

Platform

win7-20240903-en

Max time kernel

117s

Max time network

117s

Command Line

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

Signatures

Command and Scripting Interpreter: PowerShell

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

Gathers network information

Description Indicator Process Target
N/A N/A C:\Windows\system32\ipconfig.exe N/A

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\ab733235a722c734fb8f19160825cef1.ps1

C:\Windows\system32\ipconfig.exe

"C:\Windows\system32\ipconfig.exe" /flushdns

Network

N/A

Files

memory/2540-4-0x000007FEF5EFE000-0x000007FEF5EFF000-memory.dmp

memory/2540-5-0x000000001B5F0000-0x000000001B8D2000-memory.dmp

memory/2540-6-0x0000000002390000-0x0000000002398000-memory.dmp

memory/2540-7-0x000007FEF5C40000-0x000007FEF65DD000-memory.dmp

memory/2540-8-0x000007FEF5C40000-0x000007FEF65DD000-memory.dmp

memory/2540-9-0x000007FEF5C40000-0x000007FEF65DD000-memory.dmp

memory/2540-10-0x0000000002B00000-0x0000000002B1A000-memory.dmp

memory/2540-11-0x000007FEF5C40000-0x000007FEF65DD000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2025-01-08 07:41

Reported

2025-01-08 07:43

Platform

win10v2004-20241007-en

Max time kernel

94s

Max time network

143s

Command Line

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

Signatures

Amadey

trojan amadey

Amadey family

amadey

Suspicious use of SetThreadContext

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

Command and Scripting Interpreter: PowerShell

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

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe N/A

Checks processor information in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString C:\Windows\system32\wermgr.exe N/A

Enumerates system info in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU C:\Windows\system32\wermgr.exe N/A

Gathers network information

Description Indicator Process Target
N/A N/A C:\Windows\system32\ipconfig.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\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 1284 wrote to memory of 2808 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\ipconfig.exe
PID 1284 wrote to memory of 2808 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\ipconfig.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 4868 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 1284 wrote to memory of 2668 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wermgr.exe
PID 1284 wrote to memory of 2668 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wermgr.exe

Processes

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

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

C:\Windows\system32\ipconfig.exe

"C:\Windows\system32\ipconfig.exe" /flushdns

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

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

C:\Windows\system32\wermgr.exe

"C:\Windows\system32\wermgr.exe" "-outproc" "0" "1284" "2200" "2116" "2204" "0" "0" "2208" "0" "0" "0" "0" "0"

Network

Country Destination Domain Proto
US 8.8.8.8:53 58.55.71.13.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 64.159.190.20.in-addr.arpa udp
RU 176.113.115.131:80 tcp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 232.168.11.51.in-addr.arpa udp
RU 176.113.115.131:80 tcp
US 8.8.8.8:53 53.210.109.20.in-addr.arpa udp
US 8.8.8.8:53 18.31.95.13.in-addr.arpa udp
US 8.8.8.8:53 60.153.16.2.in-addr.arpa udp
US 8.8.8.8:53 22.236.111.52.in-addr.arpa udp

Files

memory/1284-0-0x00007FF98C823000-0x00007FF98C825000-memory.dmp

memory/1284-1-0x0000023D617F0000-0x0000023D61812000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ng3uqmme.c0r.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/1284-11-0x00007FF98C820000-0x00007FF98D2E1000-memory.dmp

memory/1284-12-0x00007FF98C820000-0x00007FF98D2E1000-memory.dmp

memory/1284-13-0x0000023D61630000-0x0000023D6164A000-memory.dmp

memory/1284-14-0x0000023D615B0000-0x0000023D615B6000-memory.dmp

memory/4868-15-0x0000000000400000-0x0000000000473000-memory.dmp

memory/4868-16-0x0000000000400000-0x0000000000473000-memory.dmp

memory/4868-17-0x0000000000400000-0x0000000000473000-memory.dmp

memory/1284-18-0x00007FF98C820000-0x00007FF98D2E1000-memory.dmp

memory/1284-19-0x00007FF98C820000-0x00007FF98D2E1000-memory.dmp

memory/4868-20-0x0000000000400000-0x0000000000473000-memory.dmp

memory/4868-21-0x0000000000400000-0x0000000000473000-memory.dmp

memory/1284-30-0x00007FF98C820000-0x00007FF98D2E1000-memory.dmp