Analysis
- max time kernel
74s - max time network
71s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
28/05/2024, 12:30
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win10v2004-20240508-en
16 signatures
150 seconds
General
- Target XClient.exe
- Size 99KB
- Sample240528-ppntjsde6z
- SHA256 26f6a921b85d86b226a45e44de9305ba16f15c6de72c29155fbdc7da9b5e6393
- MD5 03557348a17089f5eb64b6e1c74a30d0
- SHA1 f2b334fa78072eda2fc5e8f76ff1b96c500e0ff9
- SHA512 23a9ee48bc34d713f39a8cbbc92e2ae65d1487d2533df58878af247fd99553d51965775ce496e2402bc7270bff0130795fb1fe3429da99e23570c0a668937094
- SSDEEP 1536:Zz/BN3cQ3Bujs49jFg0/IwXCvxWCGb1u673dxWcm6xkfXjeOUeaxKHsi9rYRT:Zz/L3e9mbQ3bo67evfCOUvwsCCT
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
xworm
Attributes
-
Install_directory
%ProgramData%
-
install_file
Client.exe
-
pastebin_url
https://pastebin.com/vnh6mTRX
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/3372-1-0x0000000000DF0000-0x0000000000E0E000-memory.dmp family_xworm behavioral1/files/0x000c000000022ac4-57.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 1152 powershell.exe 4800 powershell.exe 4944 powershell.exe 1192 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-1337824034-2731376981-3755436523-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\Client.lnk XClient.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Client.lnk XClient.exe - Executes dropped EXE 2 IoCs
pid Process 4524 Client.exe 2844 Client.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Client = "C:\\ProgramData\\Client.exe" XClient.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 32 pastebin.com 31 pastebin.com - 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 28 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 1000 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 1152 powershell.exe 1152 powershell.exe 4800 powershell.exe 4800 powershell.exe 4944 powershell.exe 4944 powershell.exe 1192 powershell.exe 1192 powershell.exe 3372 XClient.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 3372 XClient.exe Token: SeDebugPrivilege 1152 powershell.exe Token: SeDebugPrivilege 4800 powershell.exe Token: SeDebugPrivilege 4944 powershell.exe Token: SeDebugPrivilege 1192 powershell.exe Token: SeDebugPrivilege 3372 XClient.exe Token: SeDebugPrivilege 4524 Client.exe Token: SeDebugPrivilege 2844 Client.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3372 XClient.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 3372 wrote to memory of 1152 3372 XClient.exe 95 PID 3372 wrote to memory of 1152 3372 XClient.exe 95 PID 3372 wrote to memory of 4800 3372 XClient.exe 97 PID 3372 wrote to memory of 4800 3372 XClient.exe 97 PID 3372 wrote to memory of 4944 3372 XClient.exe 100 PID 3372 wrote to memory of 4944 3372 XClient.exe 100 PID 3372 wrote to memory of 1192 3372 XClient.exe 102 PID 3372 wrote to memory of 1192 3372 XClient.exe 102 PID 3372 wrote to memory of 1000 3372 XClient.exe 104 PID 3372 wrote to memory of 1000 3372 XClient.exe 104 - 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:3372 -
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:1152
-
-
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:4800
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\Client.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4944
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Client.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1192
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Client" /tr "C:\ProgramData\Client.exe"2⤵
- Creates scheduled task(s)
PID:1000
-
-
C:\ProgramData\Client.exeC:\ProgramData\Client.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:4524
-
C:\ProgramData\Client.exeC:\ProgramData\Client.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2844
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\ProgramData\Client.exe
- Size 99KB
- SHA256 26f6a921b85d86b226a45e44de9305ba16f15c6de72c29155fbdc7da9b5e6393
- MD5 03557348a17089f5eb64b6e1c74a30d0
- SHA1 f2b334fa78072eda2fc5e8f76ff1b96c500e0ff9
- SHA512 23a9ee48bc34d713f39a8cbbc92e2ae65d1487d2533df58878af247fd99553d51965775ce496e2402bc7270bff0130795fb1fe3429da99e23570c0a668937094
- SSDEEP 1536:Zz/BN3cQ3Bujs49jFg0/IwXCvxWCGb1u673dxWcm6xkfXjeOUeaxKHsi9rYRT:Zz/L3e9mbQ3bo67evfCOUvwsCCT
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Client.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 385da35673330e21ac02545220552fe301fe54dedefbdafc097ac4342a295233
- MD5 2e907f77659a6601fcc408274894da2e
- SHA1 9f5b72abef1cd7145bf37547cdb1b9254b4efe9d
- SHA512 34fa0fff24f6550f55f828541aaefe5d75c86f8f0842d54b50065e9746f9662bb7209c74c9a9571540b9855bb3851f01db613190024e89b198d485bb5dc07721
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 0e1f0e684adb40a5d0668df5fed007c9046137d7ae16a1f2f343b139d5f9bc93
- MD5 e58749a7a1826f6ea62df1e2ef63a32b
- SHA1 c0bca21658b8be4f37b71eec9578bfefa44f862d
- SHA512 4cf45b2b11ab31e7f67fff286b29d50ed28cd6043091144c5c0f1348b5f5916ed7479cf985595e6f096b586ab93b4b5dce612f688049b8366a2dd91863e98b70
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 976f9534aa2976c85c2455bdde786a3f55d63aefdd40942eba1223c4c93590db
- MD5 b51dc9e5ec3c97f72b4ca9488bbb4462
- SHA1 5c1e8c0b728cd124edcacefb399bbd5e25b21bd3
- SHA512 0e5aa6cf64c535aefb833e5757b68e1094c87424abe2615a7d7d26b1b31eff358d12e36e75ca57fd690a9919b776600bf4c5c0e5a5df55366ba62238bdf3f280
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mf31e102.se5.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512