Remove TR/ATRAPS.Gen2 virus (Removal Guide)

If Avira Antivirus or Avira Internet Security has found a TR/ATRAPS.Gen2 virus, then your computer is infected with a ZeroAccess rootkit. When Avira antivirus engine will detect a file infected with the TR/ATRAPS.Gen2 virus, will display the following alert:
“Access to file containing the virus or unwanted program ‘TR/ATRAPS.Gen2’ was blocked”
[Image: TR/ATRAPS.Gen2 virus]
The TR/ATRAPS.Gen2 trojan is a dangerous threat that has been circulating for several years.
In the time that TR/ATRAPS.Gen2 has been in the wild there have been a number of revisions, with modifications to its functionality, infection strategy and its persistence mechanisms on an infected machine. However, the core purpose has remained: to assume full control of the machine by adding it to the ZeroAccess botnet and to monetize the new asset by downloading additional malware.

Primarily, TR/ATRAPS.Gen2 trojan is a kernel-mode rootkit, similar in ethos to the TDL family of rootkits. It uses advanced techniques to hide its presence, is capable of functioning on both 32 and 64-bit flavors of Windows from a single installer, contains aggressive self defense functionality and acts as a sophisticated delivery platform for other malware.

The TR/ATRAPS.Gen2 virus remains hidden on an infected machine while downloading more visible components that generate revenue for the botnet owners. Currently the downloaded malware is mostly aimed at sending spam and carrying out click fraud, but previously the botnet has been instructed to download other malware and it is likely that this will be the case again in the future.

TR/ATRAPS.Gen2 virus has been observed being distributed by exploits and programs that promote software-piracy, such as ‘keygens’ and ‘cracks’ (programs designed to bypass software licensing).

Variants of  TR/ATRAPS trojan may also be dropped or installed by other malware, including variants of the Trojan:Win32/Necurs family. The most popular variants of TR/ATRAPS.Gen2 are TR/ATRAPS.Gen1, TR/ATRAPS.Gen.A, TR/ATRAPS.Gen.B.

In the wild, newer TR/ATRAPS.Gen2 variants have been observed dropping the following two files to a chosen directory, for example, C:\recycler\s\:

  • “@” – this file contains information that TR/ATRAPS.Gen2 can use to find other infected computers
  • “n” – this file contains the malicious code for peer-to-peer (P2P) communication

These newer variants then make the following changes to the registry to ensure that TR/ATRAPS.Gen2 runs each time you start your computer:

In subkey: HKLM\Software\Classes\clsid\{5839fca9-774d-42a1-acda-d6a79037f57f}\InprocServer32
Modifies value: “(Default)”
From data: “\wbem\wbemess.dll”
With data: “” (for example, “c:\recycler\s\\n”)

TR/ATRAPS.Gen2 is a dangerous threat that uses advanced stealth techniques in order to hinder its detection and removal. As a consequence of being infected with this threat, you may need to repair and reconfigure some Windows security features.
Because the malware removal process for the TR/ATRAPS.Gen2 trojan is very complex, we recommend that you backup your personal files and folders before starting to remove this infection.

TR/ATRAPS.Gen2 – Virus Removal Guide

This page is a comprehensive guide, which will remove the TR/ATRAPS.Gen2 infection from your your computer. Please perform all the steps in the correct order. If you have any questions or doubt at any point, STOP and ask for our assistance.
STEP 1: Remove TR/ATRAPS.Gen2 Master Boot Record infection with Kaspersky TDSSKiller
STEP 2: Run RKill to terminate TR/ATRAPS.Gen2 malicious processes
STEP 3: Remove TR/ATRAPS.Gen2 virus with Malwarebytes Anti-Malware Free
STEP 4: Remove TR/ATRAPS.Gen2 trojan with RogueKiller
STEP 5:  Remove TR/ATRAPS.Gen2 infection with HitmanPro
STEP 6:  Double-check for TR/ATRAPS.Gen2 infection with Emsisoft and ESET Online Scanner

STEP 1:  Remove TR/ATRAPS.Gen2 trojan with Kaspersky TDSSKiller

As part of its self defense mechanism, TR/ATRAPS.Gen2 virus will install a ZeroAccess rootkit on the infected computer.In this first step, we will run a system scan with Kaspersky TDSSKiller to remove this rookit.

  1. Please download the latest official version of Kaspersky TDSSKiller.
    KASPERSKY TDSSKILLER DOWNLOAD LINK(This link will automatically download Kaspersky TDSSKiller on your computer.)
  2. Before you can run Kaspersky TDSSKiller, you first need to rename it so that
    you can get it to run. To do this, right-click on the TDSSKiller.exe icon and select Rename.
    Edit the name of the file from TDSSKiller.exe to iexplore.exe, and then double-click on it to launch.
  3. Kaspersky TDSSKiller will now start and display the welcome screen and we will need to click on Change Parameters.
    Kaspersky TDSSKiller change settings
  4. In the new open window,we will need to enable Detect TDLFS file system, then click on OK.
    Kaspersky TDSSKiller Detect TDLFS file system
  5. Next,we will need to start a scan with Kaspersky, so you’ll need to press the Start Scan button.
    Kaspersky TDSSKiller start scan
  6. Kaspersky TDSSKiller will now scan your computer for Trojan TR/ATRAPS.Gen2 infection.
    Kaspersky TDSSKiller scan
  7. When the scan has finished it will display a result screen stating whether or not the infection was found on your computer. If it was found it will display a screen similar to the one below.
    Kaspersky TDSSKiller results
  8. To remove the infection simply click on the Continue button and TDSSKiller will attempt to clean the infection.A reboot will be require to completely remove any infection from your system.

STEP 2: Run RKill to terminate the malicious processes associated with TR/ATRAPS.Gen2

RKill is a program that will attempt to terminate all malicious processes associated with TR/ATRAPS.Gen2, so that we will be able to perform the next step without being interrupted by this malicious software.
Because this utility will only stop TR/ATRAPS.Gen2 running process, and does not delete any files, after running it you should not reboot your computer as any malware processes that are configured to start automatically will just be started again.

  1. While your computer is in Safe Mode with Networking ,please download the latest official version of RKill.Please note that we will use a renamed version of RKILL so that TR/ATRAPS.Gen2 won’t block this utility from running.
    RKILL DOWNLOAD LINK (This link will automatically download RKILL renamed as iExplore.exe)
  2. Double click on iExplore.exe to start RKill and stop any processes associated with TR/ATRAPS.Gen2.
    [Image: RKILL Program]
  3. RKill will now start working in the background, please be patient while the program looks for TR/ATRAPS.Gen2 malicious process and tries to end them.
    [Image: RKILL stoping malware]
    If you get a message from TR/ATRAPS.Gen2 stating that RKill is an infection, and then closes this utility, leave the warning on the screen and then run RKill again.
    By not closing the warning, this typically will allow you to bypass the malware trying to protect itself so that RKill can terminate TR/ATRAPS.Gen2.
  4. When the Rkill utility has completed its task, it will generate a log. Do not reboot your computer after running RKill as the malware programs will start again.
    [Image: RKill Report]

STEP 3: Remove TR/ATRAPS.Gen2 virus with Malwarebytes Anti-Malware FREE

Malwarebytes Anti-Malware Free is a powerful on-demand scanner which will remove TR/ATRAPS.Gen2 malicious files from your computer.

  1. You can download Malwarebytes Anti-Malware Free from the below link, then double-click on the icon named mbam-setup.exe to install this program.
    MALWAREBYTES ANTI-MALWARE DOWNLOAD LINK(This link will open a download page in a new window from where you can download Malwarebytes Anti-Malware Free)
  2. When the installation begins, keep following the prompts in order to continue with the setup process, then at the last screen click on the Finish button.
    [Image: Malwarebytes Anti-Malware final installation screen]
  3. On the Scanner tab, select Perform quick scan, and then click on the Scan button to start searching for the TR/ATRAPS.Gen2 malicious files.
    [Image: Malwarebytes Anti-Malware Quick Scan]
  4. Malwarebytes’ Anti-Malware will now start scanning your computer for TR/ATRAPS.Gen2 virus as shown below.
    [Image: Malwarebytes Anti-Malware scanning for TR/ATRAPS.Gen2
  5. When the Malwarebytes Anti-Malware scan has finished, click on the Show Results button.
    [Image: Malwarebytes Anti-Malware scan results]
  6. You will now be presented with a screen showing you the computer infections that Malwarebytes Anti-Malware has detected. Make sure that everything is Checked (ticked), then click on the Remove Selected button.
    [Image: Malwarebytes Anti-Malwar removing TR/ATRAPS.Gen2 virus]
  7. Once your computer will restart in Windows regular mode, open Malwarebytes Anti-Malware and perform a Full System scan to verify that there are no remaining threats.

STEP 4: Remove TR/ATRAPS.Gen2 rootkit with RogueKiller

RogueKiller is a utility that will scan for the TR/ATRAPS.Gen2 rootkit, registry keys and any other malicious files on your computer.

  1. You can download the latest official version of RogueKiller from the below link.
    ROGUEKILLER DOWNLOAD LINK (This link will automatically download RogueKiller on your computer)
  2. Double click on RogueKiller.exe to start this utility and then wait for the Prescan to complete.This should take only a few seconds,  then click on the Scan button to perform a system scan.
    [Image: RogueKiller scaning for TR/ATRAPS.Gen2 virus]
  3. After the scan has completed, press the Delete button to remove TR/ATRAPS.Gen2 malicious registry keys or files.
    [Image: RogueKiller Detele button]

STEP 5: Remove TR/ATRAPS.Gen2 infection with HitmanPro

HitmanPro is a cloud on-demand scanner, which will scan your computer with 5 antivirus engines (Emsisoft, Bitdefender, Dr. Web, G-Data and Ikarus) for the TR/ATRAPS.Gen2 infection.

  1. You can download HitmanPro from the below link:
    HITMANPRO DOWNLOAD LINK (This link will open a web page from where you can download HitmanPro)
  2. Double-click on the file named HitmanPro.exe (for 32-bit versions of Windows) or HitmanPro_x64.exe (for 64-bit versions of Windows). When the program starts you will be presented with the start screen as shown below.
    HitmanPro scanner
    Click on the Next button, to install HitmanPro on your computer.
    HitmanPro installation
  3. HitmanPro will now begin to scan your computer for TR/ATRAPS.Gen2 trojan.
    HitmanPro detecting for TR/ATRAPS.Gen2 virus
  4. When it has finished it will display a list of all the malware that the program found as shown in the image below. Click on the Next button, to remove TR/ATRAPS.Gen2 virus.
    HitmanPro scan results
  5. Click on the Activate free license button to begin the free 30 days trial, and remove all the malicious files from your computer.
    [Image: HitmanPro 30 days activation button]

STEP 6: Double check for TR/ATRAPS.Gen2 infection on your computer

STEP A: Run a scan with Eset Online Scanner.

  1. Download ESET Online Scanner utility.
    ESET Online Scanner Download Link (This link will automatically download ESET Online Scanner on your computer.)
  2. Double click on the Eset installer program (esetsmartinstaller_enu.exe).
  3. Check Yes, I accept the Terms of Use
  4. Click the Start button.
  5. Check Scan archives
  6. Push the Start button.
  7. ESET will then download updates for itself, install itself, and begin scanning your computer. Please be patient as this can take some time.
  8. When the scan completes, push Finish

STEP B: Run a scan with Emsisoft Emergency Kit.

  1. Please download the latest official version of Emsisoft Emergency Kit.
    EMSISOFT EMERGENCY KIT DOWNLOAD LINK (This link will open a download page in a new window from where you can download Emsisoft Emergency Kit)
  2. After the download process will finish , you’ll need to unpack and then double click on EmergencyKitScanner.bat
  3. A pop-up will prompt you to update Emsisoft Emergency Kit , please click the “Yes” button.After the Update process has completed , put the mouse cursor over the “Menu” tab on the left and click-on “Scan PC“.
  4. Select “Smart scan” and click-on the below “SCAN” button.When the scan will be completed , you will be presented with a screen showing you the malware infections that Emsisoft Emergency Kit has detected.Make sure that everything is Checked (ticked) and click on the ‘Quarantine selected objects‘ button.

Your computer should now be free of the TR/ATRAPS.Gen2 infection. If your current anti-virus solution let this infection through, you may want to consider purchasing the PRO version of Malwarebytes Anti-Malware to protect against these types of threats in the future, and perform regular computer scans with HitmanPro.
If you are still experiencing problems while trying to remove TR/ATRAPS.Gen2 from your machine, please start a new thread in our Malware Removal Assistance forum.


If we have managed to help with your computer issues, then please let other people know that this article will help them!
You can share this article on Facebook,Twitter or Google Plus by using the below buttons.


I am the creator and owner of MalwareTips. I am passionate about computer security and technology. I have an experience of 9 years working as a security researcher.

My area of expertise includes Malware Analysis and Computer Forensics. I'm active in the various online anti-malware communities where I do researches for new malware threats as they are released.


All our malware removal guides and utilities are completely free! We do not request any kind of payment for our services, however if you like to support us (with this website maintenance costs), you can make a small donation.
Any amount is appreciated, and will support our fight against malware.

  • fred

    after a 7 hours process against trojans, my pc seems clean, thank you so much for your 6 steps programm. :-) bravo

  • Buttercup

    Hi, My laptop wound up with these nasty viruses (TR/ATRAPS-GEN2, ZeroAccess, etc.). It got so bad, so quickly that it wouldn’t let me download any of the programs you recommended, so I used someone else’s clean computer to get all the files on a flash drive and then ran the scans off that. I had the exact same problem that Lillyvalley below had, but I didn’t see her post or your recommendation to her to use the Combofix method until I had done all of these other steps listed above.

    these seemed to have worked pretty well, with the exception of a trace file that Emsisoft ER Kit can’t quarantine. After it finished running, I restarted my computer (b/c the Internet wouldn’t work) and I ran a deep scan; it found 61 more files and a the same trace file it can’t quarantine.

    Should I try the Combofix method or do you have any suggestions? I’m frustrated and desperate. Can you please help me?

  • thankful

    My laptop is fixed!!! Thank you sooo much I was struggling with these viruses for 2 weeks before I found this site and I got it all done myself, even better! I only have one issue, after removing the viruses it left my laptop in a very very old style taskbar, internet explorer etc. Ive only ever had windows 7 operating system on it and im totally bummed that it vanished :( Ill have to figure out how to get it back..

  • kazloui

    Absolutely fllippin awesome! My hp laptop was seriously sick but I follwed these instructions and it is now running brilliantly and not only that my DVDRW drive is also repaired and the computer wouldn’t even recognise that it existed for over a year. I have definitely bookmarked this site,

  • Stelian Pilici

    Go ahead with the other steps, then at the end you should be able to perform the Tdsskiller scan.
    If you are still experiencing issues while trying to start a utility, you can start into Safe Mode with Networking by pressing the F8 key.

    Stay safe!

  • Stelian Pilici

    Hello Sherry,
    You’ve got a pretty nasty infection on this machine. It’s a ZeroAccess rootkit which has corrupted your Windows Defender settings.
    To remove this infection, please follow the instructions from this guide:

    Stay safe!