Skip to main content
Skip to main content
Microsoft Security Intelligence
Published May 02, 2022 | Updated Dec 01, 2025

Trojan:JS/AsyncRat!MSR

Detected by Microsoft Defender Antivirus

Aliases: No associated aliases

Summary

Trojan:JS/AsyncRat!MSR (Asynchronous Remote Access Trojan) is a JavaScript-based initial loader for the AsyncRAT malware family. It functions as the first stage in a multi-phase attack, most often delivered through phishing emails that contain malicious attachments or links to compromised cloud storage. Once activated, the script launches a complex and obfuscated sequence designed to download, decrypt, and install the final AsyncRAT payload onto a Windows device. 

The final AsyncRAT payload is a fully featured Remote Access Trojan (RAT) built on the .NET framework. Its source code was publicly released on GitHub in 2019, a factor that has made it a common tool for a wide spectrum of cybercriminal activity. It provides threat actors with comprehensive control over a target device, which allows surveillance and data theft such as keylogging, credential theft from web browsers, and file exfiltration. Its open-source nature allows various threat actors, from ransomware groups to state-sponsored entities, to customize and deploy it in campaigns that use social engineering tactics to exploit user trust. 

  • Disconnect the infected device from all networks (both wired and wireless) to sever the command-and-control connection. 
  • Check the Windows Task Scheduler or Process Explorer for malicious suspicious processes related to cmd.exe, powershell.exe, or any unknown binaries. to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Carefully delete any entries pointing to malicious files. 
  • Open Windows Task Scheduler and delete any malicious tasks you've identified. 
  • On a clean device, change all passwords that were used or stored on the infected device. 

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. 

Follow us