detection icon

Short bio

Trojan.Fileless.MTGen is Malwarebytes’ generic detection name for the startup locations in use by fileless infections that gain persistence by creating these registry keys on Windows systems.


In the majority of the cases, the registry keys created by Trojan.Fileless.MTGen are designed to run Powershell commands that carry out the rest of the infection. Other than Powershell, we have also seen the mshtacommand used as such.


prevent Trojan.Fileless.MTGen

Malwarebytes prevents Trojan.Fileless.MTGen

Home remediation

Malwarebytes can detect and remove Trojan.Fileless.MTGen without further user interaction.

  1. Please download Malwarebytesto your desktop.
  2. Double-click MBSetup.exeand follow the prompts to install the program.
  3. When your Malwarebytes for Windowsinstallation completes, the program opens to the Welcome to Malwarebytes screen.
  4. Click on the Get startedbutton.
  5. Click Scan to start a Threat Scan.
  6. Click Quarantineto remove the found threats.
  7. Reboot the system if prompted to complete the removal process.

Business remediation

How to remove Trojan.Fileless.MTGen with the Malwarebytes Nebula console

You can use the Malwarebytes Anti-Malware Nebula console to scan endpoints.

endpoint menu

Nebula endpoint tasks menu

Choose the Scan + Quarantine option. Afterwards you can check the Detections pageto see which threats were found.

Nebula detections

On the Quarantine pageyou can see which threats were quarantined and restore them if necessary.

Nebula Quarantaine