Analysis
- max time kernel
148s - max time network
124s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
04/06/2024, 15:33
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win7-20240215-en
17 signatures
150 seconds
Behavioral task
behavioral2
Sample
XClient.exe
Resource
win10v2004-20240508-en
15 signatures
150 seconds
General
- Target XClient.exe
- Size 177KB
- Sample240604-szev6scc44
- SHA256 4801097be6fcec7253afab46b3eeb228d1fd42bb80bca2d9f7ecf12555cb6959
- MD5 d2bd07b9fe1c522cf1ab7089dc886a8e
- SHA1 c7a5916c3102f6ec9573cffa2214ce58657cde05
- SHA512 cf8f2884fe66a32ab8aee760ec131caa2a2548d4231b6e6bf9bebe02dcc2447d840ab3afcb027ce3d7783d755285378a2ccbbeaa3c0fd9bda7151fe24d420699
- SSDEEP 3072:cCU2vibdmayxfkOY/ZZJBz65/M6If+3Js+3JFkKeTno:HU2vibd4ojJxBt25
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
xworm
Version
-
3.1
C2
-
127.0.0.1:80
Attributes
-
Install_directory
%AppData%
-
install_file
USB.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/3568-1-0x0000000000210000-0x0000000000242000-memory.dmp family_xworm behavioral2/files/0x000a00000002338b-48.dat family_xworm - Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 1496 powershell.exe 4696 powershell.exe 3144 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-4124900551-4068476067-3491212533-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\XClient.lnk XClient.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk XClient.exe - Executes dropped EXE 3 IoCs
pid Process 4240 XClient.exe 4032 XClient.exe 3032 XClient.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4124900551-4068476067-3491212533-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\XClient = "C:\\Users\\Admin\\AppData\\Roaming\\XClient.exe" XClient.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 29 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 3856 schtasks.exe - Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 1496 powershell.exe 1496 powershell.exe 4696 powershell.exe 4696 powershell.exe 3144 powershell.exe 3144 powershell.exe 3568 XClient.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 3568 XClient.exe Token: SeDebugPrivilege 1496 powershell.exe Token: SeDebugPrivilege 4696 powershell.exe Token: SeDebugPrivilege 3144 powershell.exe Token: SeDebugPrivilege 3568 XClient.exe Token: SeDebugPrivilege 4240 XClient.exe Token: SeDebugPrivilege 4032 XClient.exe Token: SeDebugPrivilege 3032 XClient.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3568 XClient.exe - Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 3568 wrote to memory of 1496 3568 XClient.exe 94 PID 3568 wrote to memory of 1496 3568 XClient.exe 94 PID 3568 wrote to memory of 4696 3568 XClient.exe 96 PID 3568 wrote to memory of 4696 3568 XClient.exe 96 PID 3568 wrote to memory of 3144 3568 XClient.exe 98 PID 3568 wrote to memory of 3144 3568 XClient.exe 98 PID 3568 wrote to memory of 3856 3568 XClient.exe 101 PID 3568 wrote to memory of 3856 3568 XClient.exe 101 - 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:3568 -
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:1496
-
-
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:4696
-
-
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\XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3144
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"2⤵
- Creates scheduled task(s)
PID:3856
-
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:4240
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:4032
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3032
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\XClient.exe.log
- Size 654B
- SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
- MD5 2ff39f6c7249774be85fd60a8f9a245e
- SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
- SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
- MD5 SHA1 SHA512
- 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 adad192fc86c2f939fd3f70cb9ad323139a4e100f7c90b4454e2c53bdbc9b705
- MD5 b1a1d8b05525b7b0c5babfd80488c1f2
- SHA1 c85bbd6b7d0143676916c20fd52720499c2bb5c6
- SHA512 346c6513c1373bab58439e37d3f75de1c5c587d7eb27076cf696e885a027b3b38d70b585839d1a2e7f2270cdcf0dac8c1fdff799f3b1158242ae9e3364c2a06e
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zsnspjiw.fsz.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\XClient.exe
- Size 177KB
- SHA256 4801097be6fcec7253afab46b3eeb228d1fd42bb80bca2d9f7ecf12555cb6959
- MD5 d2bd07b9fe1c522cf1ab7089dc886a8e
- SHA1 c7a5916c3102f6ec9573cffa2214ce58657cde05
- SHA512 cf8f2884fe66a32ab8aee760ec131caa2a2548d4231b6e6bf9bebe02dcc2447d840ab3afcb027ce3d7783d755285378a2ccbbeaa3c0fd9bda7151fe24d420699
- SSDEEP 3072:cCU2vibdmayxfkOY/ZZJBz65/M6If+3Js+3JFkKeTno:HU2vibd4ojJxBt25
- MD5 SHA1 SHA512 SSDEEP