THREAT REMOVAL

Java:Malware-gen [Trj] Trojan – How to Detect and Remove CrossRAT

This article has been created in order to explain what is the CrossRAT Trojan Horse infection and how to remove it completely from your computer.

A new, highly dangerous Trojan horse going by the detection Trojan:Java/Trupto has been reported to cause immense harm to Linux, Windows and MacOS computer. The Trojan is a RAT (Remote Access Trojan) type and is dubbed CrossRAT by researchers. The virus is written in JavaScript and it can perform series of dangerous activities on computers once it infects them, ranging from modifying files, writing files, taking screenshots and running DLLs to infect your computer with other viruses. The CrossRAT Trojan has been reported by series of researchers to come onto victim computers via a .jar file via series of methods with very low detection rate. Read this article to learn more about the CrossRAT Trojan plus methods on how to remove it from your computer plus how to secure it against further infections.

Threat Summary

Name CrossRAT
Type Remote Access Trojan
Short Description Aims to infect the computer and remain silently on the victim’s computer in order to allow hackers to control it from distance.
Symptoms The CrossRAT Trojan is generally designed to remain silent, but new files may be created on your PC plus infected computers may act strangely.
Distribution Method Via malicious web links, infected e-mail attachments as well as fake setup files and programs.
Detection Tool See If Your System Has Been Affected by malware

Download

Malware Removal Tool

User Experience Join Our Forum to Discuss CrossRAT.

CrossRAT Trojan – How Does It Infect

The CrossRAT Trojan may enter your computer via many different methods, the main suspect of which is via a malicious web redirect to a page which automatically downloads and runs the .jar files which causes the infection. One sample of the malicious file, infecting with the CrossRAT Trojan has been reported to have the following technical parameters according to VirusTotal:

→ SHA-256 15af5bbf3c8d5e5db41fd7c3d722e8b247b40f2da747d5c334f7fd80b715a649
Name: hmar6.jar
Size:217.33 KB

The bad news here is that no system is secure, even Linux OS. This suggests that very experienced malware writers may be behind this remote access Trojan.

The main method by which you may have come into contact with the CrossRAT trojan is if you have visited a web page, which causes an automatic browser redirect to a web page which can infect you simply by you having to visit it.

Another way by which you may become a victim of this Trojan horse is if you have opened a file, which you believe is legitimate and it contains the CrossRAT infection script which causes the infection by you opening the file. Such files are often fake setups of programs, fake key generators, game cracks and other software you may have downloaded via Torrent websites.

The last but not least important method by which this Trojan may have infected your computer is if you have opened an e-mail attachment, like an infected Microsoft Office document, believing it is a legitimate invoice, receipt for purchase online or other form of seemingly legitimate file. Such e-mails often pretend to come from companies from the likes of eBay, PayPal, DHL and other reputable names.

CrossRAT Trojan – Analysis

Remote access Trojans are not a new concept. However, when we see a RAT which is compatible with the three most widely used operating systems in the world – Windows, MacOS and Linux, it is definitely a cause for alarm. Furthermore, the EFF have established that the Trojan has been created and supported by the Dark Caracal hacker group, which may be based on Lebanon in order to spy on government employees and journalists in more than 20 countries all over the globe.

The CrossRAT Trojan has many capabilities, the primary of which are:

  • To evade conventional anti-virus software protection.
  • To manipulate the files on the computers it infects.
  • To run DDL files which may contain other viruses, like miner malware or ransomware.

According to a technical report by ex-NSA hacker Partrick Wardle, the activity of the malware once it infects your computer is very sophisticated and experienced developers are behind it. Once this Trojan finds itself in a computer system, it perform the following steps:

1-Scans the infected computer in order to establish the OS it’s running, the security software installed on it.
2-Uses the information from scanning the infected PC in order to infect it with the tools which are most likely to be undetectable.
3-Assumes administrative access to gain full control of the infected machine.

The CrossRAT Trojan can be identified on different computers based on different modifications it performs on different OS’s. Here are it’s main symptoms that give it away:

For Windows PC’s:

HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ in which a value string is added, containing Data in which the “java”, “-jar” and “mediamgrs.jar” commands are present.

For MacOS computers:

Mediamgrs.jar, dropped in ~/Library and a launch agent is dropped in ~/Library/LaunchAgens, called mediamgrs.plist

For Linux computers:

The .jar file mediamgrs.jar is created in the /usr/var directory plus an “autostart” type of file is added in ~/.config/autostart/ which may be named mediamgrs.desktop

It is advisable to immediately take action in case you see any hints of having CrossRAT on your computer and if you see any of the detections we have described in the “Detect and Remove” section below to perform the following activities as described methodically:

1. Stop your Internet Access.
2. Change all of your passwords on your online accounts from a secure PC.
3. Move all of your important files on a flash drive from your PC or use other method to transfer them.
4. After having done those, follow the instructions from the “Detect and Remove” paragraph below.

CrossRAT Trojan – How to Detect and Remove

CrossRAT Trojan is detected by most antivirus engines under the following names:

CrossRAT Detection names

Ad-Aware
Trojan.Java.Agent.ALD

AegisLab
Backdoor.Java.Crossrat!c

AhnLab-V3
JAVA/Trupto

ALYac
Backdoor.Java.CrossRAT

Antiy-AVL
Trojan/Win32.TGeneric

Arcabit
Trojan.Java.Agent.ALD

Avast
Java:Malware-gen [Trj]

AVG
Java:Malware-gen [Trj]

Avira
JAVA/Agent.eipee

BitDefender
Trojan.Java.Agent.ALD

Bkav
W32.JavaNVA.Worm

CAT-QuickHeal
Trojan.JAVA.Agent.5191

Cyren
Java/Agent.BGG

DrWeb
Java.CrossRat.1

Emsisoft
Trojan.Java.Agent.ALD (B)

eScan
Trojan.Java.Agent.ALD

ESET-NOD32
Java/Trupto.A

F-Prot
Java/Agent.BGG

GData
Trojan.Java.Agent.ALD (2x)

Ikarus
Backdoor.Java.CrossRat

Kaspersky
Backdoor.Java.CrossRAT.a

MAX
malware (ai score=97)

McAfee
RDN/Generic.dx

McAfee-GW-Edition
Java/CrossRat

Microsoft
Trojan:Java/Trupto.A

Qihoo-360
Trojan.Generic

Rising
Trojan.CrossRAT!1.B001 (CLASSIC)

Sophos AV
Java/Agent-AYAW

Symantec
Trojan.Maljava

Tencent
Java.Backdoor.Crossrat.Ebqt

TrendMicro
JAVA_CRAT.A

TrendMicro-HouseCall
JAVA_CRAT.A

ViRobot
JAVA.S.Agent.222543

ZoneAlarm
Backdoor.Java.CrossRAT.a

Source: VirusTotal

In order to remove this virus, you should follow the manual or automatic removal instructions down below. They are specifically designed in order to help you to delete this virus methodologically. Be advised that if you feel unsure to delete the CrossRAT Trojan manually, experts strongly advise to do so automatically by downloading an advanced anti-malware tool as it is likely the best option to fully erase this malware and secure your computer at a click of a button.

Avatar

Ventsislav Krastev

Ventsislav is a cybersecurity expert at SensorsTechForum since 2015. He has been researching, covering, helping victims with the latest malware infections plus testing and reviewing software and the newest tech developments. Having graduated Marketing as well, Ventsislav also has passion for learning new shifts and innovations in cybersecurity that become game changers. After studying Value Chain Management, Network Administration and Computer Administration of System Applications, he found his true calling within the cybersecrurity industry and is a strong believer in the education of every user towards online safety and security.

More Posts - Website

Follow Me:
Twitter


Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer

How to Remove CrossRAT from Windows.


Step 1: Boot Your PC In Safe Mode to isolate and remove CrossRAT

OFFER

Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your PC with SpyHunter

Keep in mind, that SpyHunter’s scanner is only for malware detection. If SpyHunter detects malware on your PC, you will need to purchase SpyHunter's malware removal tool to remove the malware threats. Read our SpyHunter 5 review. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria

1. Hold Windows key() + R


2. The "Run" Window will appear. In it, type "msconfig" and click OK.


3. Go to the "Boot" tab. There select "Safe Boot" and then click "Apply" and "OK".
Tip: Make sure to reverse those changes by unticking Safe Boot after that, because your system will always boot in Safe Boot from now on.


4. When prompted, click on "Restart" to go into Safe Mode.


5. You can recognise Safe Mode by the words written on the corners of your screen.


Step 2: Uninstall CrossRAT and related software from Windows

Here is a method in few easy steps that should be able to uninstall most programs. No matter if you are using Windows 10, 8, 7, Vista or XP, those steps will get the job done. Dragging the program or its folder to the recycle bin can be a very bad decision. If you do that, bits and pieces of the program are left behind, and that can lead to unstable work of your PC, errors with the file type associations and other unpleasant activities. The proper way to get a program off your computer is to Uninstall it. To do that:


1. Hold the Windows Logo Button and "R" on your keyboard. A Pop-up window will appear.


2. In the field type in "appwiz.cpl" and press ENTER.


3. This will open a window with all the programs installed on the PC. Select the program that you want to remove, and press "Uninstall"
Follow the instructions above and you will successfully uninstall most programs.


Step 3: Clean any registries, created by CrossRAT on your computer.

The usually targeted registries of Windows machines are the following:

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

You can access them by opening the Windows registry editor and deleting any values, created by CrossRAT there. This can happen by following the steps underneath:

1. Open the Run Window again, type "regedit" and click OK.


2. When you open it, you can freely navigate to the Run and RunOnce keys, whose locations are shown above.


3. You can remove the value of the virus by right-clicking on it and removing it.
Tip: To find a virus-created value, you can right-click on it and click "Modify" to see which file it is set to run. If this is the virus file location, remove the value.

IMPORTANT!
Before starting "Step 4", please boot back into Normal mode, in case you are currently in Safe Mode.
This will enable you to install and use SpyHunter 5 successfully.

Step 4: Scan for CrossRAT with SpyHunter Anti-Malware Tool

1. Click on the "Download" button to proceed to SpyHunter's download page.


It is recommended to run a scan before purchasing the full version of the software to make sure that the current version of the malware can be detected by SpyHunter. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria.


2. After you have installed SpyHunter, wait for it to update automatically.

SpyHunter5-update-2018


3. After the update process has finished, click on the 'Malware/PC Scan' tab. A new window will appear. Click on 'Start Scan'.

SpyHunter5-Free-Scan-2018


4. After SpyHunter has finished scanning your PC for any files of the associated threat and found them, you can try to get them removed automatically and permanently by clicking on the 'Next' button.

SpyHunter-5-Free-Scan-Next-2018

If any threats have been removed, it is highly recommended to restart your PC.


Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer

Get rid of CrossRAT from Mac OS X.


Step 1: Uninstall CrossRAT and remove related files and objects

OFFER
Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your Mac with SpyHunter for Mac
Keep in mind, that SpyHunter for Mac needs to purchased to remove the malware threats. Click on the corresponding links to check SpyHunter’s EULA and Privacy Policy


1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:


2. Find Activity Monitor and double-click it:


3. In the Activity Monitor look for any suspicious processes, belonging or related to CrossRAT:

Tip: To quit a process completely, choose the “Force Quit” option.


4. Click on the "Go" button again, but this time select Applications. Another way is with the ⇧+⌘+A buttons.


5. In the Applications menu, look for any suspicious app or an app with a name, similar or identical to CrossRAT. If you find it, right-click on the app and select “Move to Trash”.


6: Select Accounts, after which click on the Login Items preference. Your Mac will then show you a list of items that start automatically when you log in. Look for any suspicious apps identical or similar to CrossRAT. Check the app you want to stop from running automatically and then select on the Minus (“-“) icon to hide it.


7: Remove any left-over files that might be related to this threat manually by following the sub-steps below:

  • Go to Finder.
  • In the search bar type the name of the app that you want to remove.
  • Above the search bar change the two drop down menus to “System Files” and “Are Included” so that you can see all of the files associated with the application you want to remove. Bear in mind that some of the files may not be related to the app so be very careful which files you delete.
  • If all of the files are related, hold the ⌘+A buttons to select them and then drive them to “Trash”.

In case you cannot remove CrossRAT via Step 1 above:

In case you cannot find the virus files and objects in your Applications or other places we have shown above, you can manually look for them in the Libraries of your Mac. But before doing this, please read the disclaimer below:

Disclaimer! If you are about to tamper with Library files on Mac, be sure to know the name of the virus file, because if you delete the wrong file, it may cause irreversible damage to your MacOS. Continue on your own responsibility!

1: Click on "Go" and Then "Go to Folder" as shown underneath:

2: Type in "/Library/LauchAgents/" and click Ok:

3: Delete all of the virus files that have similar or the same name as CrossRAT. If you believe there is no such file, do not delete anything.

You can repeat the same procedure with the following other Library directories:

→ ~/Library/LaunchAgents
/Library/LaunchDaemons

Tip: ~ is there on purpose, because it leads to more LaunchAgents.


Step 2: Scan for and remove CrossRAT files from your Mac

When you are facing problems on your Mac as a result of unwanted scripts and programs such as CrossRAT, the recommended way of eliminating the threat is by using an anti-malware program. SpyHunter for Mac offers advanced security features along with other modules that will improve your Mac’s security and protect it in the future.


Click the button below below to download SpyHunter for Mac and scan for CrossRAT:


Download

SpyHunter for Mac



Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer


Remove CrossRAT from Google Chrome.


Step 1: Start Google Chrome and open the drop menu


Step 2: Move the cursor over "Tools" and then from the extended menu choose "Extensions"


Step 3: From the opened "Extensions" menu locate the unwanted extension and click on its "Remove" button.


Step 4: After the extension is removed, restart Google Chrome by closing it from the red "X" button at the top right corner and start it again.


Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer


Erase CrossRAT from Mozilla Firefox.

Step 1: Start Mozilla Firefox. Open the menu window


Step 2: Select the "Add-ons" icon from the menu.


Step 3: Select the unwanted extension and click "Remove"


Step 4: After the extension is removed, restart Mozilla Firefox by closing it from the red "X" button at the top right corner and start it again.



Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer


Uninstall CrossRAT from Microsoft Edge.


Step 1: Start Edge browser.


Step 2: Open the drop menu by clicking on the icon at the top right corner.


Step 3: From the drop menu select "Extensions".


Step 4: Choose the suspected malicious extension you want to remove and then click on the gear icon.


Step 5: Remove the malicious extension by scrolling down and then clicking on Uninstall.



Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer


Remove CrossRAT from Safari.


Step 1: Start the Safari app.


Step 2: After hovering your mouse cursor to the top of the screen, click on the Safari text to open its drop down menu.


Step 3: From the menu, click on "Preferences".

stf-safari preferences


Step 4: After that, select the 'Extensions' Tab.

stf-safari-extensions


Step 5: Click once on the extension you want to remove.


Step 6: Click 'Uninstall'.

stf-safari uninstall

A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the CrossRAT will be removed.


How to Reset Safari
IMPORTANT: Before resetting Safari make sure you back up all your saved passwords within the browser in case you forget them.

Start Safari and then click on the gear leaver icon.

Click the Reset Safari button and you will reset the browser.


Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer


Eliminate CrossRAT from Internet Explorer.


Step 1: Start Internet Explorer.


Step 2: Click on the gear icon labeled 'Tools' to open the drop menu and select 'Manage Add-ons'


Step 3: In the 'Manage Add-ons' window.


Step 4: Select the extension you want to remove and then click 'Disable'. A pop-up window will appear to inform you that you are about to disable the selected extension, and some more add-ons might be disabled as well. Leave all the boxes checked, and click 'Disable'.


Step 5: After the unwanted extension has been removed, restart Internet Explorer by closing it from the red 'X' button located at the top right corner and start it again.


Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Stay tuned
Subscribe for our newsletter regarding the latest cybersecurity and tech-related news.