Analysis
- max time kernel
99s - max time network
107s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
20/06/2024, 17:22
Behavioral task
behavioral1
Sample
infected.exe
Resource
win10v2004-20240508-en
General
- Target infected.exe
- Size 76KB
- Sample240620-vxtbwstark
- SHA256 a0f69b466322e4b95af9d008e4ee9e758dedb3b27a5c6a50d4361ccdd88c3ae1
- MD5 a1afaea404e9f505c06b6ceaf087bad6
- SHA1 f3231b75673922e3dfce1706a3a5587979f04c25
- SHA512 5fa770e23280b31f84dac094243e26b5176697eb4235f67112afde6d82e064278cf42ccea9ab1d236740a87648681ef4c673e06a7e2dee0b8d5c2d0507035dc9
- SSDEEP 1536:xA98LuxE8SsXHwshIi6/C9pAkbGq8neagvtS8d6Q36TjDOmUH3o:xUsux/1HhI1/C1bGR3gvtopjDOmUXo
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
sebeee-39917.portmap.io:39917
-
Install_directory
%AppData%
-
install_file
RuntimeBroker.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/1184-1-0x0000000000530000-0x000000000054A000-memory.dmp family_xworm behavioral1/files/0x000a00000002340f-59.dat family_xworm - Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2696 powershell.exe 1288 powershell.exe 4988 powershell.exe 4432 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2804150937-2146708401-419095071-1000\Control Panel\International\Geo\Nation infected.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeBroker.lnk infected.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeBroker.lnk infected.exe - Executes dropped EXE 1 IoCs
pid Process 440 RuntimeBroker.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2804150937-2146708401-419095071-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\RuntimeBroker = "C:\\Users\\Admin\\AppData\\Roaming\\RuntimeBroker.exe" infected.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 19 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 5032 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 2696 powershell.exe 2696 powershell.exe 1288 powershell.exe 1288 powershell.exe 4988 powershell.exe 4988 powershell.exe 4432 powershell.exe 4432 powershell.exe 1184 infected.exe - Suspicious use of AdjustPrivilegeToken 7 IoCs
description pid Process Token: SeDebugPrivilege 1184 infected.exe Token: SeDebugPrivilege 2696 powershell.exe Token: SeDebugPrivilege 1288 powershell.exe Token: SeDebugPrivilege 4988 powershell.exe Token: SeDebugPrivilege 4432 powershell.exe Token: SeDebugPrivilege 1184 infected.exe Token: SeDebugPrivilege 440 RuntimeBroker.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1184 infected.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 1184 wrote to memory of 2696 1184 infected.exe 90 PID 1184 wrote to memory of 2696 1184 infected.exe 90 PID 1184 wrote to memory of 1288 1184 infected.exe 93 PID 1184 wrote to memory of 1288 1184 infected.exe 93 PID 1184 wrote to memory of 4988 1184 infected.exe 95 PID 1184 wrote to memory of 4988 1184 infected.exe 95 PID 1184 wrote to memory of 4432 1184 infected.exe 97 PID 1184 wrote to memory of 4432 1184 infected.exe 97 PID 1184 wrote to memory of 5032 1184 infected.exe 100 PID 1184 wrote to memory of 5032 1184 infected.exe 100 - Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\infected.exe"C:\Users\Admin\AppData\Local\Temp\infected.exe"1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1184 -
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\infected.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2696
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'infected.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1288
-
-
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'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4988
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'RuntimeBroker.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4432
-
-
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"2⤵
- Scheduled Task/Job: Scheduled Task
PID:5032
-
-
C:\Users\Admin\AppData\Roaming\RuntimeBroker.exeC:\Users\Admin\AppData\Roaming\RuntimeBroker.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:440
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 95d79fd575bbd21540e378fcbc1cd00d16f51af62ce15bae7080bb72c24e2010
- MD5 62623d22bd9e037191765d5083ce16a3
- SHA1 4a07da6872672f715a4780513d95ed8ddeefd259
- SHA512 9a448b7a0d867466c2ea04ab84d2a9485d5fd20ab53b2b854f491831ee3f1d781b94d2635f7b0b35cb9f2d373cd52c67570879a56a42ed66bc9db06962ed4992
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 0c557845aab1da497bbff0e8fbe65cabf4cb2804b97ba8ae8c695a528af70870
- MD5 83685d101174171875b4a603a6c2a35c
- SHA1 37be24f7c4525e17fa18dbd004186be3a9209017
- SHA512 005a97a8e07b1840abdcef86a7881fd9bdc8acbfdf3eafe1dceb6374060626d81d789e57d87ca4096a39e28d5cca00f8945edff0a747591691ae75873d2b3fb5
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 d36c21211f297a74a801881707690fa7a0a0a31addd3c7ba1522275b8848ab50
- MD5 0fd3f36f28a947bdd05f1e05acf24489
- SHA1 cf12e091a80740df2201c5b47049dd231c530ad3
- SHA512 5f132308b06e621aace1091f523649bcb5d1823b478691799791f4154cb96b9897f563eed8ad8db4a03714d815246479372e0920c659eb3fd9006271e58429ee
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_d5h5dcma.thk.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\RuntimeBroker.exe
- Size 76KB
- SHA256 a0f69b466322e4b95af9d008e4ee9e758dedb3b27a5c6a50d4361ccdd88c3ae1
- MD5 a1afaea404e9f505c06b6ceaf087bad6
- SHA1 f3231b75673922e3dfce1706a3a5587979f04c25
- SHA512 5fa770e23280b31f84dac094243e26b5176697eb4235f67112afde6d82e064278cf42ccea9ab1d236740a87648681ef4c673e06a7e2dee0b8d5c2d0507035dc9
- SSDEEP 1536:xA98LuxE8SsXHwshIi6/C9pAkbGq8neagvtS8d6Q36TjDOmUH3o:xUsux/1HhI1/C1bGR3gvtopjDOmUXo
- MD5 SHA1 SHA512 SSDEEP