We're gradually updating threat actor names in our reports to align with the new weather-themed taxonomy. Learn about Microsoft threat actor names
Trojan:MSIL/Malgent
Aliases: No associated aliases
Summary
Trojan:MSIL/Malgent is classified as harmful software written in the Microsoft Intermediate Language (MSIL), a low-level, platform-independent malicious code generated under .NET framework. It often acts as a downloader that brings in additional malicious programs, but in some cases, it behaves like ransomware by locking files on the affected device. It can only be detected via behavioral monitoring. Once active, it can disrupt normal operations by changing network settings, blocking security tools, and encrypting data, making files unusable until a ransom is paid. Infections start from risky online actions, and while some detection might flag harmless files, confirmed cases pose serious risks to data privacy and device stability.
- Disconnect from the internet to prevent the malware from communicating with its command servers or stealing more data.
- Use the Windows Malicious Software Removal Tool (MSRT). This free Microsoft tool targets specific widespread threats and can remove active malware that other scans might miss. It runs monthly via Windows Update, but you can download and run it manually from Microsoft's website.
- Where possible, switch to an authenticator app or a physical security key instead of SMS-based codes, which can be intercepted.
- Assume passwords stored on or typed into the infected PC are compromised. Change passwords for email, banking, social media, and other critical accounts using a different, trusted device (like your phone).
- review the Startup folder (%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\) for suspicious shortcuts (.url files). Check the Registry Run keys (HKCU\Software\Microsoft\Windows\CurrentVersion\Run) for unknown entries.
- Malware often drops files in temp folders. Press Windows Key + R, type %temp%, and delete all files in the folder that opens. You can also use the built-in Disk Cleanup tool.
Microsoft Defender Antivirus automatically removes threats as they are detected. However, many infections can leave remnant files and system changes. Updating your antimalware definitions and running a full scan might help address these remnant artifacts.
You can also visit our advanced troubleshooting page or search the Microsoft virus and malware community for more help.