Hack Forums
[Python] What language is best for writing a RAT? - 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: [Python] What language is best for writing a RAT? (/showthread.php?tid=5395514)



What language is best for writing a RAT? - Jo3Shmo - Sep 3, 2016

I know this kind of a nubish question but what do you guys think is the best language for writing a RAT.

I would be looking to implement a few functionalities including:
Keylogging
screen viewing


Some things to consider I would imagine would be
Detectability (I don't know if this has to do with the original language or just the crypting process)

APIs available to bootstrap the tool


* - Puffer Fish - Sep 3, 2016

Phyton and C# could handle it all


* - Jo3Shmo - Sep 3, 2016

(Sep 3, 2016 09:49 PM)Ancient Chinese Penis Wrote:  Phyton and C# could handle it all

But are they the best though :D? Which one of those two would you most recommend?


* - ryan⚜ - Sep 3, 2016

Personally I'd recommend C++ or C#. Honestly any C language and you'll be fine. I prefer C++ just because I know it better.


* - Jo3Shmo - Sep 3, 2016

(Sep 3, 2016 09:54 PM)ryand8 Wrote:  Personally I'd recommend C++ or C#. Honestly any C language and you'll be fine. I prefer C++ just because I know it better.

Can you point me towards some things in the language to use or should I just try to learn C++


* - Goodies - Sep 3, 2016

(Sep 3, 2016 09:54 PM)ryand8 Wrote:  Personally I'd recommend C++ or C#. Honestly any C language and you'll be fine. I prefer C++ just because I know it better.

C# is not a C language.
It's a .net language. It's almost like Microsoft's java.


* - ryan⚜ - Sep 3, 2016

I made a small C++ beginner tutorial that you can look at to get your feet wet. I never really finished the series, but there's 2 parts that goes over some basics that you can look at to decide if it's the language you wanna use.

https://hackforums.net/showthread.php?tid=2067391


(Sep 3, 2016 10:14 PM)Goodies Wrote:  C# is not a C language.
It's a .net language. It's almost like Microsoft's java.

https://en.wikipedia.org/wiki/List_of_C-family_programming_languages

Even Java was derived from C, anything that uses braces. To be honest though, I was thinking Objective-C when I wrote that, but either way..I would write this in C++.


* - Jo3Shmo - Sep 3, 2016

What about C libraries for RATs, any suggestions? I have done basic tuts stuff already.


* - ryan⚜ - Sep 3, 2016

(Sep 3, 2016 10:34 PM)Jo3Shmo Wrote:  What about C libraries for RATs, any suggestions? I have done basic tuts stuff already.

If you're somewhat familiar, I would look up the source code for old RATs or tools that do what you're wanting and learn how it works. That's how I originally got into it.

I.e.

https://github.com/quasar/QuasarRAT


* - Jo3Shmo - Sep 4, 2016

(Sep 3, 2016 10:42 PM)ryand8 Wrote:  If you're somewhat familiar, I would look up the source code for old RATs or tools that do what you're wanting and learn how it works. That's how I originally got into it.

I.e.

https://github.com/quasar/QuasarRAT

Ok will do, thanks for the advice


* - Goodies - Sep 4, 2016

(Sep 3, 2016 10:14 PM)ryand8 Wrote:  https://en.wikipedia.org/wiki/List_of_C-family_programming_languages

Even Java was derived from C, anything that uses braces. To be honest though, I was thinking Objective-C when I wrote that, but either way..I would write this in C++.

You moron.
"Broadly speaking, C-family languages are those that use C-like block syntax (including curly braces to begin and end the block)."

Just because it uses braces doesn't mean it is derived from C lmao.

And just because the compiler or interpreter of a language is written in C doesn't make it a C language either. CPython is written in C. That doesn't make Python a C language.


* - perzeller - Sep 7, 2016

Can you have a look at Delphi...got something cool from a friend