├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── Malwarebytes-Premium-Reset.bat ├── Malwarebytes-Premium-Reset.ps1 └── README.md /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /Malwarebytes-Premium-Reset.bat: -------------------------------------------------------------------------------- 1 | :: ================================================== 2 | :: Malwarebytes-Premium-Reset v13.0 3 | :: ================================================== 4 | :: Dev - Scut1ny 5 | :: Help - AmmarSAA & firebirdjsb 6 | :: Link - https://github.com/Scrut1ny/Malwarebytes-Premium-Reset 7 | :: 8 | :: Note: using this will wipe all your Malwarebytes settings 9 | :: 10 | :: changelog for v13.0: Refactered 11 | :: ================================================== 12 | 13 | 14 | @echo off 15 | title Malwarebytes-Premium-Reset ^| v13.0 16 | 17 | :: Check for administrator privileges 18 | fltmc >nul 2>&1 || ( 19 | echo( && echo # Administrator privileges are required. && echo( 20 | PowerShell Start -Verb RunAs '%0' 2> nul || ( 21 | echo # Right-click on the script and select "Run as administrator". 22 | >nul pause && exit 1 23 | ) 24 | exit 0 25 | ) 26 | 27 | setlocal 28 | 29 | :: Define paths 30 | set "MBAM_PATH_X86=%PROGRAMFILES(X86)%\Malwarebytes\Anti-Malware\malwarebytes_assistant.exe" 31 | set "MBAM_PATH_X64=%PROGRAMFILES%\Malwarebytes\Anti-Malware\malwarebytes_assistant.exe" 32 | 33 | :: Output header 34 | cls && echo [\033[94mMalwarebytes\033[0m: \033[33mPremium\033[0m - [\033[31mBYPASS\033[0m] 35 | echo -------------------------------- 36 | 37 | :: Kill Malwarebytes processes 38 | if exist "%MBAM_PATH_X86%" ( 39 | "%MBAM_PATH_X86%" --stopservice 40 | ) else if exist "%MBAM_PATH_X64%" ( 41 | "%MBAM_PATH_X64%" --stopservice 42 | ) else ( 43 | echo Malwarebytes assistant not found in the expected locations. 44 | exit /b 1 45 | ) 46 | 47 | taskkill /f /im MBAMService.exe 48 | 49 | echo Processes have been killed. 50 | timeout /t 5 >nul 51 | 52 | :: Check and delete old scheduled task 53 | echo [+] Querying scheduled task... 54 | timeout /t 5 >nul 55 | schtasks /query /tn "Malwarebytes-Premium-Reset" >nul 2>&1 56 | 57 | if %errorlevel% equ 0 ( 58 | echo [\033[93m!\033[0m] Scheduled task already exists 59 | echo [+] Deleting old task... 60 | timeout /t 5 >nul 61 | schtasks /delete /tn "Malwarebytes-Premium-Reset" /f >nul 2>&1 62 | echo [+] Old task deleted. 63 | timeout /t 2 >nul 64 | ) 65 | 66 | :: Create new scheduled task 67 | echo [+] Creating scheduled task... 68 | timeout /t 3 >nul 69 | for /f %%a in ('powershell -c "[guid]::NewGuid().ToString()"') do ( 70 | reg add "HKLM\SOFTWARE\Microsoft\Cryptography" /v "MachineGuid" /t REG_SZ /d "%%a" /f >nul 71 | ) 72 | 73 | schtasks /create /tn "Malwarebytes-Premium-Reset" /tr "\"%comspec%\" /c \"echo Task executed\"" /sc daily /mo 13 /rl highest >nul 2>&1 74 | echo [+] Scheduled task created. 75 | timeout /t 3 >nul 76 | 77 | :: Run the scheduled task 78 | cls 79 | echo [\033[94mMalwarebytes\033[0m: \033[33mPremium\033[0m - [\033[31mBYPASS\033[0m] 80 | echo -------------------------------- 81 | echo [+] Running the task... 82 | timeout /t 5 >nul 83 | schtasks /run /tn "Malwarebytes-Premium-Reset" >nul 2>&1 84 | echo [+] Task executed. 85 | timeout /t 5 >nul 86 | 87 | :: Restart Malwarebytes processes 88 | cls && echo [\033[94mMalwarebytes\033[0m: \033[33mPremium\033[0m - [\033[31mBYPASS\033[0m] 89 | echo -------------------------------- 90 | echo [+] Restarting Mbam Processes... 91 | timeout /t 3 >nul 92 | if exist "%MBAM_PATH_X86%" ( 93 | start "" "%MBAM_PATH_X86%" >nul 2>&1 94 | ) else if exist "%MBAM_PATH_X64%" ( 95 | start "" "%MBAM_PATH_X64%" >nul 2>&1 96 | ) else ( 97 | echo Malwarebytes assistant not found in the expected locations. 98 | exit /b 1 99 | ) 100 | timeout /t 5 >nul 101 | 102 | start "" "%~dp0MBSetup.exe" 103 | 104 | pause && echo [+] Done, thank you for using this trial resetter. 105 | 106 | endlocal 107 | -------------------------------------------------------------------------------- /Malwarebytes-Premium-Reset.ps1: -------------------------------------------------------------------------------- 1 | ######################################################################################################## 2 | # # 3 | # File Name: Malware-Byte-Premium-Reset.ps1 # Output: Schedule a task that resets the # 4 | # Author: Ammar S.A.A # Malwarebytes Premium trial by changing the # 5 | # Version: 2.6 # MachineGuid registry value # 6 | # # 7 | ######################################################################################################## 8 | # https://github.com/ammarsaa/Malwarebytes-Premium-Reset # 9 | ######################################################################################################## 10 | 11 | # Check if the script is running with elevated privileges 12 | $isAdmin = ([Security.Principal.WindowsIdentity]::GetCurrent()).groups -match "S-1-5-32-544" 13 | if (-not $isAdmin) { 14 | Write-Host "This script requires elevated privileges. Please run it as an administrator." 15 | Read-Host -Prompt "Press Enter to exit..." 16 | Exit 17 | } 18 | 19 | # Define the task name, path, and description 20 | $taskName = "Malwarebytes-Premium-Reset" 21 | $taskPath = "\" 22 | $taskDescription = "A task that resets the Malwarebytes Premium trial by changing the MachineGuid registry value" 23 | 24 | # Get the current time in HH:mm format 25 | $currentTime = (Get-Date).ToString("HH:mm") 26 | 27 | # Define the PowerShell script for the task action 28 | $powerShellScript = { 29 | New-Guid | ForEach-Object { 30 | Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Cryptography' -Name 'MachineGuid' -Value $_.Guid 31 | } 32 | } 33 | 34 | # Define the task action 35 | $taskAction = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-Command $powerShellScript" 36 | 37 | # Define the task trigger, which is daily every 13 days at the current system time 38 | $taskTrigger = New-ScheduledTaskTrigger -Daily -DaysInterval 13 -At $currentTime 39 | $currentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name 40 | 41 | # Define the task settings, which are to run with the highest privileges and start as soon as possible if missed 42 | $taskSettings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries 43 | $taskPrincipal = New-ScheduledTaskPrincipal -UserId $currentUser -RunLevel Highest 44 | 45 | # Create the task object with the specified action, triggers, settings, and other properties 46 | $task = New-ScheduledTask -Action $taskAction -Principal $taskPrincipal -Trigger $taskTrigger -Settings $taskSettings -Description $taskDescription 47 | 48 | # Register the task with the specified name, path, and current user 49 | $result = Register-ScheduledTask -TaskName $taskName -TaskPath $taskPath -InputObject $task 50 | 51 | if ($result) { 52 | Write-Host "Yay! Task Scheduled Successfully." 53 | } else { 54 | Write-Host "Oops! Task Failed To Be Scheduled." 55 | } 56 | 57 | # Code for checking if the task was completed successfully 58 | $taskRunResult = Get-ScheduledTask -TaskName $taskName | Get-ScheduledTaskInfo 59 | 60 | switch ($taskRunResult.LastTaskResult) { 61 | 0 { 62 | Write-Host "Last Run Status: Malwarebytes Trial Was Resetted Successfully." 63 | } 64 | 267011 { 65 | Write-Host "Status: Task has never ran but exists." 66 | } 67 | default { 68 | Write-Host "Last Run Status: Malwarebytes Trial Reset Failed. Last Result: $($taskRunResult.LastTaskResult)" 69 | } 70 | } 71 | 72 | # Keeps the window open 73 | Read-Host -Prompt "Press Enter to exit..." 74 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MachineGuid Spoof Guide 2 | 3 | Simple steps to manually spoof the `MachineGuid` in `HKLM\SOFTWARE\Microsoft\Cryptography`. 4 | 5 | --- 6 | 7 | ## **Using Command Prompt (CMD)** 8 | 1. **Run as Administrator**: 9 | Right-click CMD > *Run as administrator*. 10 | 11 | 2. **Generate & Set New GUID**: 12 | Paste this command: 13 | ```cmd 14 | for /f %g in ('powershell -command "[guid]::NewGuid().ToString()"') do reg add "HKLM\SOFTWARE\Microsoft\Cryptography" /v MachineGuid /t REG_SZ /d "%g" /f 15 | ``` 16 | 17 | ## **Using PowerShell** 18 | 1. **Run as Administrator**: 19 | Right-click PowerShell > *Run as administrator*. 20 | 21 | 2. **Generate & Set New GUID**: 22 | Paste this command: 23 | ```powershell 24 | New-Guid | ForEach-Object { Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Cryptography" -Name "MachineGuid" -Value $_.Guid } 25 | ``` 26 | 27 | ⚠️ **Note**: 28 | - Requires admin privileges. 29 | - Changing `MachineGuid` may affect software/services relying on it. 30 | - Use at your own risk. 31 | --------------------------------------------------------------------------------