![]() |
|
[.NET] (Basic) Infect EXE Module - VB.NET - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] (Basic) Infect EXE Module - VB.NET (/showthread.php?tid=490473) |
(Basic) Infect EXE Module - VB.NET - pr3fix - Jun 19, 2010 Infect EXE Module BY: Pr3fix Hello everyone. This is just simple and very basic module that I wrote few minutes ago. I was bored so I wrote it, took me around 10 minutes. Anyways, you can easily mod this, it's just replacing the real EXE with your malware. If you use, give credits. Thanks a lot! π Source Code: Code Module moduleInfectUsage: Code Call InfectItHow does this work?: Basically, this application will download the malware from URL you typed in. After that, it will store it in Temp and search for files in Program Files folder and replace their .EXE with malware's. Also, before it replace.. it will check is file used by any other process or something. If it isn't replace else, just continue. Basically, that is how this works like. Hope you will like it! Best Regards! π - pr3fix * - Vorfin - Jun 19, 2010 Can I just ask. Why? I mean, they have to run this, so they are infected then. All good viruses use Mutex, so they only run once, so what good would having them run it 500 times because all their games are now viruses. * - Bitwin - Jun 19, 2010 Haha, I actually made something like this today: * - pr3fix - Jun 19, 2010 (Jun 19, 2010 06:46 AM)Vorfin Wrote: Can I just ask. Why? I mean, they have to run this, so they are infected then. All good viruses use Mutex, so they only run once, so what good would having them run it 500 times because all their games are now viruses. Because I don't want to release my private one. :3 Plus, I was bored. * - newbie223 - Jun 19, 2010 nice idea but i seriusly dun see this going anywhere realy might as well infect the mother fucker once agreed with vorfin point * - GoldStar - Jun 19, 2010 Vorfin has a point, but it's good if you like to annoy your victims with your virus all over the computer, so the only option is a really good av or to format. but a couple of tips : 1-don't replace. bind. the replaced exe will run your virus AND the original app. 2-Icon and Info Changer Built-in. after binding, binded file will have the exact same icon and info as the original, otherwise it's so obvious. anyway gl. * - pr3fix - Jun 19, 2010 I can make it even better with CodeDOM if you want. It will take around hour to make real infect EXE module. * - Neroxan - Jun 19, 2010 (Jun 19, 2010 10:28 AM)pr3fix Wrote: It will take around hour to make real infect EXE module. Really? I have a pretty decent working example in vb6 that renames the original file, makes a copy of your malware, and then names it(the malware) to the original and shells the original file after they run your copied & renamed malware file... It also clones the details & icon of the original file as well. Kinda pointless without it IMO. By the way, these kinda things set off the UAC like a mofo... fairly worthless as already stated, but you could improve it easily. * - Vorfin - Jun 19, 2010 If this is just to screw with victims. Here is another fun thing you can do. Code Dim RandomClass As New RandomThe file it creates is a so called "Test Virus" That AV companies use. It's 44/44 Detected. You can make it a little more interesting by selecting random directorys rather than creating 1000 "viruses" in one folder. * - pr3fix - Jun 19, 2010 (Jun 19, 2010 12:51 PM)~WyldeChylde~ Wrote: Really? I have a pretty decent working example in vb6 that renames the original file, makes a copy of your malware, and then names it(the malware) to the original and shells the original file after they run your copied & renamed malware file... With CodeDom class, you can basically do anything. As I already said, I spent only 10 minutes coding this example. So what do you expect. I can post the real, EXE Infection system. That can copy file information and icon and stuff without corrupting the malware. Anyways, didn't really tested it out so I don't really know. * - PAGMAN - Jun 19, 2010 (Jun 19, 2010 12:55 PM)Vorfin Wrote: If this is just to screw with victims. Here is another fun thing you can do. OMG, that's brutal. Imagine coming to your computer and seeing that like 5000 viruses were found. And they were all the same thing. Most people would think it was a worm. :) * - Neroxan - Jun 19, 2010 (Jun 19, 2010 12:59 PM)pr3fix Wrote: With CodeDom class, you can basically do anything. As I already said, I spent only 10 minutes coding this example. So what do you expect. I can post the real, EXE Infection system. That can copy file information and icon and stuff without corrupting the malware. Was just givin ya ideas if your gonna use it dude, not hatinπ I wouldent spread to files in program files or anything such as that myself if I were gonna use it. Look for their p2p folders via registry, or perhaps the folders where they are going to save torrent files to possibly be shared later... As another alternative idea, keep a log of all the executables on the machine, and when there is a new one found (search once per day or summin to save cpu usage) infect that mother...π€« & @ vorfin... Id be so pissed to find that on my machine like that. lol * - pr3fix - Jun 19, 2010 No mate, you misunderstood me. I'm not hating or something. I'm just saying that you can do anything with CodeDom. Anyways, thanks a lot for ideas. I'll think about it and try to implement in next version. Thanks a lot mate! π EDIT: (Jun 19, 2010 06:46 AM)Vorfin Wrote: Can I just ask. Why? I mean, they have to run this, so they are infected then. All good viruses use Mutex, so they only run once, so what good would having them run it 500 times because all their games are now viruses. Also, I forgot to explain what this actually do. Once opened (the main virus), it will search for all .exe files on the system, and then replace them with downloaded virus. * - Neroxan - Jun 19, 2010 (Jun 19, 2010 01:13 PM)pr3fix Wrote: No mate, you misunderstood me. I'm not hating or something. I'm just saying that you can do anything with CodeDom. I cant do anything with codedom, older version of vb. lol Ive tried .net and its nice, but eats up more memory and is much slower on my dinosaur cough machine... |