Connect with our team of offensive security, AI security and pen testing experts at Black Hat Europe 2023. Learn More

Connect with our team of offensive security, AI security and pen testing experts at Black Hat Europe 2023. Learn More

Services
Capture
Managed Detection & Response

Eradicate cyberthreats with world-class intel and expertise

twi-cloud-lock-color-svg
Managed Security Services

Expand your team’s capabilities and strengthen your security posture

twi-briefcase-color-svg
Consulting & Professional Services

Tap into our global team of tenured cybersecurity specialists

twi-dashboard-color-svg
Penetration Testing

Subscription- or project-based testing, delivered by global experts

twi-database-color-svg
Database Security

Get ahead of database risk, protect data and exceed compliance requirements

twi-email-color-svg
Email Security & Management

Catch email threats others miss with layered security & maximum control

twi-managed-portal-color
Co-Managed SOC (SIEM)

Eliminate alert fatigue, focus your SecOps team, stop threats fast, and reduce cyber risk

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
The Trustwave Approach
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Platform
SpiderLabs Fusion Center
Security Operations Centers
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Java-based Malware Distributed Through Spam

For the past few months, we've observed more spam with Java-based malware attachments. The recent examples purport to be an invoice from a logistics company. The attachment is a .JAR file using a variety of filenames such as Authorized Invoice Cop.jar, Authorized Invoice.jar or Approved Invoice.jar.

BSL_12588_f0254438-c77a-493d-b1d0-ccc96a909498

The malware attachment is a Java application which requires a JRE (Java Runtime Environment) installed in the system in order for it to run. On the infected machine, the malware connects to a remote server with the domain name srv2.folgner.eu (IP address: 31.220.25.178 ) through port 1303. We have also noticed a few spam messages sent from the same server.

11116_a98b9a75-536d-4033-bd8a-7bfebed1cd83

The .JAR packaged malware was built from a Java-based toolkit named jRAT (Java Remote Access Tool). It is capable of remotely taking control of the infected system and can be customized to run on Windows, Mac, Linux, and well-known UNIX flavors such as FreeBSD, OpenBSD and Solaris.

9351_550d1c4d-fe6c-4314-bd53-066f8d38cbcd
 

The toolkit is well known in the underground hacking forums and often used for malicious purposes. According to its description it states: "jRAT is a revolutionary rat combining the uses of a remote tool and java to ensure the ability to adapt to multiple systems at once". It features a fully undetectable (FUD) crypter to bypass detection, remote webcam viewer, keylogger, remote file manager and remote desktop viewer/controller.

The toolkit's control panel shows more interesting features that a cybercriminal can remotely control and execute in the infected system.

BSL_12240_e146401d-43c4-4c34-932f-3921dd4fbf63

While RAT (remote access tool) software has legal uses such as by network administrators, it is also used for criminal and malicious purposes. Although, spam campaigns with Java-based malware attachments are not common, we advise users to be cautious when encountering .JAR file attachments. It is also recommended that email gateway policy should lock down executables like Java applications, especially in a corporate environment.

Trustwave's Secure Email Gateway customers were protected from this spam campaign without any additional action required.

Latest SpiderLabs Blogs

The 2023 Retail Services Sector Threat Landscape: A Trustwave Threat Intelligence Briefing

The annual holiday shopping season is poised for a surge in spending, a fact well-known to retailers, consumers, and cybercriminals alike. The latter group, however, is poised to exploit any...

Read More

Pwning Electroencephalogram (EEG) Medical Devices by Default

Overall Analysis of Vulnerability Identification – Default Credentials Leading to Remote Code Execution During internal network testing, a document was discovered titled the “XL Security Site...

Read More

Hidden Data Exfiltration Using Time, Literally

I was looking at my watch last week and my attention was moved towards the seconds over at the right of the watch face, incrementing nicely along as you’d expect. Now, I don’t know if I’d just spent...

Read More