Malware Analysis Report

2025-08-10 19:35

Sample ID 231115-v9rzlaec9z
Target 16112023_0141_15112023_Invoice#2356876431_8X.ps1
SHA256 0979a391997dc0b6bdf23949b5f99ea2ef1cf51287c63b7332bbd498e5cf9514
Tags
asyncrat zgrat sended@ rat
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

0979a391997dc0b6bdf23949b5f99ea2ef1cf51287c63b7332bbd498e5cf9514

Threat Level: Known bad

The file 16112023_0141_15112023_Invoice#2356876431_8X.ps1 was found to be: Known bad.

Malicious Activity Summary

asyncrat zgrat sended@ rat

Detect ZGRat V1

ZGRat

AsyncRat

Async RAT payload

Checks computer location settings

Suspicious use of SetThreadContext

Drops file in System32 directory

Enumerates physical storage devices

Suspicious behavior: EnumeratesProcesses

Suspicious use of WriteProcessMemory

Uses Task Scheduler COM API

Suspicious use of SetWindowsHookEx

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2023-11-15 17:41

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2023-11-15 17:41

Reported

2023-11-15 17:44

Platform

win7-20231023-en

Max time kernel

128s

Max time network

122s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\16112023_0141_15112023_Invoice#2356876431_8X.ps1

Signatures

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\System32\%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell\Windows PowerShell.lnk C:\Windows\System32\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\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
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Uses Task Scheduler COM API

persistence

Processes

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

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\16112023_0141_15112023_Invoice#2356876431_8X.ps1

C:\Windows\system32\taskeng.exe

taskeng.exe {1C29B10E-5BA0-49AA-B990-2D5E8C044E9C} S-1-5-21-3618187007-3650799920-3290345941-1000:BPDFUYWR\Admin:Interactive:[1]

C:\Windows\System32\WScript.exe

C:\Windows\System32\WScript.exe "C:\Users\Public\Conted.vbs"

C:\Windows\System32\cmd.exe

cmd /c ""C:\Users\Public\Conted.bat" "

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

powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "& 'C:\Users\Public\Conted.ps1'"

Network

N/A

Files

memory/2368-4-0x000000001B350000-0x000000001B632000-memory.dmp

memory/2368-5-0x0000000002150000-0x0000000002158000-memory.dmp

memory/2368-6-0x000007FEF52B0000-0x000007FEF5C4D000-memory.dmp

memory/2368-7-0x0000000002920000-0x00000000029A0000-memory.dmp

memory/2368-8-0x000007FEF52B0000-0x000007FEF5C4D000-memory.dmp

memory/2368-9-0x0000000002920000-0x00000000029A0000-memory.dmp

memory/2368-10-0x0000000002920000-0x00000000029A0000-memory.dmp

memory/2368-14-0x000007FEF52B0000-0x000007FEF5C4D000-memory.dmp

C:\Users\Public\Conted.vbs

MD5 110da9d3474ba64fa1a18c173685c25d
SHA1 9f093829518a9268bf9807fda7bef47e7832c497
SHA256 a31dbd6f7416f150403c19be69f02d5e8608f5e7fae88a29831d40db15849b60
SHA512 ef5fb4415fbd12e633ad964ca132ac3be81bfacd489db788b86fc7ef245d6f51bc08faecaf24874649d0c754b1892075a28042bf8483ab85b1996a25cfa57443

C:\Users\Public\Conted.bat

MD5 759278dd3dc3679bf7efd1ec681c0aa1
SHA1 72b37494696deea940ac75b4c4e06e2b6ce419ef
SHA256 cba344447d8228d88c93d64ffdcda1de8562ef41adc4901191548e00bbfc5f19
SHA512 8b4f63354c5aa1ec4102e7aadbb2da34b2a0ba2d3ae6b8d22a70fd75c3c3b9e70cd4ce8128bd50cb400970697c49810c4ef69f96352e36ba4f2b7a647ab8a27f

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

MD5 2113bd123bfbbc45fde3ae97f7e9ff10
SHA1 d9c8afa1cc5e816578d80de4a7055b3a5e3d80c3
SHA256 2534810eca9d74ad279fc3735cfbefade94170f3760f8b6ede93494489082c4f
SHA512 31ae9deb5b2f97169dbb95a46e550df59f2c92928f589257fed909a49b3c46ec963d5a70f5916c785e87a66c3746d1440c58c3011510dfc5c5cc02d3b4c3e8f7

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

MD5 0cdecc671fafd6a163b3133fc80d572a
SHA1 60866b8f0ac098dc47f35cc0b5a3412da2c76856
SHA256 993ed93176ea7fcff8de7b6328b4b0ff6e43fd747c0fa4d9bb8423f17539137f
SHA512 e15c041681ee6ad4aac4b1d79a92726b721d3122afb5ee06bce88fb8b7e91cecba1ec161b229ffa1d473fd4079d5f0fe481e6703fcbd3184ff7ad8721da5b735

memory/2556-22-0x000007FEF4910000-0x000007FEF52AD000-memory.dmp

memory/2556-24-0x000000001B1B0000-0x000000001B492000-memory.dmp

memory/2556-23-0x00000000025A0000-0x0000000002620000-memory.dmp

memory/2556-25-0x000007FEF4910000-0x000007FEF52AD000-memory.dmp

memory/2556-28-0x0000000002560000-0x0000000002568000-memory.dmp

memory/2556-27-0x00000000025A0000-0x0000000002620000-memory.dmp

memory/2556-26-0x00000000025A0000-0x0000000002620000-memory.dmp

memory/2556-29-0x00000000025A0000-0x0000000002620000-memory.dmp

C:\Users\Public\Conted.ps1

MD5 ba03b4e7a4ad2bd4a2f5bce388d8f489
SHA1 f71681ee8115d4349084ad5c26e790a926bbea84
SHA256 d6b98f02b41a30cd4578acfd549e2d6fe64036f00c1830193d342c0454068b5a
SHA512 6dc307567baa0a1def8b9e480477985ccbdb7e5628c4d972a5804b282006d0717ddd728c449f8fbfcd2669a1a868c516d5924ab3a1f3d1b8e4bd1272fc04c665

memory/2556-31-0x000007FEF4910000-0x000007FEF52AD000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2023-11-15 17:41

Reported

2023-11-15 17:44

Platform

win10v2004-20231023-en

Max time kernel

150s

Max time network

155s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\16112023_0141_15112023_Invoice#2356876431_8X.ps1

Signatures

AsyncRat

rat asyncrat

Detect ZGRat V1

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

ZGRat

rat zgrat

Async RAT payload

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

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3125601242-331447593-1512828465-1000\Control Panel\International\Geo\Nation C:\Windows\System32\WScript.exe N/A

Suspicious use of SetThreadContext

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

Enumerates physical storage devices

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\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2316 wrote to memory of 3904 N/A C:\Windows\System32\WScript.exe C:\Windows\system32\cmd.exe
PID 2316 wrote to memory of 3904 N/A C:\Windows\System32\WScript.exe C:\Windows\system32\cmd.exe
PID 3904 wrote to memory of 4660 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 3904 wrote to memory of 4660 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
PID 4660 wrote to memory of 1688 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe

Uses Task Scheduler COM API

persistence

Processes

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

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\16112023_0141_15112023_Invoice#2356876431_8X.ps1

C:\Windows\System32\WScript.exe

C:\Windows\System32\WScript.exe "C:\Users\Public\Conted.vbs"

C:\Windows\system32\cmd.exe

C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Conted.bat" "

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

powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "& 'C:\Users\Public\Conted.ps1'"

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

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

Network

Country Destination Domain Proto
US 8.8.8.8:53 71.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 158.240.127.40.in-addr.arpa udp
US 8.8.8.8:53 254.20.238.8.in-addr.arpa udp
US 8.8.8.8:53 198.52.96.20.in-addr.arpa udp
US 8.8.8.8:53 155.245.36.23.in-addr.arpa udp
US 8.8.8.8:53 133.32.126.40.in-addr.arpa udp
US 8.8.8.8:53 2.136.104.51.in-addr.arpa udp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 56.126.166.20.in-addr.arpa udp
US 8.8.8.8:53 26.35.223.20.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
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 254.210.247.8.in-addr.arpa udp
US 8.8.8.8:53 66.112.168.52.in-addr.arpa udp
US 8.8.8.8:53 hexrxr.duckdns.org udp
FR 185.81.157.213:8808 hexrxr.duckdns.org tcp
US 8.8.8.8:53 213.157.81.185.in-addr.arpa udp

Files

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_q5hwxby2.y24.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/1780-9-0x0000014E697D0000-0x0000014E697F2000-memory.dmp

memory/1780-10-0x00007FFDD7E30000-0x00007FFDD88F1000-memory.dmp

memory/1780-11-0x0000014E68FE0000-0x0000014E68FF0000-memory.dmp

memory/1780-12-0x0000014E68FE0000-0x0000014E68FF0000-memory.dmp

memory/1780-18-0x00007FFDD7E30000-0x00007FFDD88F1000-memory.dmp

C:\Users\Public\Conted.vbs

MD5 110da9d3474ba64fa1a18c173685c25d
SHA1 9f093829518a9268bf9807fda7bef47e7832c497
SHA256 a31dbd6f7416f150403c19be69f02d5e8608f5e7fae88a29831d40db15849b60
SHA512 ef5fb4415fbd12e633ad964ca132ac3be81bfacd489db788b86fc7ef245d6f51bc08faecaf24874649d0c754b1892075a28042bf8483ab85b1996a25cfa57443

C:\Users\Public\Conted.bat

MD5 759278dd3dc3679bf7efd1ec681c0aa1
SHA1 72b37494696deea940ac75b4c4e06e2b6ce419ef
SHA256 cba344447d8228d88c93d64ffdcda1de8562ef41adc4901191548e00bbfc5f19
SHA512 8b4f63354c5aa1ec4102e7aadbb2da34b2a0ba2d3ae6b8d22a70fd75c3c3b9e70cd4ce8128bd50cb400970697c49810c4ef69f96352e36ba4f2b7a647ab8a27f

C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

MD5 2f57fde6b33e89a63cf0dfdd6e60a351
SHA1 445bf1b07223a04f8a159581a3d37d630273010f
SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
SHA512 42857c5f111bfa163e9f4ea6b81a42233d0bbb0836ecc703ce7e8011b6f8a8eca761f39adc3ed026c9a2f99206d88bab9bddb42da9113e478a31a6382af5c220

memory/4660-22-0x00007FFDD78B0000-0x00007FFDD8371000-memory.dmp

memory/4660-23-0x000002D75B540000-0x000002D75B550000-memory.dmp

memory/4660-24-0x000002D75B540000-0x000002D75B550000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

MD5 58b97594c4d764d5d99a459fbee0fd33
SHA1 4d1f8f4f5bbf87a6ea3ae7b7be623542377365da
SHA256 8001b17515105615ae767a048f98b1c1d211130f7c8c7e9bb585cf063b0c6db2
SHA512 874c700052930cfc7bc99e3e0353bf3a3891e45854df7982f73a2fa4d8a60546d683fae0163104e047991955d7d6b8950447be83a93d99ae9d9931a1e13e3cf7

C:\Users\Public\Conted.ps1

MD5 ba03b4e7a4ad2bd4a2f5bce388d8f489
SHA1 f71681ee8115d4349084ad5c26e790a926bbea84
SHA256 d6b98f02b41a30cd4578acfd549e2d6fe64036f00c1830193d342c0454068b5a
SHA512 6dc307567baa0a1def8b9e480477985ccbdb7e5628c4d972a5804b282006d0717ddd728c449f8fbfcd2669a1a868c516d5924ab3a1f3d1b8e4bd1272fc04c665

memory/4660-36-0x000002D75B480000-0x000002D75B49A000-memory.dmp

memory/1688-37-0x0000000000400000-0x0000000000416000-memory.dmp

memory/4660-39-0x00007FFDD78B0000-0x00007FFDD8371000-memory.dmp

memory/1688-40-0x0000000074D20000-0x00000000754D0000-memory.dmp

memory/1688-41-0x0000000002780000-0x0000000002790000-memory.dmp

memory/1688-42-0x00000000056D0000-0x0000000005C74000-memory.dmp

memory/1688-43-0x0000000005310000-0x00000000053A2000-memory.dmp

memory/1688-44-0x00000000054B0000-0x00000000054BA000-memory.dmp

memory/1688-45-0x0000000005DC0000-0x0000000005E5C000-memory.dmp

memory/1688-46-0x0000000005E60000-0x0000000005EC6000-memory.dmp