Analysis
- max time kernel
55s - max time network
66s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
27/05/2024, 15:50
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win10v2004-20240508-en
Errors
General
- Target XClient.exe
- Size 239KB
- Sample240527-s92spaae45
- SHA256 aead2b72fe8b76ed08c3282ff0d66623bc3f8de7547fd6b2f14a04f12cefb356
- MD5 02f76419f80b44d1b8b1b98992f1c198
- SHA1 54dd1585153a6ac5d88626a08154e87f2db25a46
- SHA512 9a9fbb453a9f635e2286ed88f591ff28aadd7887163166c0c9869d2069b6149ae48d7f5d6d6d8672e7a7160d1d405ba9a643380bbc836da787bc04331b9375cc
- SSDEEP 6144:DPhr13VjbJxUBzU8cUhcX7elbKTua9bfF/H9d9n:Dpr85U8c3X3u+
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
Install_directory
%AppData%
-
install_file
XClient.exe
-
pastebin_url
https://pastebin.com/raw/aCfh8JFM
Signatures
- Contains code to disable Windows Defender 1 IoCs
A .NET executable tasked with disabling Windows Defender capabilities such as realtime monitoring, blocking at first seen, etc.
resource yara_rule behavioral1/memory/1532-62-0x00000000020D0000-0x00000000020DE000-memory.dmp disable_win_def - Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/1532-1-0x0000000000120000-0x0000000000160000-memory.dmp family_xworm behavioral1/files/0x000f000000023300-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 1028 powershell.exe 1676 powershell.exe 3688 powershell.exe 4424 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-1181767204-2009306918-3718769404-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 1 IoCs
pid Process 2892 XClient.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\XClient = "C:\\Users\\Admin\\AppData\\Roaming\\XClient.exe" XClient.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
flow ioc 32 pastebin.com 33 pastebin.com 41 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 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 3212 schtasks.exe - Suspicious behavior: EnumeratesProcesses 14 IoCs
pid Process 1028 powershell.exe 1028 powershell.exe 1028 powershell.exe 1676 powershell.exe 1676 powershell.exe 1676 powershell.exe 3688 powershell.exe 3688 powershell.exe 3688 powershell.exe 4424 powershell.exe 4424 powershell.exe 4424 powershell.exe 1532 XClient.exe 1532 XClient.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 1532 XClient.exe Token: SeDebugPrivilege 1028 powershell.exe Token: SeDebugPrivilege 1676 powershell.exe Token: SeDebugPrivilege 3688 powershell.exe Token: SeDebugPrivilege 4424 powershell.exe Token: SeDebugPrivilege 1532 XClient.exe Token: SeDebugPrivilege 2892 XClient.exe Token: SeShutdownPrivilege 1532 XClient.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1532 XClient.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 1532 wrote to memory of 1028 1532 XClient.exe 102 PID 1532 wrote to memory of 1028 1532 XClient.exe 102 PID 1532 wrote to memory of 1676 1532 XClient.exe 104 PID 1532 wrote to memory of 1676 1532 XClient.exe 104 PID 1532 wrote to memory of 3688 1532 XClient.exe 108 PID 1532 wrote to memory of 3688 1532 XClient.exe 108 PID 1532 wrote to memory of 4424 1532 XClient.exe 110 PID 1532 wrote to memory of 4424 1532 XClient.exe 110 PID 1532 wrote to memory of 3212 1532 XClient.exe 112 PID 1532 wrote to memory of 3212 1532 XClient.exe 112 - 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:1532 -
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:1028
-
-
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:1676
-
-
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:3688
-
-
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:4424
-
-
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:3212
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4488,i,13035806169561352434,1332896185314862791,262144 --variations-seed-version --mojo-platform-channel-handle=4200 /prefetch:81⤵PID:4796
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2892
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 26209c196c9c45202d27468ea707b2b46f375bb612d50271924a28f9210df6a1
- MD5 750e4be22a6fdadd7778a388198a9ee3
- SHA1 8feb2054d8a3767833dd972535df54f0c3ab6648
- SHA512 b0415087dfc32908b449b876b395a607698b0f7b72031916b6fe7c002e4b163ba318b7e85c8ce41f007429e666974c04967bc14345e3f4614e34d94f5c8ae804
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 c03cd4157c9fd27eca1a43b346259c49dc1cec080087dbf16206ea3c3433f510
- MD5 767e7cbd24fce31b6f1f1c51df98febe
- SHA1 30ae8c628bb178790ad8e9fedaa5a7109994d6ba
- SHA512 8567bc5684bb74e795952de2e59c120fac547da12100bc893e2d204dc6f887c16b679e14e847d36188b9aea98323c05bf25471113dfb018b13b10c63880716b8
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 780e28c409efcc417854cb9dba5d793353faeb83b1135850f68ab06edce7f974
- MD5 b7c6ca50d3c951e736f4f4f94c047289
- SHA1 6540b72784d47329711a5a61473fe72d243d68b3
- SHA512 0913de27eb231db4c3b7ba7afefe827ebb15a22962a62af46770e6771087f591a3de013dbaaabaceaf248d94c0ed4b5a32eaabc36cf1177ae1132a833b432b7c
- 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\Temp\__PSScriptPolicyTest_ta5gbkwm.ptm.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\XClient.exe
- Size 239KB
- SHA256 aead2b72fe8b76ed08c3282ff0d66623bc3f8de7547fd6b2f14a04f12cefb356
- MD5 02f76419f80b44d1b8b1b98992f1c198
- SHA1 54dd1585153a6ac5d88626a08154e87f2db25a46
- SHA512 9a9fbb453a9f635e2286ed88f591ff28aadd7887163166c0c9869d2069b6149ae48d7f5d6d6d8672e7a7160d1d405ba9a643380bbc836da787bc04331b9375cc
- SSDEEP 6144:DPhr13VjbJxUBzU8cUhcX7elbKTua9bfF/H9d9n:Dpr85U8c3X3u+
- MD5 SHA1 SHA512 SSDEEP