Analysis
- max time kernel
150s - max time network
152s - platform
windows10-2004_x64 - resource
win10v2004-20240426-en - resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system - submitted
28/05/2024, 09:36
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win7-20240508-en
15 signatures
150 seconds
Behavioral task
behavioral2
Sample
XClient.exe
Resource
win10v2004-20240426-en
16 signatures
150 seconds
General
- Target XClient.exe
- Size 238KB
- Sample240528-llb4ssfd27
- SHA256 ea4f53c53702abac24804d4cc21275147b4534e2d243fd5b040c056161b4f59b
- MD5 4ef596fd9602c129462a1df1a62bfab4
- SHA1 77f43ec4b19a876d9f025a1b157162dd94182d22
- SHA512 082d839e7264043a549f10d6ee1056aaac2ded2d1a269b9a4d3828e30cee3921cb283d1d44c64b359f4c3ac58618a050958d8ffd1cf67e1568a91fe04eaebbf2
- SSDEEP 3072:PwmBib22IeHbOXT928SKfbzxcwg7es6/Vsb8VKTu549oJMfF/H9N3Ky9NzLnP:Pob1TH42UhcX7elbKTua9bfF/H9d9n
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
xworm
C2
-
0.tcp.eu.ngrok.io:14859
Attributes
-
Install_directory
%AppData%
-
install_file
svhost.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/1164-1-0x0000000000670000-0x00000000006B0000-memory.dmp family_xworm behavioral2/files/0x000c0000000233eb-60.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 4348 powershell.exe 644 powershell.exe 512 powershell.exe 4480 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-3571316656-3665257725-2415531812-1000\Control Panel\International\Geo\Nation XClient.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svhost.lnk XClient.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svhost.lnk XClient.exe - Executes dropped EXE 2 IoCs
pid Process 2832 svhost.exe 1224 svhost.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3571316656-3665257725-2415531812-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svhost = "C:\\Users\\Admin\\AppData\\Roaming\\svhost.exe" XClient.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
flow ioc 22 0.tcp.eu.ngrok.io - 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 13 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1648 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 4348 powershell.exe 4348 powershell.exe 644 powershell.exe 644 powershell.exe 512 powershell.exe 512 powershell.exe 4480 powershell.exe 4480 powershell.exe 1164 XClient.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 1164 XClient.exe Token: SeDebugPrivilege 4348 powershell.exe Token: SeDebugPrivilege 644 powershell.exe Token: SeDebugPrivilege 512 powershell.exe Token: SeDebugPrivilege 4480 powershell.exe Token: SeDebugPrivilege 1164 XClient.exe Token: SeDebugPrivilege 2832 svhost.exe Token: SeDebugPrivilege 1224 svhost.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1164 XClient.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 1164 wrote to memory of 4348 1164 XClient.exe 87 PID 1164 wrote to memory of 4348 1164 XClient.exe 87 PID 1164 wrote to memory of 644 1164 XClient.exe 92 PID 1164 wrote to memory of 644 1164 XClient.exe 92 PID 1164 wrote to memory of 512 1164 XClient.exe 94 PID 1164 wrote to memory of 512 1164 XClient.exe 94 PID 1164 wrote to memory of 4480 1164 XClient.exe 96 PID 1164 wrote to memory of 4480 1164 XClient.exe 96 PID 1164 wrote to memory of 1648 1164 XClient.exe 99 PID 1164 wrote to memory of 1648 1164 XClient.exe 99 - 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\XClient.exe"C:\Users\Admin\AppData\Local\Temp\XClient.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:1164 -
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\XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4348
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:644
-
-
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\svhost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:512
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svhost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4480
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svhost" /tr "C:\Users\Admin\AppData\Roaming\svhost.exe"2⤵
- Creates scheduled task(s)
PID:1648
-
-
C:\Users\Admin\AppData\Roaming\svhost.exeC:\Users\Admin\AppData\Roaming\svhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2832
-
C:\Users\Admin\AppData\Roaming\svhost.exeC:\Users\Admin\AppData\Roaming\svhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1224
Network
MITRE ATT&CK Enterprise v15
Replay 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\CLR_v4.0\UsageLogs\svhost.exe.log
- Size 654B
- SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
- MD5 2ff39f6c7249774be85fd60a8f9a245e
- SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
- SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 c660f0db85a1e7f0f68db19868979bf50bd541531babf77a701e1b1ce5e6a391
- MD5 e448fe0d240184c6597a31d3be2ced58
- SHA1 372b8d8c19246d3e38cd3ba123cc0f56070f03cd
- SHA512 0b7f7eae7700d32b18eee3677cb7f89b46ace717fa7e6b501d6c47d54f15dff7e12b49f5a7d36a6ffe4c16165c7d55162db4f3621db545b6af638035752beab4
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 9e94e7c9ac6134ee30e79498558aa1a5a1ac79a643666c3f8922eed215dd3a98
- MD5 eb1ad317bd25b55b2bbdce8a28a74a94
- SHA1 98a3978be4d10d62e7411946474579ee5bdc5ea6
- SHA512 d011f266c0240d84470c0f9577cd9e4927309bd19bb38570ca9704ed8e1d159f9bea982a59d3eefef72ce7a10bd81208b82e88ef57c7af587f7437a89769adc0
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 376a826ddf8334d1915f59e85a09ed0d951ab952bf09364148349320c18c044c
- MD5 56b6347d620b998ae20075494ac7b1e1
- SHA1 ffa1da29c41ac2f64193de584b1c849424de08c1
- SHA512 9b8847de9dae6113c6ebfad4d0c557364a9b2f5a30ea3a9f4b7f56c0c44aaa08fb8309884eaf8ef06cc0d1f2378782ea06e04cbbe63bf7eb9d27572984f6ce43
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4fgxo0at.j1k.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\svhost.exe
- Size 238KB
- SHA256 ea4f53c53702abac24804d4cc21275147b4534e2d243fd5b040c056161b4f59b
- MD5 4ef596fd9602c129462a1df1a62bfab4
- SHA1 77f43ec4b19a876d9f025a1b157162dd94182d22
- SHA512 082d839e7264043a549f10d6ee1056aaac2ded2d1a269b9a4d3828e30cee3921cb283d1d44c64b359f4c3ac58618a050958d8ffd1cf67e1568a91fe04eaebbf2
- SSDEEP 3072:PwmBib22IeHbOXT928SKfbzxcwg7es6/Vsb8VKTu549oJMfF/H9N3Ky9NzLnP:Pob1TH42UhcX7elbKTua9bfF/H9d9n
- MD5 SHA1 SHA512 SSDEEP