Analysis
-
max time kernel
179s -
max time network
203s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system -
submitted
23-05-2024 08:44
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
XClient.exe
Resource
win10v2004-20240426-en
General
-
Target
XClient.exe
-
Size
41KB
-
MD5
cb09c9133f40c4903525fa5a7df4c405
-
SHA1
e8496990338d09a6b73d4808e3aada0f50cf758a
-
SHA256
ad335bba6ec965c12c17a0fb8ae86aa26beebca57e63fba662757a79f1d6df22
-
SHA512
be757f81deb1b8f43d51332d383ff829524ea94a54a732576b30bdba43a31eee2dfc9cd8ed5dce2cd06e191c307db2ddee687895a0de5ad6bc9709d167631b1f
-
SSDEEP
768:KU0MzzOOfBbw197oyoyv08cr/rZ+IF5Pa9n2e6iOwhM3sik:KU0M/bZbwXsyrs3rd9F492e6iOwSNk
Malware Config
Extracted
xworm
5.0
https://pastebin.com/raw/qaWffTar:5
C6npgtaAk9A5snxm
-
Install_directory
%AppData%
-
install_file
svchost.exe
-
pastebin_url
https://pastebin.com/raw/qaWffTar
Signatures
-
Detect Xworm Payload 2 IoCs
Processes:
resource yara_rule behavioral2/memory/3812-1-0x0000000000100000-0x0000000000110000-memory.dmp family_xworm C:\Users\Admin\AppData\Roaming\svchost.exe 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.
Processes:
powershell.exepowershell.exepowershell.exepowershell.exepid process 772 powershell.exe 2068 powershell.exe 4128 powershell.exe 4828 powershell.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
XClient.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3571316656-3665257725-2415531812-1000\Control Panel\International\Geo\Nation XClient.exe -
Drops startup file 2 IoCs
Processes:
XClient.exedescription ioc process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk XClient.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk XClient.exe -
Executes dropped EXE 3 IoCs
Processes:
svchost.exesvchost.exesvchost.exepid process 4964 svchost.exe 4652 svchost.exe 1384 svchost.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
XClient.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-3571316656-3665257725-2415531812-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost = "C:\\Users\\Admin\\AppData\\Roaming\\svchost.exe" XClient.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
-
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
Processes:
flow ioc 26 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.
-
Delays execution with timeout.exe 1 IoCs
Processes:
timeout.exepid process 4164 timeout.exe -
Suspicious behavior: EnumeratesProcesses 64 IoCs
Processes:
powershell.exepowershell.exepowershell.exepowershell.exeXClient.exepid process 772 powershell.exe 772 powershell.exe 772 powershell.exe 2068 powershell.exe 2068 powershell.exe 4128 powershell.exe 4128 powershell.exe 4828 powershell.exe 4828 powershell.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe 3812 XClient.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
Processes:
XClient.exepid process 3812 XClient.exe -
Suspicious use of AdjustPrivilegeToken 9 IoCs
Processes:
XClient.exepowershell.exepowershell.exepowershell.exepowershell.exesvchost.exesvchost.exesvchost.exedescription pid process Token: SeDebugPrivilege 3812 XClient.exe Token: SeDebugPrivilege 772 powershell.exe Token: SeDebugPrivilege 2068 powershell.exe Token: SeDebugPrivilege 4128 powershell.exe Token: SeDebugPrivilege 4828 powershell.exe Token: SeDebugPrivilege 3812 XClient.exe Token: SeDebugPrivilege 4964 svchost.exe Token: SeDebugPrivilege 4652 svchost.exe Token: SeDebugPrivilege 1384 svchost.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
Processes:
notepad.exepid process 3236 notepad.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
XClient.exepid process 3812 XClient.exe -
Suspicious use of WriteProcessMemory 16 IoCs
Processes:
XClient.execmd.exedescription pid process target process PID 3812 wrote to memory of 772 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 772 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 2068 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 2068 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 4128 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 4128 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 4828 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 4828 3812 XClient.exe powershell.exe PID 3812 wrote to memory of 1516 3812 XClient.exe schtasks.exe PID 3812 wrote to memory of 1516 3812 XClient.exe schtasks.exe PID 3812 wrote to memory of 3280 3812 XClient.exe schtasks.exe PID 3812 wrote to memory of 3280 3812 XClient.exe schtasks.exe PID 3812 wrote to memory of 1008 3812 XClient.exe cmd.exe PID 3812 wrote to memory of 1008 3812 XClient.exe cmd.exe PID 1008 wrote to memory of 4164 1008 cmd.exe timeout.exe PID 1008 wrote to memory of 4164 1008 cmd.exe timeout.exe -
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 behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
-
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
-
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
-
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\svchost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svchost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svchost" /tr "C:\Users\Admin\AppData\Roaming\svchost.exe"2⤵
- Creates scheduled task(s)
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /delete /f /tn "svchost"2⤵
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpFFA3.tmp.bat""2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\system32\timeout.exetimeout 33⤵
- Delays execution with timeout.exe
-
C:\Users\Admin\AppData\Roaming\svchost.exeC:\Users\Admin\AppData\Roaming\svchost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\system32\notepad.exe"C:\Windows\system32\notepad.exe"1⤵
- Suspicious use of FindShellTrayWindow
-
C:\Users\Admin\AppData\Roaming\svchost.exeC:\Users\Admin\AppData\Roaming\svchost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
-
C:\Users\Admin\AppData\Roaming\svchost.exeC:\Users\Admin\AppData\Roaming\svchost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v13
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.logFilesize
2KB
MD5d85ba6ff808d9e5444a4b369f5bc2730
SHA131aa9d96590fff6981b315e0b391b575e4c0804a
SHA25684739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
SHA5128c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\svchost.exe.logFilesize
654B
MD52ff39f6c7249774be85fd60a8f9a245e
SHA1684ff36b31aedc1e587c8496c02722c6698c1c4e
SHA256e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
SHA5121d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
944B
MD56d3e9c29fe44e90aae6ed30ccf799ca8
SHA1c7974ef72264bbdf13a2793ccf1aed11bc565dce
SHA2562360634e63e8f0b5748e2c56ebb8f4aa78e71008ea7b5c9ca1c49be03b49557d
SHA51260c38c4367352537545d859f64b9c5cbada94240478d1d039fd27b5ecba4dc1c90051557c16d802269703b873546ead416279c0a80c6fd5e49ad361cef22596a
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
944B
MD5e58749a7a1826f6ea62df1e2ef63a32b
SHA1c0bca21658b8be4f37b71eec9578bfefa44f862d
SHA2560e1f0e684adb40a5d0668df5fed007c9046137d7ae16a1f2f343b139d5f9bc93
SHA5124cf45b2b11ab31e7f67fff286b29d50ed28cd6043091144c5c0f1348b5f5916ed7479cf985595e6f096b586ab93b4b5dce612f688049b8366a2dd91863e98b70
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
944B
MD5890593497e3c1ff747728a9c82092e20
SHA196b623ba7ee0670a7591244d9c85a622a0c98ef7
SHA2565cd98b29045eea9bd9bf02d2aea73eaa3f8f71fe06e8ee51754c7b0413c1aa10
SHA512d4178c0e92f685951be613554e6b4cd011fd0ea7afc8d9379d157877c23775a8ad56910a527849c436476e99ffa85f61bc7e711f7d9e6663e456768f251dd90e
-
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jli12swa.4ug.ps1Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
C:\Users\Admin\AppData\Local\Temp\tmpFFA3.tmp.batFilesize
159B
MD53cd8136f94f4cad46435aa2d2d606e25
SHA1443ad800530d0d4ba7bf239e7ea74afc2d5f5b41
SHA25608ca74246c24a4d11772e9b90583b1cf15b2353fe7b5b0a72e3d0fe2bc28698c
SHA512b9f5b87f46f6b2d06ecf89878daa4a16a2b7cb25d709e311411f8347a4316a60215217a08aaafc2affb29c90896ce7f956fb552c8207f3db88595f553f2b7d1e
-
C:\Users\Admin\AppData\Roaming\svchost.exeFilesize
41KB
MD5cb09c9133f40c4903525fa5a7df4c405
SHA1e8496990338d09a6b73d4808e3aada0f50cf758a
SHA256ad335bba6ec965c12c17a0fb8ae86aa26beebca57e63fba662757a79f1d6df22
SHA512be757f81deb1b8f43d51332d383ff829524ea94a54a732576b30bdba43a31eee2dfc9cd8ed5dce2cd06e191c307db2ddee687895a0de5ad6bc9709d167631b1f
-
memory/772-14-0x00000214C3E40000-0x00000214C3E62000-memory.dmpFilesize
136KB
-
memory/772-18-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/772-15-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/772-4-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/772-3-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/3812-0-0x00007FFB9B593000-0x00007FFB9B595000-memory.dmpFilesize
8KB
-
memory/3812-57-0x00007FFB9B593000-0x00007FFB9B595000-memory.dmpFilesize
8KB
-
memory/3812-58-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/3812-59-0x0000000000A60000-0x0000000000A6C000-memory.dmpFilesize
48KB
-
memory/3812-2-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/3812-113-0x00007FFB9B590000-0x00007FFB9C051000-memory.dmpFilesize
10.8MB
-
memory/3812-1-0x0000000000100000-0x0000000000110000-memory.dmpFilesize
64KB