Analysis
-
max time kernel
150s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240412-en -
resource tags
arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system -
submitted
20-04-2024 20:38
Behavioral task
behavioral1
Sample
XClient.exe
Resource
win10v2004-20240412-en
General
-
Target
XClient.exe
-
Size
80KB
-
MD5
c2c1ba206377942b6b647f39d03904b9
-
SHA1
d0b9e4fb55ffdf2cb5a78b7e881d9ce641d9c17b
-
SHA256
40751536a5f6d6a98f181c1ccd19c3dcbd51a194d6ec282ab9141a3ee599c4a5
-
SHA512
83d885cd216d9e2a79e05b4270b85d1503f579548e4733ff5ae53bc1513a184345072f64216ad9445ebc2fa57af55b14277a845b1dfde152622fafbb91c07f05
-
SSDEEP
1536:RBeQHCHtsCRq1GS8+2KWUGPh8XGAWptciXuCx/sw9lp/bXK0apO5O6u7rsOE1aSE:neRNsCRq1GS8+2DGhP8V/9Xb6BpJYOEY
Malware Config
Extracted
xworm
-
Install_directory
%AppData%
-
install_file
System.exe
-
pastebin_url
https://pastebin.com/raw/erNS5DCf
-
telegram
https://api.telegram.org/bot6322711372:AAGbIfXFhlNS1SFeiUdz8wnaxv2bCiayqnI/sendMessage?chat_id=1098594855
Signatures
-
Detect Xworm Payload 2 IoCs
Processes:
resource yara_rule behavioral1/memory/1928-0-0x0000000000AD0000-0x0000000000AEA000-memory.dmp family_xworm C:\Users\Admin\AppData\Roaming\System.exe family_xworm -
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-355664440-2199602304-1223909400-1000\Control Panel\International\Geo\Nation XClient.exe -
Drops startup file 2 IoCs
Processes:
XClient.exedescription ioc process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\System.lnk XClient.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\System.lnk XClient.exe -
Executes dropped EXE 3 IoCs
Processes:
System.exeSystem.exeSystem.exepid process 3692 System.exe 1532 System.exe 3200 System.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-355664440-2199602304-1223909400-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\System = "C:\\Users\\Admin\\AppData\\Roaming\\System.exe" XClient.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 6 IoCs
Processes:
flow ioc 121 4.tcp.eu.ngrok.io 153 4.tcp.eu.ngrok.io 183 4.tcp.eu.ngrok.io 39 pastebin.com 40 pastebin.com 63 4.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.
Processes:
flow ioc 25 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.
-
Suspicious behavior: EnumeratesProcesses 12 IoCs
Processes:
powershell.exepowershell.exepowershell.exepowershell.exeXClient.exepid process 2804 powershell.exe 2804 powershell.exe 1956 powershell.exe 1956 powershell.exe 1956 powershell.exe 2772 powershell.exe 2772 powershell.exe 2772 powershell.exe 3404 powershell.exe 3404 powershell.exe 3404 powershell.exe 1928 XClient.exe -
Suspicious use of AdjustPrivilegeToken 9 IoCs
Processes:
XClient.exepowershell.exepowershell.exepowershell.exepowershell.exeSystem.exeSystem.exeSystem.exedescription pid process Token: SeDebugPrivilege 1928 XClient.exe Token: SeDebugPrivilege 2804 powershell.exe Token: SeDebugPrivilege 1956 powershell.exe Token: SeDebugPrivilege 2772 powershell.exe Token: SeDebugPrivilege 3404 powershell.exe Token: SeDebugPrivilege 1928 XClient.exe Token: SeDebugPrivilege 3692 System.exe Token: SeDebugPrivilege 1532 System.exe Token: SeDebugPrivilege 3200 System.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
XClient.exepid process 1928 XClient.exe -
Suspicious use of WriteProcessMemory 10 IoCs
Processes:
XClient.exedescription pid process target process PID 1928 wrote to memory of 2804 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 2804 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 1956 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 1956 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 2772 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 2772 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 3404 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 3404 1928 XClient.exe powershell.exe PID 1928 wrote to memory of 1428 1928 XClient.exe schtasks.exe PID 1928 wrote to memory of 1428 1928 XClient.exe schtasks.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 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⤵
- 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⤵
- 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\System.exe'2⤵
- 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 'System.exe'2⤵
- 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 "System" /tr "C:\Users\Admin\AppData\Roaming\System.exe"2⤵
- Creates scheduled task(s)
-
C:\Users\Admin\AppData\Roaming\System.exeC:\Users\Admin\AppData\Roaming\System.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
-
C:\Users\Admin\AppData\Roaming\System.exeC:\Users\Admin\AppData\Roaming\System.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
-
C:\Users\Admin\AppData\Roaming\System.exeC:\Users\Admin\AppData\Roaming\System.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\System.exe.logFilesize
654B
MD52ff39f6c7249774be85fd60a8f9a245e
SHA1684ff36b31aedc1e587c8496c02722c6698c1c4e
SHA256e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
SHA5121d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.logFilesize
2KB
MD5d85ba6ff808d9e5444a4b369f5bc2730
SHA131aa9d96590fff6981b315e0b391b575e4c0804a
SHA25684739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
SHA5128c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
944B
MD577d622bb1a5b250869a3238b9bc1402b
SHA1d47f4003c2554b9dfc4c16f22460b331886b191b
SHA256f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
SHA512d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
944B
MD5eb1ad317bd25b55b2bbdce8a28a74a94
SHA198a3978be4d10d62e7411946474579ee5bdc5ea6
SHA2569e94e7c9ac6134ee30e79498558aa1a5a1ac79a643666c3f8922eed215dd3a98
SHA512d011f266c0240d84470c0f9577cd9e4927309bd19bb38570ca9704ed8e1d159f9bea982a59d3eefef72ce7a10bd81208b82e88ef57c7af587f7437a89769adc0
-
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_h40pulfb.muz.ps1Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
C:\Users\Admin\AppData\Roaming\System.exeFilesize
80KB
MD5c2c1ba206377942b6b647f39d03904b9
SHA1d0b9e4fb55ffdf2cb5a78b7e881d9ce641d9c17b
SHA25640751536a5f6d6a98f181c1ccd19c3dcbd51a194d6ec282ab9141a3ee599c4a5
SHA51283d885cd216d9e2a79e05b4270b85d1503f579548e4733ff5ae53bc1513a184345072f64216ad9445ebc2fa57af55b14277a845b1dfde152622fafbb91c07f05
-
memory/1532-82-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/1532-81-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/1928-72-0x0000000002C00000-0x0000000002C10000-memory.dmpFilesize
64KB
-
memory/1928-64-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/1928-2-0x0000000002C00000-0x0000000002C10000-memory.dmpFilesize
64KB
-
memory/1928-1-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/1928-0-0x0000000000AD0000-0x0000000000AEA000-memory.dmpFilesize
104KB
-
memory/1956-33-0x000001F57B2D0000-0x000001F57B2E0000-memory.dmpFilesize
64KB
-
memory/1956-32-0x000001F57B2D0000-0x000001F57B2E0000-memory.dmpFilesize
64KB
-
memory/1956-30-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/1956-35-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/2772-45-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/2772-48-0x000002127BEF0000-0x000002127BF00000-memory.dmpFilesize
64KB
-
memory/2772-50-0x000002127C560000-0x000002127C77C000-memory.dmpFilesize
2.1MB
-
memory/2772-51-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/2772-47-0x000002127BEF0000-0x000002127BF00000-memory.dmpFilesize
64KB
-
memory/2804-15-0x0000024A5EBD0000-0x0000024A5EBE0000-memory.dmpFilesize
64KB
-
memory/2804-3-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/2804-19-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/2804-11-0x0000024A46550000-0x0000024A46572000-memory.dmpFilesize
136KB
-
memory/2804-18-0x0000024A5ED50000-0x0000024A5EF6C000-memory.dmpFilesize
2.1MB
-
memory/2804-9-0x0000024A5EBD0000-0x0000024A5EBE0000-memory.dmpFilesize
64KB
-
memory/3200-84-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/3404-67-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/3404-66-0x000001E1F2BB0000-0x000001E1F2DCC000-memory.dmpFilesize
2.1MB
-
memory/3404-62-0x000001E1F2BA0000-0x000001E1F2BB0000-memory.dmpFilesize
64KB
-
memory/3404-61-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/3692-77-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB
-
memory/3692-75-0x00007FFDB7AC0000-0x00007FFDB8581000-memory.dmpFilesize
10.8MB