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

Why so few Executable Jar File (.jar) Rats?

Hello friends,

I recently came across a question, why are there so few RATS with .jar output? The few that exist have very few detections and with a few modifications you can get something close to 0/40 in most virus scanners and easily bypass Windows Defender,do you have any opinions on this?
(Oct 26, 2024 04:46 AM)latencyx Wrote:  Hello friends,

I recently came across a question, why are there so few RATS with .jar output? The few that exist have very few detections and with a few modifications you can get something close to 0/40 in most virus scanners and easily bypass Windows Defender,do you have any opinions on this?

The main reason is the fact that .JAR files won't run on every Windows system. They depend on the JRE, which isn't preinstalled on any Windows version (no version to my knowledge, at least). It's the same reason that people prefer native binaries over .NET - native binaries just provide more compatibility and therefore more opportunities to infect a client. Regarding detections, I'd assume that the only reason .JAR has lower detections is because there's fewer people using it for malware, which means that there's less samples, and therefore less detections and signatures. If JAR malware gained prominence, detections would rise to the level of regular executables relatively quickly.
Signal: DelfinHF.69

[Image: banner-2.png]
(Oct 26, 2024 05:08 AM)Delfin Wrote:  The main reason is the fact that .JAR files won't run on every Windows system. They depend on the JRE, which isn't preinstalled on any Windows version (no version to my knowledge, at least). It's the same reason that people prefer native binaries over .NET - native binaries just provide more compatibility and therefore more opportunities to infect a client. Regarding detections, I'd assume that the only reason .JAR has lower detections is because there's fewer people using it for malware, which means that there's less samples, and therefore less detections and signatures. If JAR malware gained prominence, detections would rise to the level of regular executables relatively quickly.

I thought about this dependency factor too, but I believe that a simple dropper can get around this, and because of the low sample size it might be something worth thinking about
(Oct 26, 2024 05:19 AM)latencyx Wrote:  I thought about this dependency factor too, but I believe that a simple dropper can get around this, and because of the low sample size it might be something worth thinking about

A dropper that installs the JRE on the user's PC? Doesn't sound very viable, to me at least. As regarding small sample sizes, you can just directly use languages like C# for small binaries, or stripped C/C++ ones.
Signal: DelfinHF.69

[Image: banner-2.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by waitdontbSep 9, 2025 05:58 PM 10 1,085 Sep 9, 2025 05:58 PM
Last Post: MeW11
by Curiosity2602Jan 18, 2021 06:27 AM 17 1,002 Jan 18, 2021 06:27 AM
Last Post: Curiosity2602
by SuggestiveDec 30, 2018 11:57 PM 3 631 Dec 30, 2018 11:57 PM
Last Post: CyberStrike