Analysis
- max time kernel
147s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
05/06/2024, 21:40
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
XClient.exe
Resource
win10v2004-20240508-en
General
- Target XClient.exe
- Size 76KB
- Sample240605-1jawaaaa5s
- SHA256 f448479e78b0ea1ce4f80e70b008171696ee435c7008c1545c0d995d3307d09b
- MD5 3c6b293b8a42c62ae18df309ca7ef457
- SHA1 482d8aeba53bc43305300ae01e83383464b664a1
- SHA512 6aa9296c948c8642e432ae89d0a5242651bbf700eee0c6c8c071d6cfb192c2792bc2667a3aab6fac896d22750e29503de855ac01cabe3dae47d8e328e3766b00
- SSDEEP 1536:EbDt+jWRPuJazUAa7a68NbiYGYqiDZc6VO+YqJsypTKIw:EQqRPuJazDa0NbiYGXiDpO1qJsQw
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
127.0.0.1:12334
-
0.tcp.eu.ngrok.io:12334
-
4.tcp.eu.ngrok.io:12334
-
5.tcp.eu.ngrok.io:12334
-
word-belize.gl.at.ply.gg:12334:12334
-
word-belize.gl.at.ply.gg:12334
-
Install_directory
%LocalAppData%
Signatures
- Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/1404-1-0x00000000003E0000-0x00000000003FA000-memory.dmp 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 224 powershell.exe 2152 powershell.exe 3136 powershell.exe 4112 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 opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Microsoft.lnk XClient.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Microsoft.lnk XClient.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\Microsoft = "C:\\Users\\Admin\\AppData\\Local\\Microsoft" XClient.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 29 5.tcp.eu.ngrok.io 31 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 20 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 5076 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 224 powershell.exe 224 powershell.exe 2152 powershell.exe 2152 powershell.exe 3136 powershell.exe 3136 powershell.exe 4112 powershell.exe 4112 powershell.exe 1404 XClient.exe - Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 1404 XClient.exe Token: SeDebugPrivilege 224 powershell.exe Token: SeDebugPrivilege 2152 powershell.exe Token: SeDebugPrivilege 3136 powershell.exe Token: SeDebugPrivilege 4112 powershell.exe Token: SeDebugPrivilege 1404 XClient.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1404 XClient.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 1404 wrote to memory of 224 1404 XClient.exe 94 PID 1404 wrote to memory of 224 1404 XClient.exe 94 PID 1404 wrote to memory of 2152 1404 XClient.exe 97 PID 1404 wrote to memory of 2152 1404 XClient.exe 97 PID 1404 wrote to memory of 3136 1404 XClient.exe 99 PID 1404 wrote to memory of 3136 1404 XClient.exe 99 PID 1404 wrote to memory of 4112 1404 XClient.exe 101 PID 1404 wrote to memory of 4112 1404 XClient.exe 101 PID 1404 wrote to memory of 5076 1404 XClient.exe 103 PID 1404 wrote to memory of 5076 1404 XClient.exe 103 - 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:1404 -
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:224
-
-
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:2152
-
-
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\Microsoft'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3136
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Microsoft'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4112
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Microsoft" /tr "C:\Users\Admin\AppData\Local\Microsoft"2⤵
- Creates scheduled task(s)
PID:5076
-
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 97a71179aa74dbcd1c58694ee6d2fa7faa432312db4f803611ac478d9c0256ec
- MD5 f4038903775bd49192beef39594c3614
- SHA1 db4d190d86ea4a231ce6b5408860220a1020077f
- SHA512 059cf3c5afc9cc7eace9a6a9ae05db5ad1f7620e6def9885a317c377eb6cfe2056e4f3aa03c7a2035d21a332626d292116594303d97c5c82b8c5b0eedcbb9332
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 c0bf38da8f0cdbbfd6203231dd052e80d9204f4251d10d8826eb50bb2020060d
- MD5 a82f7313ac4bb3bc95155f3cd67b82fe
- SHA1 4c3e0af627a98e6416514143f54f23380d7c38ee
- SHA512 8dd8f6b494c113f1bf99858fde4979f520ff2dd6095045370ba394acc55422e04df6fe3a4942e03748819f0b33965b8afd6674d78b1903ed0af159d9d96e7ce8
- 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_ebu1yzuj.ecu.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512