- Home
- Detectable Ransomware
- MainBat
Ransomware Research
MainBat Ransomware
MainBat is a malicious ransomware strain that encrypts victim files and demands ransom payment for decryption. First observed in the wild on November 1, 2019, this ransomware has been actively targeting systems worldwide. Security researchers also track this malware under the aliases: TestRansom.
Quick Facts
- Ransomware Family
- MainBat
- First Seen
- November 1, 2019
- Known Aliases
- TestRansom
How MainBat Ransomware Works
Targeted Files
Packs UserFolders to crypt.zip, stored in %UserProfile% https://app.any.run/tasks/04c696aa-f59e-472c-889a-6e7a7cda948a/
File Encryption Patterns
MainBat modifies encrypted files using specific patterns to mark them as encrypted:
File extensions added after encryption:
..crypt
Ransom Note and Payment Demands
After encrypting files, MainBat displays ransom notes demanding payment for file recovery:
message.txt
Ransom message:
notes/message.txt
Note locations:
StartUp
Technical Indicators
Associated Executable Files
The following executable files are associated with MainBat ransomware:
Test Ransom.exe
main.bat
crypt.bat
Elastio Can Help You
Don't let MainBat ransomware take over your data
Elastio provides advanced ransomware protection and recovery solutions to keep your organization safe.
About This Analysis
This MainBat ransomware analysis is part of Elastio's comprehensive ransomware detection database. Elastio provides advanced ransomware protection and recovery solutions, helping organizations defend against and recover from ransomware attacks like MainBat.
Last updated: July 30, 2025