VortX
2005
I warn you: This is the first tutorial i have ever written, so i guess it will be a bit shit!
Python is a freeware powerful interpreted programming language available for most operating systems. It is object-oriented, interactive, portable and easy to learn. It is also popular as a CGI scripting language, as its capabilities compare favorably with those of Perl (Not that i code perl) It can be interpreted in a number of operating systems, this makes very good idea for future viruses So erm, lets go!
Here i will show you a small appender. Appenders are a type of standard file infection along with prepender and the lame overwriters (that no one really likes!) Damnit :p Appending means to write the virus code after the normal code, therefore, the virus is run after the hostcode.
Here is how it works:
Why it has 2 markers: Well, the ones you notice the most are the virus code markers, we use these to know what code to infect other files with. The virus will only copy the code that has "#!" at the end of each line, understand? there are other ways of doing this but blah it works Then we have the infection marker "-=::Vort3x::=-" this is so we can see if the file has already been infected. If we dont use any infection marker, bad things will happen!! Such as your virus re-appending to files. :O Then you end up with HUGE files, growing in size each time its executed!
Prependers are again standard infection types. All this does is add its code to the top of the infected file
So:
Hmm hope that makes sense? its really easy.. think about it, play with the code
This method is easy and common in scripting languages. We change the code to its ASCII numbers. Erm apart from spending hours encrypting it.. its easy Thats why its a good idea to make your own encryption tool Made mine in VB, it saved time!!!! Very Happy but i think there is something like that on VX Heaven, if you cant make your own? but you will need to play with the code a bit to make it work in python.
This code has the "Raw_input" command (used for asking user input) but "print" neva seems to work :/ Anywayz, its impossible to read this or know what it is unless you decrypt it all. the code uses a command called "eval" eval is a function which evaluates a string as though it were an expression and returns a result, we use it to run commands... this is used alot in encryption!
Setting your own variable for each character (set of characters)
Nothing much to say about that, its another encryption.
It adds random trash code in each line at a random lengh. Hmm i hate to say it but this code is pretty lame! it does not add its code in random area's But i think it gives a good idea of poly in python!
Yokay, ill explain
First we import the "Random module"
Then we set some random characters / numbers, into the "Trash" variable
Then we set the lengh of the random trash (the lengh is also random for 10 - 20)
Then we write our virus code to the host.
Then we put a comment marker for the trash (bcoz trash is not supposed to be executed!) we space each line in the infected file and add random characters a random lengh from the trash variable into that line, please understand! its not hard
Its very very easy i think! It helps if you learn a little python first befor you start bitching about not understanding the code because im not about to answer emails asking me what each and every line does! im busy with trying to get into a college :/
Hmmm i have been typing this out for almost 2 hours, so, i dont really want to say much more But, i think Python is a cool language, there is a lot to be done yet. I'd like to see more python viruses lazy arse bastards! I should have done more, but only today i started learning python again after almost 3 months! :p Please tell me about any bugs in my code (yea yea!)
Big huge YOUR THE BEST to SPTH my idol! thx for all the help!!!!!!.. and yes.. im annoying!
HoneyHeart........... for being a good friend LL............. She;s cool lolz, i still want ur number Sinclair........... for allowing me in DCA chan, not that i often go there :/ Blueowl............ For helping me for some time. hurm1t............ he;s got everything.. worship him thnx for your sources.. nice! Nova.......... Lush graphics for my desktop thank me for all the girls you bastard > Blueprint............. for hosting my little scripts Blank.................. for hosting this tutorial *havnt asked yet* but he WILL *Gets the knife* he will!!!! dr3f.................... Fucking cock sucker!!!!! AngelArt............. for being a friend awwww we are all waitng for your script! Female programmers exist! Muazzin.............. where the fuck are you? wanted to talk to me, next day ur GONE! :/ Thugstyle................ haha Very Happy Shree............... did you ENJOY sending porn from MY account!!! wrong time of the month?
And others.. that im afraid to list :X like bliss but he sux so who cares :p
Contact: STFU
[Back to index] [Comments (0)]