Analysis
- max time kernel
607s - max time network
603s - platform
windows10-2004_x64 - resource
win10v2004-20240226-en - resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system - submitted
10/03/2024, 10:17
Behavioral task
behavioral1
Sample
Xworm5.4_rar.exe
Resource
win7-20240221-en
10 signatures
600 seconds
Behavioral task
behavioral2
Sample
Xworm5.4_rar.exe
Resource
win10v2004-20240226-en
11 signatures
600 seconds
Behavioral task
behavioral3
Sample
Xworm5.4_rar.exe
Resource
macos-20240214-en
0 signatures
600 seconds
General
- Target Xworm5.4_rar.exe
- Size 79KB
- Sample240310-mbj74aae81
- SHA256 c78eb4a370c5a7ad6d1d0dc50a3a64d728cf3b080ace43d3c6e80f3a20823f0a
- MD5 21b50d1deafc8a40e5dd767a91c67f83
- SHA1 f598ccda048c05afc16b70dd16be3bd0f1326e8d
- SHA512 5db0ef98e6039b36e1216dbb20193e852146934dae01c2c4442a761fa1d31365c53f2f6fb950730a535975aa86d2c634e26900ee6b46ad4e182222c3a055ba85
- SSDEEP 1536:3ogpYw43GKut7PFr1iAi65tbRRQJ4jt6ctUP0O/wYnK57476Gc:0wegt7BoiLbRRtjzUP0O/nnK5kWGc
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
xworm
C2
-
0.tcp.ap.ngrok.io:18066
Attributes
-
Install_directory
%ProgramData%
-
install_file
XClient.exe
Signatures
- Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/2200-0-0x0000000000100000-0x000000000011A000-memory.dmp family_xworm - 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-609813121-2907144057-1731107329-1000\Control Panel\International\Geo\Nation Xworm5.4_rar.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk Xworm5.4_rar.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk Xworm5.4_rar.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 10 IoCs
flow ioc 153 0.tcp.ap.ngrok.io 161 0.tcp.ap.ngrok.io 88 0.tcp.ap.ngrok.io 112 0.tcp.ap.ngrok.io 122 0.tcp.ap.ngrok.io 135 0.tcp.ap.ngrok.io 144 0.tcp.ap.ngrok.io 40 0.tcp.ap.ngrok.io 93 0.tcp.ap.ngrok.io 171 0.tcp.ap.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 18 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 4620 powershell.exe 4620 powershell.exe 1128 powershell.exe 1128 powershell.exe 2252 powershell.exe 2252 powershell.exe 2744 powershell.exe 2744 powershell.exe 2200 Xworm5.4_rar.exe - Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2200 Xworm5.4_rar.exe Token: SeDebugPrivilege 4620 powershell.exe Token: SeDebugPrivilege 1128 powershell.exe Token: SeDebugPrivilege 2252 powershell.exe Token: SeDebugPrivilege 2744 powershell.exe Token: SeDebugPrivilege 2200 Xworm5.4_rar.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2200 Xworm5.4_rar.exe - Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 2200 wrote to memory of 4620 2200 Xworm5.4_rar.exe 91 PID 2200 wrote to memory of 4620 2200 Xworm5.4_rar.exe 91 PID 2200 wrote to memory of 1128 2200 Xworm5.4_rar.exe 93 PID 2200 wrote to memory of 1128 2200 Xworm5.4_rar.exe 93 PID 2200 wrote to memory of 2252 2200 Xworm5.4_rar.exe 96 PID 2200 wrote to memory of 2252 2200 Xworm5.4_rar.exe 96 PID 2200 wrote to memory of 2744 2200 Xworm5.4_rar.exe 99 PID 2200 wrote to memory of 2744 2200 Xworm5.4_rar.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\Xworm5.4_rar.exe"C:\Users\Admin\AppData\Local\Temp\Xworm5.4_rar.exe"1⤵
- Checks computer location settings
- Drops startup file
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2200 -
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\Xworm5.4_rar.exe'2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4620
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Xworm5.4_rar.exe'2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1128
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\XClient.exe'2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2252
-
-
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
PID:2744
-
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 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45
- MD5 d28a889fd956d5cb3accfbaf1143eb6f
- SHA1 157ba54b365341f8ff06707d996b3635da8446f7
- SHA512 0b6d88deb9be85722e6a78d5886d49f2caf407a59e128d2b4ed74c1356f9928c40048a62731959f2460e9ff9d9feee311043d2a37abe3bb92c2b76a44281478c
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 976f9534aa2976c85c2455bdde786a3f55d63aefdd40942eba1223c4c93590db
- MD5 b51dc9e5ec3c97f72b4ca9488bbb4462
- SHA1 5c1e8c0b728cd124edcacefb399bbd5e25b21bd3
- SHA512 0e5aa6cf64c535aefb833e5757b68e1094c87424abe2615a7d7d26b1b31eff358d12e36e75ca57fd690a9919b776600bf4c5c0e5a5df55366ba62238bdf3f280
- 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_plpmsteu.zwb.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512