Astaroth Trojan

Also Known As: Astaroth virus
Type: Trojan
Distribution: Moderate
Damage level: Severe

Astaroth virus removal guide

What is Astaroth?

Astaroth is high-risk trojan-type virus. It is typically distributed using spam email campaigns. Criminals send hundreds of thousands of emails that contain deceptive messages encouraging users to open attached files (Microsoft Office documents). Once opened, these files run commands that inject Astaroth into the system. Following infiltration, Astaroth injects other malicious apps. At time of research, it was used to proliferate a keylogger designed to steal personal data, however, Astaroth is also used to proliferate other malware.

Astaroth malware

After successful system infiltration, Astaroth performs a chain of actions to inject malware, however, the ultimate result is identical: infiltration of other malware. At time of research, Astaroth targeted users mainly from South America. The keylogger proliferated via Astaroth records browsing activity on the Internet Explorer web browser. To ensure that people will use this browser, the malware terminates Google Chrome and Mozilla Firefox (the most popular browsers) processes if they are executed. In this way, keylogger attempts to trick users into believing that these browsers are not working properly. With no other browsers available, users are thus encouraged to launch Internet Explorer. The keylogger targets Brazilian banks and businesses. The malware will only record keystrokes when a specific website is opened, however, if cyber criminals gain access to bank accounts, they will certainly attempt to steal funds. Cyber criminals aim to generate as much revenue as possible. In some cases, however, these people proliferate viruses with destructive purposes (they attempt to cause data and financial loss). Note that the keylogger developers also target business websites. If criminals gain access to the admin panel of a website, they can cause various issues. E.g., they can remove existing content, add malicious content, delete user accounts, etc. In addition, these people might inject hijacked websites with scripts used to mine cryptocurrency. In this case, each visitor's computer is used as a cryptomining tool when the website is opened. Many services provide these functionalities legitimately (e.g., GRIDCASH, CoinImp, Coinhive, etc.), however, criminals misuse cryptomining techniques to generate revenue. Furthermore, many regular users (who are not familiar with cyber security) use an identical password for many accounts. Thus, after gaining access to one account, criminals can often access others (e.g., emails, social networks, etc.). In any case, the keylogger distributed using Astaroth might cause serious financial/data loss and privacy issues. Although Astaroth currently distributes keylogging malware, in future, criminals might use this trojan to proliferate other viruses, such as ransomware, cryptominers, and so on. Therefore, Astaroth poses a significant threat to any user.

Threat Summary:
Name Astaroth virus
Threat Type Trojan, Password stealing virus, Banking malware, Spyware
Detection Names Avast (Other:Malware-gen [Trj]), BitDefender (Trojan.LNK.Agent.AJC), ESET-NOD32 (LNK/TrojanDownloader.Agent.SM), Kaspersky (Trojan.WinLNK.Agent.uu), Full List (VirusTotal)
Symptoms Trojans are designed to stealthily infiltrate victim's computer and remain silent thus no particular symptoms are clearly visible on an infected machine.
Distribution methods Infected email attachments, malicious online advertisements, social engineering, software cracks.
Damage Stolen banking information, passwords, identity theft, victim's computer added to a botnet.

To eliminate Astaroth virus our malware researchers recommend scanning your computer with Spyhunter.
▼ Download Spyhunter
Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.

There numerous trojan-type viruses distributed using spam email campaigns (e.g., Qakbot, ExileRat, Ave Maria, TrickBot, FormBook, etc.). The developers of these viruses are different and, thus, the functionality might also differ (some gather information, others inject other viruses, and so on), however, all pose a significant threat to your privacy and computer safety. Therefore, removal of this malware is paramount.

How did Astaroth infiltrate my computer?

As mentioned above, Astaroth is proliferated using spam email campaigns. Criminals send emails with malicious attachments - Microsoft Office documents (Excel, Word, etc.). Once opened, these files ask users to enable macro commands. In doing so,, users grant files permission to execute macros that download and install Astaroth into the system. This, however, is just the start. After successful infiltration, Astaroth performs many actions to inject additional malware. Astaroth downloads and runs a .lnk file leading to an external URL (.lnk files are typically used as shortcuts to access content stored within the system). Astaroth then downloads a .php file from the URL. This downloaded .php file contains a style sheet with JavaScript embedded within. The JavaScript code generates a random number to select a CloudFlare URL from which the next payload (another style sheet with JavaScript) is downloaded. The second JavaScript places the malware (a keylogger at time of research). It also randomly selects a download URL and then copies two Windows OS executables ("certutil" [the copy is renamed to "certix"] and "regsvr32") to the "%TEMP%" folder. Those are later used to finish the malware download. The last step is to check the Program Files folder to determine if the Avast anti-virus suite is installed. If it is not, the script executes a .dll file and terminates itself. Once all these steps are performed, Astaroth finally executes the downloaded malware (keylogger). Again, bear in mind that Astaroth's behavior (list of actions) might change, depending on whether criminals use this trojan to proliferate other malware.

How to avoid installation of malware?

To prevent these computer infections, be very cautious when browsing the internet. Think twice before opening email attachments. Files that seem irrelevant and those received from suspicious/unrecognizable email addresses should never be opened. These should be deleted without reading. Furthermore, bear in mind that criminals often send deceptive messages claiming that the recipient will gain something free of charge (e.g., the recipient has won a lottery, received a package, someone has transferred money to the recipient's account, etc.). They hope that the recipient will be tricked into opening the attachment. Do not be fooled by this scam. Having a reputable anti-virus/anti-spyware suite installed and running at all times is also paramount. These tools commonly detect and eliminate malware before it can harm the system. The main reasons for computer infections are poor knowledge and careless behavior. The key to safety is caution. If you believe that your computer is already infected, we recommend running a scan with Spyhunter for Windows to automatically eliminate infiltrated malware.

Another deceptive email promoting Astaroth trojan:

Second email promoting Astaroth trojan

Instant automatic removal of Astaroth virus: Manual threat removal might be a lengthy and complicated process that requires advanced computer skills. Spyhunter is a professional automatic malware removal tool that is recommended to get rid of Astaroth virus. Download it by clicking the button below:
▼ DOWNLOAD Spyhunter By downloading any software listed on this website you agree to our Privacy Policy and Terms of Use. Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.

Quick menu:

How to remove malware manually?

Manual malware removal is a complicated task - usually it is best to allow antivirus or anti-malware programs to do this automatically. To remove this malware we recommend using Spyhunter for Windows. If you wish to remove malware manually, the first step is to identify the name of the malware that you are trying to remove. Here is an example of a suspicious program running on a user's computer:

malicious process running on user's computer sample

If you checked the list of programs running on your computer, for example, using task manager, and identified a program that looks suspicious, you should continue with these steps:

manual malware removal step 1 Download a program called Autoruns. This program shows auto-start applications, Registry, and file system locations:

screenshot of autoruns application

manual malware removal step 2Restart your computer into Safe Mode:

Windows XP and Windows 7 users: Start your computer in Safe Mode. Click Start, click Shut Down, click Restart, click OK. During your computer start process, press the F8 key on your keyboard multiple times until you see the Windows Advanced Option menu, and then select Safe Mode with Networking from the list.

Safe Mode with Networking

Video showing how to start Windows 7 in "Safe Mode with Networking":

Windows 8 users: Start Windows 8 is Safe Mode with Networking - Go to Windows 8 Start Screen, type Advanced, in the search results select Settings. Click Advanced startup options, in the opened "General PC Settings" window, select Advanced startup. Click the "Restart now" button. Your computer will now restart into the "Advanced Startup options menu". Click the "Troubleshoot" button, and then click the "Advanced options" button. In the advanced option screen, click "Startup settings". Click the "Restart" button. Your PC will restart into the Startup Settings screen. Press F5 to boot in Safe Mode with Networking.

Windows 8 Safe Mode with networking

Video showing how to start Windows 8 in "Safe Mode with Networking":

Windows 10 users: Click the Windows logo and select the Power icon. In the opened menu click "Restart" while holding "Shift" button on your keyboard. In the "choose an option" window click on the "Troubleshoot", next select "Advanced options". In the advanced options menu select "Startup Settings" and click on the "Restart" button. In the following window you should click the "F5" button on your keyboard. This will restart your operating system in safe mode with networking.

windows 10 safe mode with networking

Video showing how to start Windows 10 in "Safe Mode with Networking":


manual malware removal step 3Extract the downloaded archive and run the Autoruns.exe file.

extract and run autoruns.exe

manual malware removal step 4In the Autoruns application, click "Options" at the top and uncheck the "Hide Empty Locations" and "Hide Windows Entries" options. After this procedure, click the "Refresh" icon.

Click 'Options' at the top and uncheck 'Hide Empty Locations' and 'Hide Windows Entries' options

manual malware removal step 5Check the list provided by the Autoruns application and locate the malware file that you want to eliminate.

You should write down its full path and name. Note that some malware hides process names under legitimate Windows process names. At this stage, it is very important to avoid removing system files. After you locate the suspicious program you wish to remove, right click your mouse over its name and choose "Delete".

locate the malware file you want to remove

After removing the malware through the Autoruns application (this ensures that the malware will not run automatically on the next system startup), you should search for the malware name on your computer. Be sure to enable hidden files and folders before proceeding. If you find the filename of the malware, be sure to remove it.

searching for malware file on your computer

Reboot your computer in normal mode. Following these steps should remove any malware from your computer. Note that manual threat removal requires advanced computer skills. If you do not have these skills, leave malware removal to antivirus and anti-malware programs. These steps might not work with advanced malware infections. As always it is best to prevent infection than try to remove malware later. To keep your computer safe, install the latest operating system updates and use antivirus software.

To be sure your computer is free of malware infections we recommend scanning it with Spyhunter for Windows.

About the author:

Tomas Meskauskas

Tomas Meskauskas - expert security researcher, professional malware analyst.

I am passionate about computer security and technology. I have an experience of over 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an author and editor for since 2010. Follow me on Twitter and LinkedIn to stay informed about the latest online security threats. Contact Tomas Meskauskas.

PCrisk security portal is brought by a company RCS LT. Joined forces of security researchers help educate computer users about the latest online security threats. More information about the company RCS LT.

Our malware removal guides are free. However, if you want to support us you can send us a donation.

Removal Instructions in other languages
Malware activity

Global virus and spyware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.

QR Code
Astaroth virus QR code
A QR code (Quick Response Code) is a machine-readable code which stores URLs and other information. This code can be read using a camera on a smartphone or a tablet. Scan this QR code to have an easy access removal guide of Astaroth virus on your mobile device.
We Recommend:

Get rid of Astaroth virus today:

▼ REMOVE IT NOW with Spyhunter

Platform: Windows

Editors' Rating for Spyhunter:
Editors ratingOutstanding!

[Back to Top]

Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.