Python is good for malware Development?
by 303 - Tuesday October 31, 2023 at 11:39 PM
#11
I would say C/C++, Rust or even nim are much better than python.
Reply
#12
all programming languages are needed in malware dev
Reply
#13
So, is python only a bad choice because of the potential it will be on the system youre attacking? What if we assume its on the target system, does it excel in any way? Would it behoove you to use it for any reason for avoiding defender or something? Im on a mission to learn some of as many languages I know, as one should, but python remains my favorite and I always come back to it.

Mainly Im just wondering why not use it if we can be positive it has python, or we can guarantee it can be installed quietly? I aim at moving twords c or java as my main but something about not using python makes me wanna.
Reply
#14
No, use a compiled language.
Reply
#15
(Jan 07, 2024, 12:00 AM)MrIc3CreamMan Wrote: So, is python only a bad choice because of the potential it will be on the system youre attacking? What if we assume its on the target system, does it excel in any way? Would it behoove you to use it for any reason for avoiding defender or something? Im on a mission to learn some of as many languages I know, as one should, but python remains my favorite and I always come back to it.

Mainly Im just wondering why not use it if we can be positive it has python, or we can guarantee it can be installed quietly? I aim at moving twords c or java as my main but something about not using python makes me wanna.

Even if you packaged the full python interpreter or your victim just so happened to have python installed, it's still not a great idea because it's just a script, and it's going to be extremely easy to reverse engineer. You can easily just open the script in a text editor and see what it's doing. Sure you can obfuscate it a bit, but somewhere in the script is going to be a de-obfuscator that you can just modify to run without detonating, and then you have the original code anyway.
Reply
#16
I think GO, it's best
Reply
#17
I must say that C++ is a good programming language for malware developers but you can also try to use Go language to build such malware. I would recommend you to use C++ for the task.
Reply
#18
For purity and speed: C

For ease-of-development: Python

For speed and modern-ness: Golang

For hipster cred: Nim
Reply
#19
(Jan 11, 2024, 06:19 AM)notagh0st Wrote:
(Jan 07, 2024, 12:00 AM)MrIc3CreamMan Wrote: So, is python only a bad choice because of the potential it will be on the system youre attacking? What if we assume its on the target system, does it excel in any way? Would it behoove you to use it for any reason for avoiding defender or something? Im on a mission to learn some of as many languages I know, as one should, but python remains my favorite and I always come back to it.

Mainly Im just wondering why not use it if we can be positive it has python, or we can guarantee it can be installed quietly? I aim at moving twords c or java as my main but something about not using python makes me wanna.

Even if you packaged the full python interpreter or your victim just so happened to have python installed, it's still not a great idea because it's just a script, and it's going to be extremely easy to reverse engineer. You can easily just open the script in a text editor and see what it's doing. Sure you can obfuscate it a bit, but somewhere in the script is going to be a de-obfuscator that you can just modify to run without detonating, and then you have the original code anyway.

I appreciate the reply. makes total sense.
Reply
#20
python is better for botting/scraping/scripting, not really raw malware.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Sektor7] Full Recent Course Spearr 30 649 1 hour ago
Last Post: sud0net
  Sektor7 - Malware Development Advanced - Vol.1 Sh4d0w1X 424 42,619 1 hour ago
Last Post: sud0net
  Xordium stealer for Pulsar v2.4.5 nullvex 25 979 5 hours ago
Last Post: gergergergerg5825g651eg
  [ LIST ] 5 FREE STEALERS WITH PROS/CONS elix 384 14,767 5 hours ago
Last Post: gergergergerg5825g651eg
  [Go] Using the recycle bin for stealthy persistence (Beginner tutorial) CreateThread 16 915 Yesterday, 07:53 AM
Last Post: sureno

Forum Jump:


 Users browsing this forum: 1 Guest(s)