Jump to content

Recommended Posts

Posted

I Would like to start on network programming using low level hooks / possibly driver hooks for remote control etc and from what I can gather I think C++ would be the better option although C Sharp may be able to do it but just need confirmation of which language would be the better one to use and from there book recomendations that will get me started on network programming - I am aware of codeproject.com but with only doing very basic C++ ie variables, loops, arrays, cin, cout etc I think I would also need a book that covered more advanced topics ie memory handling, classes, functions, pointers etc in C++ and also the vital one network programming and low level hooks - I am guessing I would need at least 4 or so books but am not sure.

 

If there are any book suggestions - any chance of a link to amazon or the likes so I know which book you are referencing

 

Thanks

Posted

I found for the networking side of things and API hooking - it's easier to learn from RAT source codes (IMO), easier to see something already working and play with it than to do from scratch.

 

Cplusplus.com is another good resource, fairly easy to read and follow - this has an easy to follow tut on pointers.

 

Book wise... books never really worked from me, my friends had success with Sams Learn C++ in 21 days (or something close to that name).

  • Thanks 1
Posted
I found for the networking side of things and API hooking - it's easier to learn from RAT source codes (IMO), easier to see something already working and play with it than to do from scratch.

 

Cplusplus.com is another good resource, fairly easy to read and follow - this has an easy to follow tut on pointers.

 

Book wise... books never really worked from me, my friends had success with Sams Learn C++ in 21 days (or something close to that name).

 

 

rat source codes ??

Posted (edited)

RAT usually stands for Remote Administration Tool. It's usually a small piece of software allowing a remote admin to take control of a machine. However there are also malicious RAT's, sometimes called Remote Access Trojans. Both are quite similar really, although the trojan version will have more focus on nefarious actions such as hiding itself and perhaps data theft. Think Sub7.

 

Either way, reviewing the code of one will show you how to use the API's needed.:)

 

As for books, I've heard good things about UNIX Network Programming by Richard Stevens. It's based on C rather than C++ though I believe.

Edited by freak
Posted
I Would like to start on network programming using low level hooks / possibly driver hooks for remote control etc

 

Do you mean you want to learn how to send data between computers using TCP/IP ("the Internet"), or something else / lower level? A good place to start might be Computer Networks, by Andrew S. Tanenbaum:

 

Computer Networks 4/e from Prentice Hall PTR

 

This is a standard university course text and should give you a good overview of the whole of networking in general. It'll set you back around £40, but you might be able to find a previous edition for under £10 and the basics haven't changed much in the past couple of decades.

 

You can exchange data between applications via HTTP, i.e. using "web services", which might be something to look at. This has the advantage that they can generally be used through firewalls easily, and of course are dead easy to program - you just write your own small webserver or a standard CGI script.

 

HTTP is just another layer on top of TCP, so if you want to transmit something without too much overhead then you should look at TCP sockets. This isn't nearly as complicated as it sounds, all modern languages will have a library or built-in capability to handle sockets.

 

If your problem is simply that you don't know enough about programming in general then you should probably sort that out first, although writing an application that uses socket-based communications is a good way to learn both programming in general and networking. Writing such an application used to be set as a second-year exercise when I did my degree, although it did regularly bring the CS department's network to a grinding halt as people made assorted errors.

 

--

David Hicks

Posted

as as books go

 

C++ The Complete Reference by herb schildt

 

won't help you with the networking or windows specifics but its a great reference book for C++

Posted (edited)
RAT usually stands for Remote Administration Tool. It's usually a small piece of software allowing a remote admin to take control of a machine. However there are also malicious RAT's, sometimes called Remote Access Trojans. Both are quite similar really, although the trojan version will have more focus on nefarious actions such as hiding itself and perhaps data theft. Think Sub7.

 

Either way, reviewing the code of one will show you how to use the API's needed.:)

 

As for books, I've heard good things about UNIX Network Programming by Richard Stevens. It's based on C rather than C++ though I believe.

 

Hate to break it to you... it's remote administrator tool and most definitely not trojan... BO2K was possibly the only one that was considered a bit of a both, Sub7 is a trojan and it's use was for the naughtier side of things.

 

You are thinking more trojan / keylogger, many legit RATs exist... used for network control, they make good use of sockets (as opposed to irc connectivity like most new-age trojans), Windows API's... & are developed and used to make our lives easier... dameware is a RAT

Edited by dwhyte85
Posted (edited)
Hate to break it to you... it's remote administrator tool and most definitely not trojan... BO2K was possibly the only one that was considered a bit of a both, Sub7 is a trojan and it's use was for the naughtier side of things.

 

You are thinking more trojan / keylogger, many legit RATs exist... used for network control, they make good use of sockets (as opposed to irc connectivity like most new-age trojans), Windows API's... & are developed and used to make our lives easier... dameware is a RAT

 

Hate to break it to you, but that's pretty much exactly what I just said. "However there are also malicious RAT's, sometimes called Remote Access Trojans." Try google'ing for something like "computer rat", I guarantee most results will be based on trojans, calling themselves Remote Access Trojans or something like that.

 

And yes, I know exactly what Sub7 is. I gave it as an example as a trojan in the last post.

Edited by freak
Posted (edited)
Hate to break it to you, but that's pretty much exactly what I just said. "However there are also malicious RAT's, sometimes called Remote Access Trojans." Try google'ing for something like "computer rat", I guarantee most results will be based on trojans, calling themselves Remote Access Trojans or something like that.

 

And yes, I know exactly what Sub7 is. I gave it as an example as a trojan in the last post.

 

People sometimes call trojans RATs but they're never called remote access trojans... a trojan is assumed to be something that is used to remotely gain access to a system... by deception. Remote access trojans... are simply trojans and nothing to do with RATs, they're different.

 

In the olden days when everyone had dial up connections direct to the net, no router in-between RATs could be used effectively to do the same as a trojan. I guess in principal it could be the same now... if the user had a Win98 box, dial-up/usb modem attached & no AV or security software at all...

 

Rat: Used for remote administration of a system, e.g., let's close down a machine without walking over to it... you could consider the use of WMI in a VB script a remote access tool. Purposely installed within a LAN to help do tasks that can only normally be done at a machine.

 

Trojan: Used to gain entry to a remote system, often bound to other software, crypted (think themida but cruder and unknown by AV) and installed by deceiving the user.

 

The code maybe similar in principal... but then again any amount of source code could be used for bad things, infact many of the education monitoring systems that exist use fundamentals of these tools... bad word monitoring (e.g, kids typing swear words into Word) that then capture an image of the profanity... work off of a keylogger, screen capture & sending the picture to a 'server'.

 

:-)

Edited by dwhyte85
Posted
People sometimes call trojans RATs but they're never called remote access trojans... a trojan is assumed to be something that is used to remotely gain access to a system... by deception. Remote access trojans... are simply trojans and nothing to do with RATs, they're different.

 

Seriously I have no idea what point you're trying to argue. Mac_shinobi said "rat source codes" so I assumed a definition was needed, so explained the most common uses of the RAT acronym.

 

I hate to quote Microsoft (Danger: Remote Access Trojans - http://technet.microsoft.com/en-us/library/dd632947.aspx):

 

RATs are malicious programs that run invisibly on host PCs and permit an intruder remote access and control. On a basic level, many RATs mimic the functionality of legitimate remote control programs such as Symantec's pcAnywhere but are designed specifically for stealth installation and operation. Intruders usually hide these Trojan horses in games and

 

They also give Sub7 as an example (same page):

 

The most popular RATs, such as Back Orifice or SubSeven, are all-in-one intruder toolshops that do everything

 

Therefore I stick to my original view that RATs can be either. But again, from your post I can't tell what you're trying to argue. From the looks of it we are saying the same thing.

Posted (edited)
Seriously I have no idea what point you're trying to argue. Mac_shinobi said "rat source codes" so I assumed a definition was needed, so explained the most common uses of the RAT acronym.

 

I hate to quote Microsoft (Danger: Remote Access Trojans - http://technet.microsoft.com/en-us/library/dd632947.aspx):

 

 

 

They also give Sub7 as an example (same page):

 

 

 

Therefore I stick to my original view that RATs can be either. But again, from your post I can't tell what you're trying to argue. From the looks of it we are saying the same thing.

 

If you code, you'd know.

 

Getting back to the original post...

 

A [R.A] trojan... will not have quite the same calibre of code as a RAT and will be absolute no use to OP as it will be a copy and paste-fest. They are not interchangeable, they are for different purposes and despite having the same acronym aren't the same. Sub7 was never considered a remote access tool... it's programmed badly in VB6, c++ offers some amount of interoperability dependant on libraries used.

 

I don't know how much code you've seen so I can't comment on what you do or don't know, if you've ever used Sub7/BO2k/Netbus you'd understand why they're not really RATs but trojans, although the code for BO2K is pretty helpful as it's well written (and avail. on sourceforge) and has been branded as a RAT now - although it was not written for that purpose.

 

Stating what I know as a coder, having used both trojans & RATs and my knowledge of new/old trojan & RAT sources...

 

Anyway, Mac_Shinobi - if you need any clarification drop me a PM.

Edited by dwhyte85
Posted
If you code, you'd know.

 

Getting back to the original post...

 

A [R.A] trojan... will not have quite the same calibre of code as a RAT and will be absolute no use to OP as it will be a copy and paste-fest. They are not interchangeable, they are for different purposes and despite having the same acronym aren't the same. Sub7 was never considered a remote access tool... it's programmed badly in VB6, c++ offers some amount of interoperability dependant on libraries used.

 

I don't know how much code you've seen so I can't comment on what you do or don't know, if you've ever used Sub7/BO2k/Netbus you'd understand why they're not really RATs but trojans, although the code for BO2K is pretty helpful as it's well written (and avail. on sourceforge) and has been branded as a RAT now - although it was not written for that purpose.

 

Stating what I know as a coder, having used both trojans & RATs and my knowledge of new/old trojan & RAT sources...

 

Anyway, Mac_Shinobi - if you need any clarification drop me a PM.

 

Man this is getting old :D. I don't think you understand what I meant in the first post. I simply said that the meaning of the acronym RAT can be interchangeable. I did not say which one is right, just that when someone uses the acronym RAT they could mean either. As I had no way of knowing which one you meant, I explained that you could mean either. As you've implied in your last post, definitions change in time (perfect example being the term "Hacker").

 

You're clearly quite passionate about this, and may be looking over the fact that this argument is inane. As far as I can see, we are arguing about completely different things. Not only that but this has gone completely off topic and has hijacked the thread. For this reason I'll stop posting here. However, if you'd like to clear things up dwhyte, please feel free to PM me. Sorry for the hijack Mac_Shinobi :rolleyes:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...