Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::Make Your Virtual Machine Stealthy (VMWare + VBox) ::
- ::Created by RU$$ [http://russdev.mooo.com/] ::
- ::CREDITS: ::
- ::@Jim Browning [https://goo.gl/skhQPW] ::
- ::@Pckiddy/LukeSYT [https://goo.gl/D9Eh4b] ::
- ::@Compo [https://goo.gl/6eH85w] ::
- ::@EveryoneElse ::
- ::Fixed on [6/23/2018] - Fixed REG Permission Issue ::
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- @ECHO OFF
- @CD %~dp0
- @TITLE Make Your Virtual Machine Stealthy (VMWare + VBox)
- ::Check if CMD is open as admin
- NET SESSION >nul 2>&1
- IF %ERRORLEVEL% EQU 0 (goto :BEGIN) ELSE (goto :NOTADMIN)
- :NOTADMIN
- cls
- echo ERROR: You need to run as an Administrator!
- echo.
- pause
- exit.
- ::Code start
- :BEGIN
- cls
- If exist SetACL.exe (GOTO :EXISTS) else (GOTO :NOTEXISTS)
- :NOTEXISTS
- cls
- Echo You do not have the needed SetACL files in your dirrectory.
- Echo.
- SET INPUT=
- SET /P INPUT= Do you wish to download them from GitHub? (Y/N):
- IF /I '%INPUT%'=='Y' GOTO :DOWNLOAD
- IF /I '%INPUT%'=='y' GOTO :DOWNLOAD
- IF /I '%INPUT%'=='N' GOTO :CANCLED
- IF /I '%INPUT%'=='n' GOTO :CANCLED
- goto :NOTEXISTS
- :CANCLED
- cls
- Echo ERROR: You need to download the needed files. Now exiting.
- Echo.
- pause.
- exit
- :DOWNLOAD
- cls
- Echo STATUS: Now downloading the SetACL directory files..
- echo.
- echo Downloading File.
- powershell -Command "(New-Object Net.WebClient).DownloadFile('http://russdev.mooo.com/extra/SetACL.exe', '%~dp0SetACL.exe')"
- cls
- Echo STATUS: File(s) have downloaded successfully!
- Echo.
- Pause.
- GOTO :EXISTS
- :EXISTS
- Cls
- cd %~dp0
- ::Grab Name
- set CName=%computername%\%username%
- Echo We will now begin the changing of device names..
- echo.
- pause.
- Cls
- ::EDIT 1st ENTY
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e967-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "FriendlyName" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- SET NEWNAME=
- Echo Current name for VMDisk: %DeviceName[1]%
- echo.
- SET /P NEWNAME= Change your VMDisk name too:
- ::GRANT OWNER
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e967-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn setowner -ownr "n:%CName%"
- ::GRANT PERMS+ INHERITANCE (COMPLETE)
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e967-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn ace -ace "n:%CName%;p:full;i:so,sc"
- ::CHANGE VALUE
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e967-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do reg.exe add "%%A" /f /v "FriendlyName" /t REG_SZ /d "%NEWNAME%"
- :: Show finished stats for ENTY
- cls
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e967-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "FriendlyName" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- Echo Operation Complete! Your Device is now disguised as: %DeviceName[1]%
- Echo.
- Pause
- Cls
- ::EDIT 2nd ENTY
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e968-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "DeviceDesc" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- SET NEWNAME=
- Echo Current name for Display Adapter: %DeviceName[1]%
- echo.
- SET /P NEWNAME= Change your Display Adapter name too:
- ::GRANT OWNER
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e968-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn setowner -ownr "n:%CName%"
- ::GRANT PERMS+ INHERITANCE (COMPLETE)
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e968-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn ace -ace "n:%CName%;p:full;i:so,sc"
- ::CHANGE VALUE
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e968-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do reg.exe add "%%A" /f /v "DeviceDesc" /t REG_SZ /d "%NEWNAME%"
- :: Show finished stats for ENTY
- cls
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e968-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "DeviceDesc" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- Echo Operation Complete! Your Device is now disguised as: %DeviceName[1]%
- Echo.
- Pause
- Cls
- ::EDIT 3rd ENTY
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e965-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "FriendlyName" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- SET NEWNAME=
- Echo Current name for CDDevice: %DeviceName[1]%
- echo.
- SET /P NEWNAME= Change your CDDevice name too:
- ::GRANT OWNER
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e965-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn setowner -ownr "n:%CName%"
- ::GRANT PERMS+ INHERITANCE (COMPLETE)
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e965-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn ace -ace "n:%CName%;p:full;i:so,sc"
- ::CHANGE VALUE
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e965-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do reg.exe add "%%A" /f /v "FriendlyName" /t REG_SZ /d "%NEWNAME%"
- :: Show finished stats for ENTY
- cls
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e965-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "FriendlyName" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- Echo Operation Complete! Your Device is now disguised as: %DeviceName[1]%
- Echo.
- Pause
- Cls
- ::EDIT 4th ENTY
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e96f-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "DeviceDesc" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- SET NEWNAME=
- Echo Current name for Pointing Device: %DeviceName[1]%
- echo.
- SET /P NEWNAME= Change your Pointing Device name too:
- ::GRANT OWNER
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e96f-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn setowner -ownr "n:%CName%"
- ::GRANT PERMS+ INHERITANCE (COMPLETE)
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e96f-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do SetACL.exe -on "%%A" -ot reg -actn ace -ace "n:%CName%;p:full;i:so,sc"
- ::CHANGE VALUE
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^ /S /F "{4d36e96f-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"') Do reg.exe add "%%A" /f /v "DeviceDesc" /t REG_SZ /d "%NEWNAME%"
- :: Show finished stats for ENTY
- cls
- For /F "Delims==" %%A In ('Set DeviceName[ 2^>Nul') Do Set "%%A="
- Set "i=0"
- For /F "EOL= Delims=" %%A In ('Reg Query "HKLM\SYSTEM\CurrentControlSet\Enum"^
- /S /F "{4d36e96f-e325-11ce-bfc1-08002be10318}" /D^|Find /I "Enum"'
- ) Do Set /A i+=1 & For /F "Skip=1 Tokens=2*" %%B In ('Reg Query "%%A"^
- /V "DeviceDesc" 2^>Nul') Do Call Set DeviceName[%%i%%]=%%C
- Echo Operation Complete! Your Device is now disguised as: %DeviceName[1]%
- Echo.
- Pause
- cls
- Echo End of Device disguising.
- echo.
- pause.
- cls
- Echo
- if exist "%~dp0VBScript.reg" (
- del "%~dp0VBScript.reg"
- )
- if exist "%~dp0VMScript.reg" (
- del "%~dp0VMScript.reg"
- )
- :MENU
- cls
- Echo We are now going to disguise your VM Tools.
- Echo.
- SET INPUT=
- SET /P INPUT= Are you running VBOX or VMware (VB/VM):
- IF /I '%INPUT%'=='VB' GOTO :VBOX
- IF /I '%INPUT%'=='vb' GOTO :VBOX
- IF /I '%INPUT%'=='Vb' GOTO :VBOX
- IF /I '%INPUT%'=='vB' GOTO :VBOX
- IF /I '%INPUT%'=='VM' GOTO :VMWARE
- IF /I '%INPUT%'=='vm' GOTO :VMWARE
- IF /I '%INPUT%'=='Vm' GOTO :VMWARE
- IF /I '%INPUT%'=='vM' GOTO :VMWARE
- goto :MENU
- :VBOX
- cls
- echo Generating script..
- ::TEXT GEN-SCRIPT START
- echo Windows Registry Editor Version 5.00 >> "%~dp0VBScript.reg"
- echo. >> "%~dp0VBScript.reg"
- echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\VBoxService] >> "%~dp0VBScript.reg"
- echo "Type"=dword:00000010 >> "%~dp0VBScript.reg"
- echo "Start"=dword:00000002 >> "%~dp0VBScript.reg"
- echo "ErrorControl"=dword:00000001 >> "%~dp0VBScript.reg"
- echo "Tag"=dword:00000016 >> "%~dp0VBScript.reg"
- echo "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ >> "%~dp0VBScript.reg"
- echo 74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,56,\ >> "%~dp0VBScript.reg"
- echo 00,42,00,6f,00,78,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,2e,00,65,00,\ >> "%~dp0VBScript.reg"
- echo 78,00,65,00,00,00 >> "%~dp0VBScript.reg"
- echo "DisplayName"="Microsoft Additions Service" >> "%~dp0VBScript.reg"
- echo "Group"="Base" >> "%~dp0VBScript.reg"
- echo "ObjectName"="LocalSystem" >> "%~dp0VBScript.reg"
- echo "Description"="Manages runtime information, time synchronization, remote sysprep execution and miscellaneous utilities for guest operating systems." >> "%~dp0VBScript.reg"
- echo. >> "%~dp0VBScript.reg"
- echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\VBoxService] >> "%~dp0VBScript.reg"
- echo "Type"=dword:00000010 >> "%~dp0VBScript.reg"
- echo "Start"=dword:00000002 >> "%~dp0VBScript.reg"
- echo "ErrorControl"=dword:00000001 >> "%~dp0VBScript.reg"
- echo "Tag"=dword:00000016 >> "%~dp0VBScript.reg"
- echo "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ >> "%~dp0VBScript.reg"
- echo 74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,56,\ >> "%~dp0VBScript.reg"
- echo 00,42,00,6f,00,78,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,2e,00,65,00,\ >> "%~dp0VBScript.reg"
- echo 78,00,65,00,00,00 >> "%~dp0VBScript.reg"
- echo "DisplayName"="Guest Additions Service" >> "%~dp0VBScript.reg"
- echo "Group"="Base" >> "%~dp0VBScript.reg"
- echo "ObjectName"="LocalSystem" >> "%~dp0VBScript.reg"
- echo "Description"="Manages runtime information, time synchronization, remote sysprep execution and miscellaneous utilities for guest operating systems." >> "%~dp0VBScript.reg"
- echo. >> "%~dp0VBScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oracle VM VirtualBox Guest Additions] >> "%~dp0VBScript.reg"
- echo "DisplayName"="Microsoft .NET Framework 3.1" >> "%~dp0VBScript.reg"
- echo "UninstallString"="C:\\Program Files\\Oracle\\VirtualBox Guest Additions\\uninst.exe" >> "%~dp0VBScript.reg"
- echo "DisplayVersion"="5.1.14.0" >> "%~dp0VBScript.reg"
- echo "URLInfoAbout"="http://www.virtualbox.org" >> "%~dp0VBScript.reg"
- echo "Publisher"="Microsoft Corporation" >> "%~dp0VBScript.reg"
- ::END TEXT GEN-SCRIPT
- if exist "%~dp0VBScript.reg" (
- regedit.exe /S VBScript.reg
- del "%~dp0VBScript.reg"
- )
- cls
- Echo Script was downloaded and executed successful!
- echo.
- pause.
- goto :FIN
- :VMWARE
- cls
- echo Generating script..
- ::TEXT GEN-SCRIPT START
- echo Windows Registry Editor Version 5.00 >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\43F974C0D0E8C1C4D9CA1C70A1C60570\InstallProperties] >> "%~dp0VMScript.reg"
- echo "LocalPackage"="C:\\Windows\\Installer\\124ec.msi" >> "%~dp0VMScript.reg"
- echo "AuthorizedCDFPrefix"="" >> "%~dp0VMScript.reg"
- echo "Comments"="Build " >> "%~dp0VMScript.reg"
- echo "Contact"="" >> "%~dp0VMScript.reg"
- echo "DisplayVersion"="8.1.30629.3138" >> "%~dp0VMScript.reg"
- echo "HelpLink"="" >> "%~dp0VMScript.reg"
- echo "HelpTelephone"="" >> "%~dp0VMScript.reg"
- echo "InstallDate"="20170205" >> "%~dp0VMScript.reg"
- echo "InstallLocation"="C:\\Program Files\\VMware\\VMware Tools\\" >> "%~dp0VMScript.reg"
- echo "InstallSource"="C:\\Users\\Admin\\AppData\\Local\\Temp\\{0C479F34-8E0D-4C1C-9DAC-C1071A6C5007}~setup\\" >> "%~dp0VMScript.reg"
- echo "ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\ >> "%~dp0VMScript.reg"
- echo 00,65,00,20,00,2f,00,49,00,7b,00,30,00,43,00,34,00,37,00,39,00,46,00,33,00,\ >> "%~dp0VMScript.reg"
- echo 34,00,2d,00,38,00,45,00,30,00,44,00,2d,00,34,00,43,00,31,00,43,00,2d,00,39,\ >> "%~dp0VMScript.reg"
- echo 00,44,00,41,00,43,00,2d,00,43,00,31,00,30,00,37,00,31,00,41,00,36,00,43,00,\ >> "%~dp0VMScript.reg"
- echo 35,00,30,00,30,00,37,00,7d,00,00,00 >> "%~dp0VMScript.reg"
- echo "Publisher"="Microsoft Corporation" >> "%~dp0VMScript.reg"
- echo "Readme"="" >> "%~dp0VMScript.reg"
- echo "Size"="" >> "%~dp0VMScript.reg"
- echo "EstimatedSize"=dword:0001685f >> "%~dp0VMScript.reg"
- echo "UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\ >> "%~dp0VMScript.reg"
- echo 78,00,65,00,20,00,2f,00,49,00,7b,00,30,00,43,00,34,00,37,00,39,00,46,00,33,\ >> "%~dp0VMScript.reg"
- echo 00,34,00,2d,00,38,00,45,00,30,00,44,00,2d,00,34,00,43,00,31,00,43,00,2d,00,\ >> "%~dp0VMScript.reg"
- echo 39,00,44,00,41,00,43,00,2d,00,43,00,31,00,30,00,37,00,31,00,41,00,36,00,43,\ >> "%~dp0VMScript.reg"
- echo 00,35,00,30,00,30,00,37,00,7d,00,00,00 >> "%~dp0VMScript.reg"
- echo "URLInfoAbout"="" >> "%~dp0VMScript.reg"
- echo "URLUpdateInfo"="" >> "%~dp0VMScript.reg"
- echo "VersionMajor"=dword:0000000a >> "%~dp0VMScript.reg"
- echo "VersionMinor"=dword:00000000 >> "%~dp0VMScript.reg"
- echo "WindowsInstaller"=dword:00000001 >> "%~dp0VMScript.reg"
- echo "Version"=dword:0a00000a >> "%~dp0VMScript.reg"
- echo "Language"=dword:00000409 >> "%~dp0VMScript.reg"
- echo "DisplayName"="Microsoft Visual C++ 2005 Redistributable - x86 8.1.30629.3138" >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0C479F34-8E0D-4C1C-9DAC-C1071A6C5007}] >> "%~dp0VMScript.reg"
- echo "AuthorizedCDFPrefix"="" >> "%~dp0VMScript.reg"
- echo "Comments"="Build " >> "%~dp0VMScript.reg"
- echo "Contact"="" >> "%~dp0VMScript.reg"
- echo "DisplayVersion"="8.1.30629.3138" >> "%~dp0VMScript.reg"
- echo "HelpLink"="" >> "%~dp0VMScript.reg"
- echo "HelpTelephone"="" >> "%~dp0VMScript.reg"
- echo "InstallDate"="20170205" >> "%~dp0VMScript.reg"
- echo "InstallLocation"="C:\\Program Files\\VMware\\VMware Tools\\" >> "%~dp0VMScript.reg"
- echo "InstallSource"="C:\\Users\\Admin\\AppData\\Local\\Temp\\{0C479F34-8E0D-4C1C-9DAC-C1071A6C5007}~setup\\" >> "%~dp0VMScript.reg"
- echo "ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\ >> "%~dp0VMScript.reg"
- echo 00,65,00,20,00,2f,00,49,00,7b,00,30,00,43,00,34,00,37,00,39,00,46,00,33,00,\ >> "%~dp0VMScript.reg"
- echo 34,00,2d,00,38,00,45,00,30,00,44,00,2d,00,34,00,43,00,31,00,43,00,2d,00,39,\ >> "%~dp0VMScript.reg"
- echo 00,44,00,41,00,43,00,2d,00,43,00,31,00,30,00,37,00,31,00,41,00,36,00,43,00,\ >> "%~dp0VMScript.reg"
- echo 35,00,30,00,30,00,37,00,7d,00,00,00 >> "%~dp0VMScript.reg"
- echo "Publisher"="Microsoft Corporation" >> "%~dp0VMScript.reg"
- echo "Readme"="" >> "%~dp0VMScript.reg"
- echo "Size"="" >> "%~dp0VMScript.reg"
- echo "EstimatedSize"=dword:0001685f >> "%~dp0VMScript.reg"
- echo "UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\ >> "%~dp0VMScript.reg"
- echo 78,00,65,00,20,00,2f,00,49,00,7b,00,30,00,43,00,34,00,37,00,39,00,46,00,33,\ >> "%~dp0VMScript.reg"
- echo 00,34,00,2d,00,38,00,45,00,30,00,44,00,2d,00,34,00,43,00,31,00,43,00,2d,00,\ >> "%~dp0VMScript.reg"
- echo 39,00,44,00,41,00,43,00,2d,00,43,00,31,00,30,00,37,00,31,00,41,00,36,00,43,\ >> "%~dp0VMScript.reg"
- echo 00,35,00,30,00,30,00,37,00,7d,00,00,00 >> "%~dp0VMScript.reg"
- echo "URLInfoAbout"="" >> "%~dp0VMScript.reg"
- echo "URLUpdateInfo"="" >> "%~dp0VMScript.reg"
- echo "VersionMajor"=dword:0000000a >> "%~dp0VMScript.reg"
- echo "VersionMinor"=dword:00000000 >> "%~dp0VMScript.reg"
- echo "WindowsInstaller"=dword:00000001 >> "%~dp0VMScript.reg"
- echo "Version"=dword:0a00000a >> "%~dp0VMScript.reg"
- echo "Language"=dword:00000409 >> "%~dp0VMScript.reg"
- echo "DisplayName"="Microsoft Visual C++ 2005 Redistributable - x86 8.1.30629.3138" >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\43F974C0D0E8C1C4D9CA1C70A1C60570] >> "%~dp0VMScript.reg"
- echo "ProductName"="Microsoft Visual C++ 2005 Redistributable - x86 8.1.30629.3138" >> "%~dp0VMScript.reg"
- echo "PackageCode"="769916177BF4A6642B24C24DE19F5D48" >> "%~dp0VMScript.reg"
- echo "Language"=dword:00000409 >> "%~dp0VMScript.reg"
- echo "Version"=dword:0a00000a >> "%~dp0VMScript.reg"
- echo "Assignment"=dword:00000001 >> "%~dp0VMScript.reg"
- echo "AdvertiseFlags"=dword:00000184 >> "%~dp0VMScript.reg"
- echo "ProductIcon"="C:\\Windows\\Installer\\{0C479F34-8E0D-4C1C-9DAC-C1071A6C5007}" >> "%~dp0VMScript.reg"
- echo "InstanceType"=dword:00000000 >> "%~dp0VMScript.reg"
- echo "AuthorizedLUAApp"=dword:00000000 >> "%~dp0VMScript.reg"
- echo "DeploymentFlags"=dword:00000003 >> "%~dp0VMScript.reg"
- echo "Clients"=hex(7):3a,00,00,00,00,00 >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\43F974C0D0E8C1C4D9CA1C70A1C60570\SourceList] >> "%~dp0VMScript.reg"
- echo "PackageName"="VMware Tools64.msi" >> "%~dp0VMScript.reg"
- echo "LastUsedSource"=hex(2):6e,00,3b,00,31,00,3b,00,43,00,3a,00,5c,00,55,00,73,00,\ >> "%~dp0VMScript.reg"
- echo 65,00,72,00,73,00,5c,00,41,00,64,00,6d,00,69,00,6e,00,5c,00,41,00,70,00,70,\ >> "%~dp0VMScript.reg"
- echo 00,44,00,61,00,74,00,61,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,5c,00,54,00,\ >> "%~dp0VMScript.reg"
- echo 65,00,6d,00,70,00,5c,00,7b,00,30,00,43,00,34,00,37,00,39,00,46,00,33,00,34,\ >> "%~dp0VMScript.reg"
- echo 00,2d,00,38,00,45,00,30,00,44,00,2d,00,34,00,43,00,31,00,43,00,2d,00,39,00,\ >> "%~dp0VMScript.reg"
- echo 44,00,41,00,43,00,2d,00,43,00,31,00,30,00,37,00,31,00,41,00,36,00,43,00,35,\ >> "%~dp0VMScript.reg"
- echo 00,30,00,30,00,37,00,7d,00,7e,00,73,00,65,00,74,00,75,00,70,00,5c,00,00,00 >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\43F974C0D0E8C1C4D9CA1C70A1C60570\SourceList\Media] >> "%~dp0VMScript.reg"
- echo "1"=";" >> "%~dp0VMScript.reg"
- echo "2"=";" >> "%~dp0VMScript.reg"
- echo "3"=";" >> "%~dp0VMScript.reg"
- echo "4"=";" >> "%~dp0VMScript.reg"
- echo "5"=";" >> "%~dp0VMScript.reg"
- echo "6"=";" >> "%~dp0VMScript.reg"
- echo "7"=";" >> "%~dp0VMScript.reg"
- echo "8"=";" >> "%~dp0VMScript.reg"
- echo "9"=";" >> "%~dp0VMScript.reg"
- echo "10"=";" >> "%~dp0VMScript.reg"
- echo "11"=";" >> "%~dp0VMScript.reg"
- echo "12"=";" >> "%~dp0VMScript.reg"
- echo "13"=";" >> "%~dp0VMScript.reg"
- echo "14"=";" >> "%~dp0VMScript.reg"
- echo "15"=";" >> "%~dp0VMScript.reg"
- echo "17"=";" >> "%~dp0VMScript.reg"
- echo "18"=";" >> "%~dp0VMScript.reg"
- echo "19"=";" >> "%~dp0VMScript.reg"
- echo "20"=";" >> "%~dp0VMScript.reg"
- echo "21"=";" >> "%~dp0VMScript.reg"
- echo "22"=";" >> "%~dp0VMScript.reg"
- echo. >> "%~dp0VMScript.reg"
- echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\43F974C0D0E8C1C4D9CA1C70A1C60570\SourceList\Net] >> "%~dp0VMScript.reg"
- echo "1"=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,41,00,64,00,\ >> "%~dp0VMScript.reg"
- echo 6d,00,69,00,6e,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,\ >> "%~dp0VMScript.reg"
- echo 00,6f,00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,5c,00,7b,00,30,00,\ >> "%~dp0VMScript.reg"
- echo 43,00,34,00,37,00,39,00,46,00,33,00,34,00,2d,00,38,00,45,00,30,00,44,00,2d,\ >> "%~dp0VMScript.reg"
- echo 00,34,00,43,00,31,00,43,00,2d,00,39,00,44,00,41,00,43,00,2d,00,43,00,31,00,\ >> "%~dp0VMScript.reg"
- echo 30,00,37,00,31,00,41,00,36,00,43,00,35,00,30,00,30,00,37,00,7d,00,7e,00,73,\ >> "%~dp0VMScript.reg"
- echo 00,65,00,74,00,75,00,70,00,5c,00,00,00 >> "%~dp0VMScript.reg"
- ::END TEXT GEN-SCRIPT
- if exist "%~dp0VMScript.reg" (
- regedit.exe /S VMScript.reg
- del "%~dp0VMScript.reg"
- )
- cls
- Echo Script was downloaded and executed successful!
- echo.
- pause.
- goto :FIN
- :FIN
- cls
- if exist "%~dp0VBBios.bat" (
- del "%~dp0VBBios.bat"
- )
- if exist "%~dp0VMBios.bat" (
- del "%~dp0VMBios.bat"
- )
- :BIOSM
- cls
- Echo Would you like to generate script's for BIOS spoofing?
- Echo These scripts can be used on your host machine to-
- Echo Change the bios name exc.
- Echo.
- SET INPUT=
- SET /P INPUT= Do you wish to generate scipt (Y/N):
- IF /I '%INPUT%'=='Y' GOTO :BIOS
- IF /I '%INPUT%'=='y' GOTO :BIOS
- IF /I '%INPUT%'=='N' GOTO :SKIP
- IF /I '%INPUT%'=='n' GOTO :SKIP
- goto :BIOSM
- :BIOS
- cls
- Echo Would you like to generate script's for BIOS spoofing?
- Echo These scripts can be used on your host machine to-
- Echo Change the bios name exc.
- Echo.
- SET INPUT=
- SET /P INPUT= Are you running VBOX or VMware (VB/VM):
- IF /I '%INPUT%'=='VB' GOTO :VBOX2
- IF /I '%INPUT%'=='vb' GOTO :VBOX2
- IF /I '%INPUT%'=='Vb' GOTO :VBOX2
- IF /I '%INPUT%'=='vB' GOTO :VBOX2
- IF /I '%INPUT%'=='VM' GOTO :VMWARE2
- IF /I '%INPUT%'=='vm' GOTO :VMWARE2
- IF /I '%INPUT%'=='Vm' GOTO :VMWARE2
- IF /I '%INPUT%'=='vM' GOTO :VMWARE2
- goto :BIOS
- :VBOX2
- cls
- ::TEXT GEN-SCRIPT START
- echo @ECHO OFF >> "%~dp0VBBios.bat"
- echo CD C:\Program Files\Oracle\VirtualBox >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo Echo Change Your VBOX Bios Names. >> "%~dp0VBBios.bat"
- echo echo. >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo SET VMNameX= >> "%~dp0VBBios.bat"
- echo SET /P VMNameX= Name of your VM: >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo SET SystemVendor= >> "%~dp0VBBios.bat"
- echo SET /P SystemVendor= Create a SystemVendor name: >> "%~dp0VBBios.bat"
- echo VBoxManage.exe setextradata "%%VMNameX%%" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "%%SystemVendor%%" >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo SET SystemProduct= >> "%~dp0VBBios.bat"
- echo SET /P SystemProduct= Create a SystemProduct name: >> "%~dp0VBBios.bat"
- echo VBoxManage.exe setextradata "%%VMNameX%%" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "%%SystemProduct%%" >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo SET BIOSVendor= >> "%~dp0VBBios.bat"
- echo SET /P BIOSVendor= Create a BIOSVendor name: >> "%~dp0VBBios.bat"
- echo VBoxManage.exe setextradata "%%VMNameX%%" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" "%%BIOSVendor%%" >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo SET BIOSVersion= >> "%~dp0VBBios.bat"
- echo SET /P BIOSVersion= Create a BIOSVersion name: >> "%~dp0VBBios.bat"
- echo VBoxManage.exe setextradata "%%VMNameX%%" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" "%%BIOSVersion%%" >> "%~dp0VBBios.bat"
- echo. >> "%~dp0VBBios.bat"
- echo cls >> "%~dp0VBBios.bat"
- echo Echo Bios settings have been changed! >> "%~dp0VBBios.bat"
- echo Echo. >> "%~dp0VBBios.bat"
- echo Pause. >> "%~dp0VBBios.bat"
- echo exit. >> "%~dp0VBBios.bat"
- ::END TEXT GEN-SCRIPT
- cls
- Echo VBBios.bat has been generated to batch location!
- echo.
- pause.
- goto :SKIP
- :VMWARE2
- cls
- ::TEXT GEN-SCRIPT START
- echo @ECHO OFF >> "%~dp0VMBios.bat"
- echo CD C:\Program Files (x86)\VMware\VMware Workstation\ >> "%~dp0VMBios.bat"
- echo echo.^>^> setting.txt >> "%~dp0VMBios.bat"
- echo echo SMBIOS.reflectHost = "TRUE"^>^> setting.txt >> "%~dp0VMBios.bat"
- echo. >> "%~dp0VMBios.bat"
- echo cls >> "%~dp0VMBios.bat"
- echo Echo Bios settings have been changed! >> "%~dp0VMBios.bat"
- echo Echo. >> "%~dp0VMBios.bat"
- echo Pause. >> "%~dp0VMBios.bat"
- echo exit. >> "%~dp0VMBios.bat"
- ::END TEXT GEN-SCRIPT
- cls
- Echo VBMBios.bat has been generated to batch location!
- echo.
- pause.
- goto :SKIP
- :SKIP
- cls
- Echo Would you like to visit https://ninite.com/?
- Echo This website allows you to install mass programs-
- Echo on your VM at once.
- Echo.
- SET INPUT=
- SET /P INPUT= Do you wish to open in browser (Y/N):
- IF /I '%INPUT%'=='Y' GOTO :OPN
- IF /I '%INPUT%'=='y' GOTO :OPN
- IF /I '%INPUT%'=='N' GOTO :FINISHED
- IF /I '%INPUT%'=='n' GOTO :FINISHED
- goto :SKIP
- :OPN
- cls
- Echo Launching site..
- explorer "https://ninite.com/"
- cls
- echo Site was launched.
- echo.
- pause.
- goto :FINISHED
- :FINISHED
- cls
- Echo The system disguising has completed.
- echo.
- pause.
- goto :EXT
- :EXT
- cls
- SET INPUT=
- SET /P INPUT= Do you wish to reboot your PC (Y/N):
- IF /I '%INPUT%'=='Y' shutdown /r /t 0
- IF /I '%INPUT%'=='y' shutdown /r /t 0
- IF /I '%INPUT%'=='N' exit
- IF /I '%INPUT%'=='n' exit
- goto :EXT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement