Dump quarantined files from Windows Defender
Forensically list and extract quarantined files from a mounted disk. Extracted files are put into a tar archive in order to prevent accidental triggering of Defender Real-time protection.
Update: for a more robust version supporting multiple AVs see maldump
List quarantine files located on disk C
> python3 defender-dump.py C:\Dump quarantine files from disk C into archive quarantine.tar
> python3 defender-dump.py C:\ --dumpList quarantine files located on disk G, mounted with FTK Imager using the File System/Read Only method
> python3 defender-dump.py G:\[root]\List quarantine files from a mounted windows partition on /mnt/win
> ./defender-dump.py /mnt/winThe script will list and export only entries of the type "FILE". Any other types (like Registry) are not yet supported.
