Analysis
- max time kernel
145s - max time network
148s - platform
windows10-2004_x64 - resource
win10v2004-20240426-en - resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system - submitted
05/06/2024, 15:50
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win7-20240221-en
15 signatures
150 seconds
Behavioral task
behavioral2
Sample
XClient.exe
Resource
win10v2004-20240426-en
16 signatures
150 seconds
General
- Target XClient.exe
- Size 56KB
- Sample240605-s9554sca88
- SHA256 58c749a1a703be49dbb1b304a986e53fc85e90a19e11320fb1350d3d15ced085
- MD5 985225545ed3d13712cb52f3c46adbc0
- SHA1 07c741015943143c4d329c488c2a0a2435e789c5
- SHA512 947e95492867d0a042345f7a6d27a313b3579d150f8f97b971f04db8dbe39a2a91fc8d787cf826979b7eaf26d07a152a0798c73f905b87e84e4a85bc2702e216
- SSDEEP 768:ecKym4oFRLdgKCD/SDu1P6SN/bto1ISU7IU6CxOAhlZQ9ey:PKGoRLOpDr16Ybto/U6SOAxa/
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
xworm
Attributes
-
Install_directory
%Userprofile%
-
install_file
XClient.exe
-
pastebin_url
https://pastebin.com/raw/DKqen16V
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/2272-1-0x0000000000C10000-0x0000000000C24000-memory.dmp family_xworm behavioral2/files/0x000d00000002296b-59.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 528 powershell.exe 4436 powershell.exe 384 powershell.exe 1436 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-3906287020-2915474608-1755617787-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 2656 XClient.exe 364 XClient.exe 1356 XClient.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3906287020-2915474608-1755617787-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\XClient = "C:\\Users\\Admin\\XClient.exe" XClient.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 5 IoCs
flow ioc 19 pastebin.com 29 2.tcp.eu.ngrok.io 45 2.tcp.eu.ngrok.io 59 2.tcp.eu.ngrok.io 18 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 15 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 5100 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 528 powershell.exe 528 powershell.exe 4436 powershell.exe 4436 powershell.exe 384 powershell.exe 384 powershell.exe 1436 powershell.exe 1436 powershell.exe 2272 XClient.exe - Suspicious use of AdjustPrivilegeToken 9 IoCs
description pid Process Token: SeDebugPrivilege 2272 XClient.exe Token: SeDebugPrivilege 528 powershell.exe Token: SeDebugPrivilege 4436 powershell.exe Token: SeDebugPrivilege 384 powershell.exe Token: SeDebugPrivilege 1436 powershell.exe Token: SeDebugPrivilege 2272 XClient.exe Token: SeDebugPrivilege 2656 XClient.exe Token: SeDebugPrivilege 364 XClient.exe Token: SeDebugPrivilege 1356 XClient.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2272 XClient.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 2272 wrote to memory of 528 2272 XClient.exe 88 PID 2272 wrote to memory of 528 2272 XClient.exe 88 PID 2272 wrote to memory of 4436 2272 XClient.exe 90 PID 2272 wrote to memory of 4436 2272 XClient.exe 90 PID 2272 wrote to memory of 384 2272 XClient.exe 92 PID 2272 wrote to memory of 384 2272 XClient.exe 92 PID 2272 wrote to memory of 1436 2272 XClient.exe 94 PID 2272 wrote to memory of 1436 2272 XClient.exe 94 PID 2272 wrote to memory of 5100 2272 XClient.exe 97 PID 2272 wrote to memory of 5100 2272 XClient.exe 97 - 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:2272 -
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:528
-
-
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:4436
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:384
-
-
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:1436
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\XClient.exe"2⤵
- Creates scheduled task(s)
PID:5100
-
-
C:\Users\Admin\XClient.exeC:\Users\Admin\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2656
-
C:\Users\Admin\XClient.exeC:\Users\Admin\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:364
-
C:\Users\Admin\XClient.exeC:\Users\Admin\XClient.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1356
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 385da35673330e21ac02545220552fe301fe54dedefbdafc097ac4342a295233
- MD5 2e907f77659a6601fcc408274894da2e
- SHA1 9f5b72abef1cd7145bf37547cdb1b9254b4efe9d
- SHA512 34fa0fff24f6550f55f828541aaefe5d75c86f8f0842d54b50065e9746f9662bb7209c74c9a9571540b9855bb3851f01db613190024e89b198d485bb5dc07721
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 5ef1421e19fde4bc03cd825dd7d6c0e7863f85fd8f0aa4a4d4f8d555dc7606d1
- MD5 ba169f4dcbbf147fe78ef0061a95e83b
- SHA1 92a571a6eef49fff666e0f62a3545bcd1cdcda67
- SHA512 8d2e5e552210dcda684682538bc964fdd8a8ff5b24cc2cc8af813729f0202191f98eb42d38d2355df17ae620fe401aad6ceaedaed3b112fdacd32485a3a0c07c
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 d6fa39eab7ee36f44dc3f9f2839d098433db95c1eba924e4bcf4e5c0d268d961
- MD5 15dde0683cd1ca19785d7262f554ba93
- SHA1 d039c577e438546d10ac64837b05da480d06bf69
- SHA512 57c0e1b87bc1c136f0d39f3ce64bb8f8274a0491e4ca6e45e5c7f9070aa9d9370c6f590ce37cd600b252df2638d870205249a514c43245ca7ed49017024a4672
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_0pocy1bw.wlh.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\XClient.exe
- Size 56KB
- SHA256 58c749a1a703be49dbb1b304a986e53fc85e90a19e11320fb1350d3d15ced085
- MD5 985225545ed3d13712cb52f3c46adbc0
- SHA1 07c741015943143c4d329c488c2a0a2435e789c5
- SHA512 947e95492867d0a042345f7a6d27a313b3579d150f8f97b971f04db8dbe39a2a91fc8d787cf826979b7eaf26d07a152a0798c73f905b87e84e4a85bc2702e216
- SSDEEP 768:ecKym4oFRLdgKCD/SDu1P6SN/bto1ISU7IU6CxOAhlZQ9ey:PKGoRLOpDr16Ybto/U6SOAxa/
- MD5 SHA1 SHA512 SSDEEP