Malware Analysis Report

2024-11-16 13:30

Sample ID 240621-t6lgzaxgrb
Target EBCSetup.exe
SHA256 5d1bfc47e876af6de671773be3cf73242857025853199bd687df63d5704639f7
Tags
xworm execution persistence rat 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 Overview

score
10/10

SHA256

5d1bfc47e876af6de671773be3cf73242857025853199bd687df63d5704639f7

Threat Level: Known bad

The file EBCSetup.exe was found to be: Known bad.

Malicious Activity Summary

xworm execution persistence rat trojan

Detect Xworm Payload

Xworm family

Xworm

Command and Scripting Interpreter: PowerShell

Drops startup file

Checks computer location settings

Executes dropped EXE

Adds Run key to start application

Looks up external IP address via web service

Unsigned PE

Enumerates physical storage devices

Uses Task Scheduler COM API

Suspicious use of SetWindowsHookEx

Suspicious use of AdjustPrivilegeToken

Scheduled Task/Job: Scheduled Task

Suspicious behavior: EnumeratesProcesses

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-06-21 16:40

Signatures

Detect Xworm Payload

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

Xworm family

xworm

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-21 16:40

Reported

2024-06-21 17:10

Platform

win10v2004-20240508-en

Max time kernel

1774s

Max time network

1781s

Command Line

"C:\Users\Admin\AppData\Local\Temp\EBCSetup.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

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3558294865-3673844354-2255444939-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeBroker.lnk C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeBroker.lnk C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3558294865-3673844354-2255444939-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\RuntimeBroker = "C:\\Users\\Admin\\AppData\\Roaming\\RuntimeBroker.exe" C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Scheduled Task/Job: Scheduled Task

persistence execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\EBCSetup.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\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:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe N/A

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe

"C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe"

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\EBCSetup.exe'

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

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

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

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe'

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

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

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "RuntimeBroker" /tr "C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe"

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

C:\Users\Admin\AppData\Roaming\RuntimeBroker.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 ip-api.com udp
US 8.8.8.8:53 bulletingmarrano-44370.portmap.io udp

Files

memory/2164-0-0x00007FFDEBC23000-0x00007FFDEBC25000-memory.dmp

memory/2164-1-0x00000000005D0000-0x00000000005EA000-memory.dmp

memory/2164-2-0x00007FFDEBC20000-0x00007FFDEC6E1000-memory.dmp

memory/4716-3-0x00007FFDEBC20000-0x00007FFDEC6E1000-memory.dmp

memory/4716-4-0x00000283E99F0000-0x00000283E9A12000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_cjl2wqmo.ldf.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4716-14-0x00007FFDEBC20000-0x00007FFDEC6E1000-memory.dmp

memory/4716-15-0x00007FFDEBC20000-0x00007FFDEC6E1000-memory.dmp

memory/4716-18-0x00007FFDEBC20000-0x00007FFDEC6E1000-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

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

MD5 a7cc007980e419d553568a106210549a
SHA1 c03099706b75071f36c3962fcc60a22f197711e0
SHA256 a5735921fc72189c8bf577f3911486cf031708dc8d6bc764fe3e593c0a053165
SHA512 b9aaf29403c467daef80a1ae87478afc33b78f4e1ca16189557011bb83cf9b3e29a0f85c69fa209c45201fb28baca47d31756eee07b79c6312c506e8370f7666

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

MD5 920bdb81f5a5c6fc3e7aa6a7d8dd0c53
SHA1 e77ffcaac9480af6b431c3596437f20b2d930cdc
SHA256 70d8623bb7e7d585b6e2a49d9d4c45531f39a082ff757072cbbbe3ddbc0b17a4
SHA512 3d9f1bc73944003ac33daf0048ea34f10d0f36cd57075dc3e9df4ef96def25c7c86551cefcc291ba4a5d9e9a75b59a8d20e016f93d4cbee3f03ffd9d7c2fac4f

memory/2164-57-0x00007FFDEBC20000-0x00007FFDEC6E1000-memory.dmp

C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe

MD5 709e1b373849c1e3f5acb80c68f643e3
SHA1 ae4b1874dcfe79f634da83384497a5a02d67e1c8
SHA256 5d1bfc47e876af6de671773be3cf73242857025853199bd687df63d5704639f7
SHA512 f6e9d3a0f9bad7bf9f609bcd984f28a02bcfb733b519fb9bced845ba2d0caf2fdeb9d6e08994ebabb6e4a869be622426eed778f5b3f64beb39fe3a7d2b8d788d

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

MD5 2ff39f6c7249774be85fd60a8f9a245e
SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1