Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[VB.NET] Code Your Own Reverse Connection RAT (All Parts)

Thanks for this very usefull...Nice work and quality posting
inb4 100 * "GUYS CHECK OUT MY RAT"

prepare for it xSilent. Also, I was wondering why is your buffer 0 for the message size when you are reading of the stream? Wouldn't that mean it wouldn't read anything? :s

I always have had it set to an integer on my client class :s
(Oct 28, 2010 03:22 AM)Modesty Wrote:  inb4 100 * "GUYS CHECK OUT MY RAT"

prepare for it xSilent. Also, I was wondering why is your buffer 0 for the message size when you are reading of the stream? Wouldn't that mean it wouldn't read anything? :s

I always have had it set to an integer on my client class :s

that's just to get to read line. 😊
Mediafire link taken down, I didn't spend all that time just for you skids to leech.
your connection class help me alot to know how to code a decent reverse connection.
great share buddy! but now i will keep hopeing more tuts like this one bro :)
Thank you for the effort and time, this is fantastic! And you code so fast!
THANKS! Very nice tutorial!
Just what i was looking for!
Thank you :D
Glad some people enjoyed the tut instead of leeching. ✌
xSilent i got a problem, when i try to pass data to my main form to an another form nothing append (client send process list -> server reiceve -> and i can't show the result to another form) ???
(Oct 29, 2010 03:34 AM)tang77 Wrote:  xSilent i got a problem, when i try to pass data to my main form to an another form nothing append (client send process list -> server reiceve -> and i can't show the result to another form) ???

U need to use delegates and invokes.

add this:
Code
Private Delegate Sub del()
public sub dostuff()
'do your cross forms stuff here
end sub

then where you are recieving the command add:
Code
Me.Invoke(New del(addressof dostuff))

should work :)
i'll try this, thank's pyro.

Edit : It's work, delegate solve the problem thank's again ;)
I have tried many TCP Connections and none of them have workedd :S

idk know why...
i think it was a year ago then i tried telnet it took days of testing testing and searching on the webb to get it running smoothly allways got that the connection never establised.

And now im stuck again :(

I have tried:

used 2 computer(1 with the client running, 1 with the server running on) ofcourse on the same network (127.0.0.1)
make my IP static
open port 7008 (the one i used in the client/server)

ofcourse all at the same time

And last im on win7 on all the computers (3 computers)
(Oct 29, 2010 06:56 AM)HazXoD3D Wrote:  I have tried many TCP Connections and none of them have workedd :S

idk know why...
i think it was a year ago then i tried telnet it took days of testing testing and searching on the webb to get it running smoothly allways got that the connection never establised.

And now im stuck again :(

I have tried:

used 2 computer(1 with the client running, 1 with the server running on) ofcourse on the same network (127.0.0.1)
make my IP static
open port 7008 (the one i used in the client/server)

ofcourse all at the same time

And last im on win7 on all the computers (3 computers)

127.0.0.1 is the local address for a computer, not for a network. If you testing like that use your internal address eg 192.168.1.102
Nice tutorial man I was able to understand few things about reverse connection but I won't start coding a rat right now cuz there are still more things for me to know, after all I started coding just 6 or 7 months ago so yeah it's too early to code a rat

btw, in part5 for the file download it doesn't have to be always an "exe" if the user wanted to download a batch file it won't work, so I suggest to retrieve the file name from the url like this:
Code
temp = cut(1).Substring(cut(1).LastIndexOf("/") + 1)
it will return "file.ext" and you'll be able to download anything! you got it right.

anyway thanks for the contribution buddy, and I hope the other members would appreciate it 👍


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by jasonnixJan 19, 2024 11:44 AM 4 189 Jan 19, 2024 11:44 AM
Last Post: jasonnix
[.NET] by JuanKihJun 24, 2018 05:23 PM 1 233 Jun 24, 2018 05:23 PM
Last Post: gigajew
[Java] by TopDawgIOMar 25, 2016 04:02 AM 4 392 Mar 25, 2016 04:02 AM
Last Post: TopDawgIO