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 mshta command used as such.


Malwarebytes protects users from Trojan.Fileless.MTGen by using real-time protection to block the Trojans that create them.

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 Malwarebytes to your desktop.
  2. Double-click MBSetup.exe and follow the prompts to install the program.
  3. When your Malwarebytes for Windows installation 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 Quarantine to 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 page to see which threats were found.

Nebula detections

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

Nebula Quarantaine

Select your language