Linux/Rakos is the name of the latest form of Linux malware currently on the loose. The malware is designed to search for victims via SSH scan. The code is written in the Go language. The binary is most likely compressed using the standard UPX tool, researchers say.
Users have been complaining that their embedded devices have been overloaded with computing and network tasks. The culprit appears to be the Linux/Rakos malware.
Related: Linux/NyaDrop: New Malware on the IoT Horizon
Linux/Rakos Attacks Explained
Attacks are based on brute force attempts at SSH logins. This is how Linux malware pieces typically operate. Another example for such an attack is the Linux/Moose. Linux/Rakos can compromise both embedded devices and servers with an open SSH port. The port is protected but the password is quite simple and easy to guess.
Once the malware has taken over a device, it can include it in a botnet that serves for various malicious activities. For one, the malware will scan the Internet from a limited list with IP addresses, and then it will spread itself to more devices.
Related: Linux.PNScan Malware Brute-Forces Linux-Based Routers
What the malware wants to do is create a list of unsecured devices. Then it would attempt to create a botnet consisting of as many zombies as possible. The scan would start a limited list of IPs and would then spread to more targets. Luckily, only devices with low security are endangered by Linux/Rakos. What does this mean? Some users have reported having strong passwords but forgetting to disable the online service of their device. The password was changed back to a default one after a factory reset. Researchers say that for this to happen only several hours of online exposure were needed.
How Does a Linux/Rakos Attack Start?
The attack scenario starts when a configuration file is loaded via standard input in YAML format. The file itself has information lists of command and control servers. The lists have credentials to use in the brute force attacks. Here’s an example of a configuration of the malware:
https://github.com/eset/malware-ioc/tree/master/rakos
What Is the Mitigation against a Linux/Rakos Attack?
Researchers say that the malware can’t set up a persistent installation. Nonetheless, the targeted hosts can be attacked repeatedly.
Infected devices can be fixed by following the steps below, as advised by ESET researchers:
- Connect to your device using SSH/Telnet;
- Locate a process named .javaxxx;
- Run commands like netstat or lsof with -n switch to makesure it is responsible for unwanted connections;
- Collect forensic evidence by dumping the memory space of the corresponding process (e.g. with gcore). One could also recover the deleted sample from /proc with cp /proc/{pid}/exe {output_file}
- End the process with the -KILL.


Milena Dimitrova
An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim
Preparation before removing .
Before starting the actual removal process, we recommend that you do the following preparation steps.
- Make sure you have these instructions always open and in front of your eyes.
- Do a backup of all of your files, even if they could be damaged. You should back up your data with a cloud backup solution and insure your files against any type of loss, even from the most severe threats.
- Be patient as this could take a while.
Step 1: Boot Your PC In Safe Mode to isolate and remove










Step 2: Clean any registries, created by 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 there. This can happen by following the steps underneath:






Step 3: Find files created by




For Newer Windows Operating Systems
1: On your keyboard press + R and write explorer.exe in the Run text box and then click on the Ok button.
2: Click on your PC from the quick access bar. This is usually an icon with a monitor and its name is either “My Computer”, “My PC” or “This PC” or whatever you have named it.
3: Navigate to the search box in the top-right of your PC’s screen and type “fileextension:” and after which type the file extension. If you are looking for malicious executables, an example may be “fileextension:exe”. After doing that, leave a space and type the file name you believe the malware has created. Here is how it may appear if your file has been found:
N.B. We recommend to wait for the green loading bar in the navination box to fill up in case the PC is looking for the file and hasn’t found it yet.
For Older Windows Operating Systems
In older Windows OS’s the conventional approach should be the effective one:
1: Click on the Start Menu icon (usually on your bottom-left) and then choose the Search preference.
2: After the search window appears, choose More Advanced Options from the search assistant box. Another way is by clicking on All Files and Folders.
3: After that type the name of the file you are looking for and click on the Search button. This might take some time after which results will appear. If you have found the malicious file, you may copy or open its location by right-clicking on it.
Now you should be able to discover any file on Windows as long as it is on your hard drive and is not concealed via special software.
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 with SpyHunter Anti-Malware Tool
Step 5 (Optional): Try to Restore Files Encrypted by .
Ransomware infections and aim to encrypt your files using an encryption algorithm which may be very difficult to decrypt. This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.
For more “how-to” file recovery methods and steps, you can visit our instructive article on “How to Restore Files Encrypted by Ransomware (Without Decrypter)“.


Milena Dimitrova
An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim
Preparation before removing .
Before starting the actual removal process, we recommend that you do the following preparation steps.
- Make sure you have these instructions always open and in front of your eyes.
- Do a backup of all of your files, even if they could be damaged. You should back up your data with a cloud backup solution and insure your files against any type of loss, even from the most severe threats.
- Be patient as this could take a while.
Step 1: Boot Your PC In Safe Mode to isolate and remove










Step 2: Clean any registries, created by 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 there. This can happen by following the steps underneath:






Step 3: Find files created by




For Newer Windows Operating Systems
1: On your keyboard press + R and write explorer.exe in the Run text box and then click on the Ok button.
2: Click on your PC from the quick access bar. This is usually an icon with a monitor and its name is either “My Computer”, “My PC” or “This PC” or whatever you have named it.
3: Navigate to the search box in the top-right of your PC’s screen and type “fileextension:” and after which type the file extension. If you are looking for malicious executables, an example may be “fileextension:exe”. After doing that, leave a space and type the file name you believe the malware has created. Here is how it may appear if your file has been found:
N.B. We recommend to wait for the green loading bar in the navination box to fill up in case the PC is looking for the file and hasn’t found it yet.
For Older Windows Operating Systems
In older Windows OS’s the conventional approach should be the effective one:
1: Click on the Start Menu icon (usually on your bottom-left) and then choose the Search preference.
2: After the search window appears, choose More Advanced Options from the search assistant box. Another way is by clicking on All Files and Folders.
3: After that type the name of the file you are looking for and click on the Search button. This might take some time after which results will appear. If you have found the malicious file, you may copy or open its location by right-clicking on it.
Now you should be able to discover any file on Windows as long as it is on your hard drive and is not concealed via special software.
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 with SpyHunter Anti-Malware Tool


Milena Dimitrova
An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim
Preparation before removing .
Before starting the actual removal process, we recommend that you do the following preparation steps.
- Make sure you have these instructions always open and in front of your eyes.
- Be patient as this could take a while.
Step 1: Uninstall 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:






Step 2: Clean your Browsers from .








2. Select the “Add-ons” icon from the menu.
3. Select the unwanted extension and click “Remove“
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.
2. Move the cursor over “Tools” and then from the extended menu choose “Extensions“
3. From the opened “Extensions” menu locate the unwanted extension and click on its “Remove” button.
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.
2. Click on the gear icon labeled ‘Tools’ to open the drop menu and select ‘Manage Add-ons’
3. In the ‘Manage Add-ons’ window.
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’.
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.
2. Open the drop menu by clicking on the icon at the top right corner.
3. From the drop menu select “Extensions”.
4. Choose the suspected malicious extension you want to remove and then click on the gear icon.
5. Remove the malicious extension by scrolling down and then clicking on Uninstall.
Step 3: Clean any registries, created by 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 there. This can happen by following the steps underneath:






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 with SpyHunter Anti-Malware Tool


Milena Dimitrova
An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim
Preparation Phase:
Before starting to follow the steps below, be advised that you should first do the following preparations:
- Backup your files in case the worst happens.
- Make sure to have a device with these instructions on standy.
- Arm yourself with patience.
Step 1: Uninstall and remove related files and objects
1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:
- 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 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:
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: Remove – related extensions from Safari / Chrome / Firefox






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


Milena Dimitrova
An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim