Malware Analysis Report

2024-09-11 13:45

Sample ID 240614-c4jrxsscrb
Target a71aaa9e10f9dc8701c208df3832a3b8.bin
SHA256 c8553c891fbe97b0d5ff24a278540e019daac48c72da39a73f6e530a4ba16324
Tags
xworm execution rat trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

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

c8553c891fbe97b0d5ff24a278540e019daac48c72da39a73f6e530a4ba16324

Threat Level: Known bad

The file a71aaa9e10f9dc8701c208df3832a3b8.bin was found to be: Known bad.

Malicious Activity Summary

xworm execution rat trojan

Xworm

Detect Xworm Payload

Command and Scripting Interpreter: PowerShell

Checks computer location settings

Executes dropped EXE

Legitimate hosting services abused for malware hosting/C2

Drops file in System32 directory

Enumerates physical storage devices

Unsigned PE

Suspicious use of AdjustPrivilegeToken

Suspicious use of SetWindowsHookEx

Suspicious behavior: EnumeratesProcesses

Suspicious use of WriteProcessMemory

Uses Task Scheduler COM API

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-14 02:37

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-14 02:37

Reported

2024-06-14 02:40

Platform

win7-20240220-en

Max time kernel

141s

Max time network

147s

Command Line

"C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe"

Signatures

Detect Xworm Payload

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

Xworm

trojan rat xworm

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\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\System32\svchost‌.exe N/A

Legitimate hosting services abused for malware hosting/C2

Description Indicator Process Target
N/A 8.tcp.ngrok.io N/A N/A
N/A 8.tcp.ngrok.io N/A N/A
N/A 8.tcp.ngrok.io N/A N/A

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
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
File created C:\Windows\System32\svchost‌.exe C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe N/A
File opened for modification C:\Windows\System32\svchost‌.exe C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe N/A

Enumerates physical storage devices

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
N/A N/A C:\Windows\System32\svchost‌.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\svchost‌.exe N/A
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\System32\svchost‌.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\System32\svchost‌.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1992 wrote to memory of 2880 N/A C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe C:\Windows\system32\schtasks.exe
PID 1992 wrote to memory of 2880 N/A C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe C:\Windows\system32\schtasks.exe
PID 1992 wrote to memory of 2880 N/A C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe C:\Windows\system32\schtasks.exe
PID 2616 wrote to memory of 2552 N/A C:\Windows\system32\taskeng.exe C:\Windows\System32\svchost‌.exe
PID 2616 wrote to memory of 2552 N/A C:\Windows\system32\taskeng.exe C:\Windows\System32\svchost‌.exe
PID 2616 wrote to memory of 2552 N/A C:\Windows\system32\taskeng.exe C:\Windows\System32\svchost‌.exe
PID 2552 wrote to memory of 2556 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2552 wrote to memory of 2556 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2552 wrote to memory of 2556 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2552 wrote to memory of 2392 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2552 wrote to memory of 2392 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2552 wrote to memory of 2392 N/A C:\Windows\System32\svchost‌.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe

"C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe"

C:\Windows\system32\schtasks.exe

schtasks /run /TN Update

C:\Windows\system32\taskeng.exe

taskeng.exe {3342A362-33A4-400D-974D-726DF85656A1} S-1-5-21-2721934792-624042501-2768869379-1000:BISMIZHX\Admin:Interactive:[1]

C:\Windows\System32\svchost‌.exe

C:\Windows\System32\svchost‌.exe

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\System32\svchost‌.exe'

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svchost‌.exe'

Network

Country Destination Domain Proto
US 8.8.8.8:53 drive.usercontent.google.com udp
GB 142.250.179.225:443 drive.usercontent.google.com tcp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 3.19.130.43:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp

Files

memory/1992-0-0x000007FEF5383000-0x000007FEF5384000-memory.dmp

memory/1992-1-0x0000000000F90000-0x0000000000FD6000-memory.dmp

C:\Windows\System32\svchost‌.exe

MD5 3104737e86d59919380e95c5d85a624d
SHA1 a0190f12732a7b95d84d5b3da3257815b8e6af46
SHA256 96595ae66b99cd392d0aa69da8ed7ad69affcdf0731e785bcc474c33b5094773
SHA512 c79243de42003879557c0f281588573df8887fcaef747b0fc2bda056c1650c0c9a30400a3c037e767a53dc5ae1de715b39256547bf9005fd75fef6f11bc0eca9

memory/2552-7-0x0000000000180000-0x0000000000198000-memory.dmp

memory/2556-12-0x000000001B7B0000-0x000000001BA92000-memory.dmp

memory/2556-13-0x0000000002770000-0x0000000002778000-memory.dmp

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

MD5 48a7a81810edb39e0563413e575985c1
SHA1 079c95ced560a6d76846f856aab6dfd53929c933
SHA256 711f344da74ce07f7496d3aae59ffef2552903e572e447226d85c0953d34d036
SHA512 3c7f41f81013b4e2584b994228ac84e646be933b01417a2b464caaffe250ed7ea5993524af86c38aff55dae8ee89e241def7be222efeddc61b8e5c857d4614df

memory/2392-19-0x000000001B700000-0x000000001B9E2000-memory.dmp

memory/2392-20-0x0000000001DF0000-0x0000000001DF8000-memory.dmp

memory/2552-21-0x000007FEF4990000-0x000007FEF537C000-memory.dmp

memory/2552-22-0x000007FEF4993000-0x000007FEF4994000-memory.dmp

memory/2552-23-0x000007FEF4990000-0x000007FEF537C000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-14 02:37

Reported

2024-06-14 02:40

Platform

win10v2004-20240611-en

Max time kernel

148s

Max time network

154s

Command Line

"C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe"

Signatures

Detect Xworm Payload

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

Xworm

trojan rat xworm

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\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3169499791-3545231813-3156325206-1000\Control Panel\International\Geo\Nation C:\Windows\System32\svchost‌.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\System32\svchost‌.exe N/A

Legitimate hosting services abused for malware hosting/C2

Description Indicator Process Target
N/A 8.tcp.ngrok.io N/A N/A
N/A 8.tcp.ngrok.io N/A N/A
N/A 8.tcp.ngrok.io N/A N/A

Drops file in System32 directory

Description Indicator Process Target
File created C:\Windows\System32\svchost‌.exe C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe N/A
File opened for modification C:\Windows\System32\svchost‌.exe C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\svchost‌.exe N/A
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\System32\svchost‌.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\System32\svchost‌.exe N/A

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe

"C:\Users\Admin\AppData\Local\Temp\7761d76284feb79783d96c62b2088d14b39d9f5b485b429f2c0f69d081201629.exe"

C:\Windows\SYSTEM32\schtasks.exe

schtasks /run /TN Update

C:\Windows\System32\svchost‌.exe

C:\Windows\System32\svchost‌.exe

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\System32\svchost‌.exe'

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svchost‌.exe'

Network

Country Destination Domain Proto
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 73.159.190.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 237.197.79.204.in-addr.arpa udp
NL 23.62.61.97:443 www.bing.com tcp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
US 8.8.8.8:53 97.61.62.23.in-addr.arpa udp
US 8.8.8.8:53 drive.usercontent.google.com udp
GB 142.250.179.225:443 drive.usercontent.google.com tcp
US 8.8.8.8:53 225.179.250.142.in-addr.arpa udp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 183.59.114.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 31.121.18.2.in-addr.arpa udp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 198.121.18.2.in-addr.arpa udp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 30.243.111.52.in-addr.arpa udp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 3.142.167.54:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 8.tcp.ngrok.io udp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 13.58.157.220:11208 8.tcp.ngrok.io tcp
US 8.8.8.8:53 25.73.42.20.in-addr.arpa udp

Files

memory/5056-0-0x00007FFB5BAB0000-0x00007FFB5BCA5000-memory.dmp

memory/5056-1-0x0000000000F90000-0x0000000000FD6000-memory.dmp

memory/5056-5-0x00007FFB5BAB0000-0x00007FFB5BCA5000-memory.dmp

C:\Windows\System32\svchost‌.exe

MD5 3104737e86d59919380e95c5d85a624d
SHA1 a0190f12732a7b95d84d5b3da3257815b8e6af46
SHA256 96595ae66b99cd392d0aa69da8ed7ad69affcdf0731e785bcc474c33b5094773
SHA512 c79243de42003879557c0f281588573df8887fcaef747b0fc2bda056c1650c0c9a30400a3c037e767a53dc5ae1de715b39256547bf9005fd75fef6f11bc0eca9

memory/1464-8-0x00007FFB5BAB0000-0x00007FFB5BCA5000-memory.dmp

memory/1464-9-0x0000000000E70000-0x0000000000E88000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1xl0ce5q.tko.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4948-19-0x000001D6B9DA0000-0x000001D6B9DC2000-memory.dmp

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

MD5 d85ba6ff808d9e5444a4b369f5bc2730
SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

MD5 77d622bb1a5b250869a3238b9bc1402b
SHA1 d47f4003c2554b9dfc4c16f22460b331886b191b
SHA256 f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
SHA512 d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9

memory/1464-34-0x00007FFB5BAB0000-0x00007FFB5BCA5000-memory.dmp

memory/1464-35-0x00007FFB5BAB0000-0x00007FFB5BCA5000-memory.dmp