Cheap Idea: Automatic Tool for Disinfecting File Headers (PNGs, MP3s, MKVs)

It would be amazing if there was an automatic disinfecting tool to easily “disinfect” a whole folder filled with different stuff.

The assumption is that all malicious code exists inside the headers of files, but not the content. If I read a file with a tool like ffmpeg or imagemagick via disposable edit, and let it resave the files, it should delete any malicious data that existed in the headers of the files.

Does anyone know if my idea actually works, OR if there already exists a tool like this?

1 Like

for .png: GitHub - QubesOS/qubes-app-linux-img-converter: Qubes component: app-linux-img-converter · GitHub
or: dangerzone/INSTALL.md at main · freedomofpress/dangerzone · GitHub

Does anyone know if my idea actually works

you probably could re-render the video, but it will take ages to be useful. Just watch it in a dispvm.

4 Likes

It does, at least partially, MAT:

MAT does not exist as a context menu option via disposable edit at the moment, that would be a good idea to implement.

1 Like

In addition the mentioned qvm-convert-* tools, there is ongoing work to provide a tool capable of handling videos and other formats:

1 Like

also GitHub - freedomofpress/dangerzone at v0.11.0 · GitHub

3 Likes