A rather strong wave of old malware is resurfacing the Web. In this article we will analyze the Bayrob Trojan (Win32/Bayrob, Trojan.Bayrob!gen8, Trojan.Bayrob) which hasn’t been active for at least 9 years. The threat has been updated and set on the loose. Bayrob’s malicious code is now more precise and is up-to-date with recent malware.
|Type||Trojan, Infostealer, Backdoor|
|Short Description||The Trojan hasn’t been active for over 9 years, but has been just caught active by security researchers.|
|Symptoms||An error message is displayed “This application is not compatible with the recent version of Windows you’re running…”.|
|Distribution Method||Spam email attachments.|
See If Your System Has Been Affected by malware
Malware Removal Tool
|User Experience||Join Our Forum to Discuss Bayrob Trojan.|
A Look into Bayrob’s Latest Infections
Bayrob December 2015
Bayrob hasn’t been active since 2007, at least not in aggressive and widely-spread campaigns. However, the threat re-emerged last winter, in December, when it was spotted again by security researchers. Bayrob was spreading via malicious attachments in emails trying to impersonate Amazon.
Bayrob classifies as an infostealer and a backdoor type of Trojan. During December’s attacks, the Trojan was set to steal and send to a command and control server the following details from a victim’s machine:
- OS version
- Computer Name
- PC’s IP Address
- Information about the OS and system settings
- MAC address
- List of running services
Bayrob was spotted active again about 2 weeks ago. Apparently, the Trojan has new versions and its code has been modified to evade reverse engineering and detection.
Bayrob Version 2016
What hasn’t been changed in Bayrob’s code? In both its past and current attacks, the Trojan is designed to set up a proxy server to steal sensitive information from victim machines. What’s new in Bayrob is its improved capability to avoid detection and clone itself to launch multiple processes. Each of the processes (services) has its own malicious task to handle.
Fortinet researchers have discovered that Bayrob’s original sample:
drops one copy of itself, runs the first copy, and exits. The name of the first copy is a fixed prefix (“ulms” in the sample we analyzed), appended with a randomly generated string. The original process also displays a fake error message to hide its actual malicious behavior. Below [see picture] shows how it achieves this and the actual message. The first copy then drops another copy of itself. It also creates and starts a service, as shown below. The service runs major tasks such as C&C communication.
Bayrob is also capable of differentiating its running stage in the multiple processes/services by file names. The Trojan also drops identifiers to recognize its lifecycle stage.
Its latest versions are also set to perform code obfuscation, use dead code and apply encryption. Bayrob is now able to encrypt data while harvesting and exfiltrating data from the victim’s computer. The encryption usually gets in the way of security researchers’ analysis and anti-malware software’s detection.
Learn More about Code Obfuscation
Bayrob’s communications with its command & control server are also encrypted, and it also uses a custom protocol over TCP/IP.
Finally, here is a list of Bayrob’s detection names, via VirusTotal:
- Trojan.Bayrob.1 [Dr.Web]
- a variant of Win32/Bayrob.AA [ESET-NOD32]
- W32/Bayrob.T!tr [Fortinet]
- Trojan.Win32.Bayrob [Ikarus]
- TrojanSpy:Win32/Nivdort.AF [Microsoft]
- Mal/Bayrob-B [Sophos]
- TROJ_BAYROB.SM0 [TrendMicro-HouseCall]
- Gen:Variant.Diley.1 [Bitdefender]
- Win32/Cryptor [AVG]
Remove Bayrob Trojan and Protect Your System
As with other Trojans, the most secure way to prevent an infection is via having an active anti-malware protection on the system. If you have been affected, refer to the removal steps below to try and remove the Trojan completely, automatically or manually.
- Guide 1: How to Remove Bayrob Trojan from Windows.
- Guide 2: Get rid of Bayrob Trojan on Mac OS X.
- Guide 3: Remove Bayrob Trojan in Google Chrome.
- Guide 4: Erase Bayrob Trojan from Mozilla Firefox.
- Guide 5: Uninstall Bayrob Trojan from Microsoft Edge.
- Guide 6: Remove Bayrob Trojan from Safari.
- Guide 7: Eliminate Bayrob Trojan from Internet Explorer.
- Guide 8: Disable Bayrob Trojan Push Notifications in Your Browsers.
About the Bayrob Trojan Research
The content we publish on SensorsTechForum.com, this Bayrob Trojan how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific, adware-related problem, and restore your browser and computer system.
How did we conduct the research on Bayrob Trojan?
Please note that our research is based on independent investigation. We are in contact with independent security researchers, thanks to which we receive daily updates on the latest malware, adware, and browser hijacker definitions.
Furthermore, the research behind the Bayrob Trojan threat is backed with VirusTotal https://www.virustotal.com/gui/home/upload.
To better understand this online threat, please refer to the following articles which provide knowledgeable details.
1.Browser Redirect – What Is It?
2.Adware Is Malicious, and It Uses Advanced Techniques to Infect
3.The Thin Red Line Between Potentially Unwanted Programs and Malware
4.The Pay-Per-Install Affiliate Business – Making Millions out of Adware
5.Malicious Firefox Extensions Installed by 455,000 Users Blocked Updates
How to Remove Bayrob Trojan from Windows.
Step 1: Boot Your PC In Safe Mode to isolate and remove Bayrob Trojan
Step 2: Uninstall Bayrob Trojan 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.
Step 3: Clean any registries, created by Bayrob Trojan on your computer.
The usually targeted registries of Windows machines are the following:
You can access them by opening the Windows registry editor and deleting any values, created by Bayrob Trojan 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.
Step 4: Scan for Bayrob Trojan with SpyHunter Anti-Malware Tool
1. Click on the "Download" button to proceed to SpyHunter's download page.
2. After you have installed SpyHunter, wait for it to update automatically.
3. After the update process has finished, click on the 'Malware/PC Scan' tab. A new window will appear. Click on 'Start Scan'.
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.
Video Removal Guide for Bayrob Trojan (Windows).
Get rid of Bayrob Trojan from Mac OS X.
Step 1: Uninstall Bayrob Trojan 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:
2. Find Activity Monitor and double-click it:
3.In the Activity Monitor look for any suspicious processes, belonging or related to Bayrob Trojan:
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 Bayrob Trojan. 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 Bayrob Trojan. 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 Bayrob Trojan 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:
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 Bayrob Trojan. If you believe there is no such file, do not delete anything.
You can repeat the same procedure with the following other Library directories:
Tip: ~ is there on purpose, because it leads to more LaunchAgents.
Step 2: Scan for and remove Bayrob Trojan files from your Mac
When you are facing problems on your Mac as a result of unwanted scripts and programs such as Bayrob Trojan, 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.
Video Removal Guide for Bayrob Trojan (Mac)
Remove Bayrob Trojan 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.
Erase Bayrob Trojan 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.
Uninstall Bayrob Trojan 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.
Remove Bayrob Trojan 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".
Step 4: After that, select the 'Extensions' Tab.
Step 5: Click once on the extension you want to remove.
Step 6: Click 'Uninstall'.
A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the Bayrob Trojan will be removed.
Eliminate Bayrob Trojan 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.
Remove Push Notifications caused by Bayrob Trojan from Your Browsers.
Turn Off Push Notifications from Google Chrome
To disable any Push Notices from Google Chrome browser, please follow the steps below:
Step 1: Go to Settings in Chrome.
Step 2: In Settings, select “Advanced Settings”:
Step 3: Click “Content Settings”:
Step 4: Open “Notifications”:
Step 5: Click the three dots and choose Block, Edit or Remove options:
Remove Push Notifications on Firefox
Step 1: Go to Firefox Options.
Step 2: Go to “Settings”, type “notifications” in the search bar and click "Settings":
Step 3: Click “Remove” on any site you wish notifications gone and click “Save Changes”
Stop Push Notifications on Opera
Step 1: In Opera, press ALT+P to go to Settings.
Step 2: In Setting search, type “Content” to go to Content Settings.
Step 3: Open Notifications:
Step 4: Do the same as you did with Google Chrome (explained below):
Eliminate Push Notifications on Safari
Step 1: Open Safari Preferences.
Step 2: Choose the domain from where you like push pop-ups gone and change to "Deny" from "Allow".
Bayrob Trojan FAQ
What is Bayrob Trojan?
The Bayrob Trojan threat is adware or browser redirect virus. It may slow your computer down siginficantly and display advertisements. The main idea is for your information to likely get stolen or more ads to appear on your device.
The creators of such unwanted apps work with pay-per-click schemes to get your computer to visit risky or different types of websites that may generate them funds. This is why they do not even care what types of websites show up on the ads. This makes their unwanted software indirectly risky for your OS.
What are the symptoms of Bayrob Trojan?
There are several symptoms to look for when this particular threat and also unwanted apps in general are active:
Symptom #1: Your computer may become slow and has poor performance in general.
Symtpom #2: You have toolbars, add-ons or extensions on your web browsers that you don't remember adding.
Symptom #3: You see all types of ads, like ad-supported search results, pop-ups and redirects to randomly appear.
Symptom #4: You see installed apps on your Mac running automatically and you do not remember installing them.
Symptom #5: You see suspicious processes running in your Task Manager.
If you see one or more of those symptoms, then security experts reccomend that you check your computer for viruses.
What types of Unwanted Programs are there?
According to most malware researchers and cyber-security experts, the threats that can currently affect your Mac can be the following types:
- Rogue Antivirus programs.
- Browser hijackers.
- Fake optimizers.
What to do if I have a "virus" like Bayrob Trojan?
Do not panic! You can easily get rid of most adware or unwanted program threats by firstly isolating them and then removing them from your browser and computer. One reccomended way to do that is by using a reputable malware removal software that can take care of the removal automatically for you. There are many anti-malware apps out there that you can choose from. SpyHunter is one of the reccomended anti-malware apps, that can scan your computer for free and detect any viruses, tracking cookies and unwanted adware apps and eliminate them quickly. This saves time when compared to doing the removal manually.
How to secure my passwords and other data from Bayrob Trojan?
With few simple actions. First and foremost, it is imperative that you follow these steps:
Step 1: Find a safe computer and connect it to another network, not the one that your Mac was infected in.
Step 2: Change all of your passwords, starting from your e-mail passwords.
Step 3: Enable two-factor authentication for protection of your important accounts.
Step 4: Call your bank to change your credit card details (secret code, etc.) if you have saved your credit card for online shopping or have done online activiites with your card.
Step 5: Make sure to call your ISP (Internet provider or carrier) and ask them to change your IP address.
Step 6: Change your Wi-Fi password.
Step 7: (Optional): Make sure to scan all of the devices connected to your network for viruses and repeat these steps for them if they are affected.
Step 8: Install anti-malware software with real-time protection on every device you have.
Step 9: Try not to download software from sites you know nothing about and stay away from low-reputation websites in general.
If you follow these reccomendations, your network and all devices will become significantly more secure against any threats or information invasive software and be virus free and protected in the future too.
More tips you can find on our website, where you can also ask any questions and comment underneath the articles about your computer problems. We will try to respond as fast as possible.