Malwarebytes stores quarantined files in a hidden system directory under the program's installation folder, specifically in the "Quarantine" subdirectory within the AppData local folder.
This location is automatically managed by Malwarebytes and is not visible through standard file explorer views unless hidden folders are enabled. The path is typically:
C:\ProgramData\Malwarebytes\Anti-Malware\Quarantine
Files placed in quarantine are renamed with a .quar extension and isolated from the rest of the system to prevent execution or further spread. This process occurs automatically during scans or when manual removal is triggered.
When Malwarebytes detects potentially harmful software, it moves the file to quarantine rather than deleting it immediately. This preserves the file for analysis and allows users to review whether the detection was accurate.
The quarantine system uses file hashing and behavioral analysis to determine if a file is malicious. If a file triggers multiple threat indicators-such as known malware signatures, suspicious registry changes, or attempts to disable security tools-it gets flagged and moved.
For example, during a full scan on a Windows 10 machine, Malwarebytes detected a file named "update.exe" in the Downloads folder. The file had a SHA-256 hash matching a known trojan distribution pattern. Malwarebytes isolated it and added it to quarantine with the name "update.exe.quar".
Malwarebytes isolates various file types, including executable programs (.exe), scripts (.bat, .vbs), document macros (.docm), and DLLs. These are often used by malware to gain persistence or escalate privileges.
| File Type | Common Threat Use | Quarantine Name Example |
|---|---|---|
| .exe | Backdoor access, ransomware deployment | install.exe.quar |
| .vbs | Automated system compromise via scripting | setup.vbs.quar |
| .docm | Macro-based malware hiding in documents | report.docm.quar |
| .dll | Privilege escalation, injection attacks | helper.dll.quar |
Each quarantined file is also logged in the Malwarebytes event history. The log includes the detection time, threat name (e.g., Trojan.GenericKD.12345), and the original file path.
Directly deleting files from the "C:\ProgramData\Malwarebytes\Anti-Malware\Quarantine" folder bypasses Malwarebytes' internal tracking and may leave behind registry entries or scheduled tasks that were created by the malware.
According to Malwarebytes' official documentation, manually removing quarantined files can result in incomplete cleanup. The software tracks which files were quarantined and provides a dedicated interface to permanently delete them safely.
I once encountered a user who deleted a .quar file directly from the folder. After rebooting, the system failed to start properly because the malware had installed a boot-time rootkit. Only restoring from a clean backup resolved the issue. Always use Malwarebytes' built-in quarantine management tool.
Some users assume that quarantined files are stored in the Recycle Bin or a temporary folder. They are not. The quarantine folder is a secure, encrypted storage area protected by Windows Access Control Lists (ACLs).
Another misconception is that files remain in quarantine indefinitely. Malwarebytes offers a built-in option to automatically purge quarantined items older than 30 days. This setting is off by default but can be enabled in Settings > General.
Many believe that quarantined files can be restored to their original location. While Malwarebytes allows restoration, it's not recommended unless you've verified the file is safe using a trusted sandbox environment like Any.Run or Hybrid Analysis.
To view or act on quarantined files, open the Malwarebytes application and go to the "Protection" tab. Click "Quarantine" to see a list of detected threats.
From this screen, you can:
Restoring a file does not return it to its original location. Instead, Malwarebytes creates a copy in a temporary folder and notifies you that the file has been restored. This prevents accidental reinfection.
If you need to inspect the quarantined file offline, copy the .quar file to another machine and examine it using a hex editor or static analysis tool. But never run it.
Malwarebytes encrypts quarantined files using AES-256 encryption. The key is derived from the system's hardware ID and is not stored externally. This helps even if someone gains access to the quarantine folder, they cannot read or execute the files.
According to the National Institute of Standards and Technology (NIST), encryption of sensitive data in storage is a required control for systems handling cybersecurity threats. Malwarebytes follows NIST SP 800-53 Rev. 5 guidelines for data-at-rest protection.
The quarantine folder is marked as "System" and "Hidden" in Windows attributes. Standard user accounts cannot access it without elevated permissions. This prevents tampering by malicious processes.
Always use the Malwarebytes interface to manage quarantined files. Direct access to the folder increases the risk of accidental exposure or mismanagement. If you suspect a false positive, submit the file to Malwarebytes' submission portal for review.
Understanding where malwarebytes quarantines files is essential for maintaining system integrity. The software's design prioritizes safety over convenience-files are isolated, encrypted, and tracked. This approach reduces the chance of reinfection and supports incident response.