Neat! I've messed with something similar for ZPAQ, didn't realize RAR had it as well. And for a long time, this might need (2012)
In my case I wanted to compress CD subcodes, most of the unpredictability for these is from a CRC16 on every frame, so I made a filter to xor that out and then back in. If anyone finds that amusing: https://gist.github.com/hcs64/84d981f42cc9f3cfb0f4fc8b37d447...
I remember hearing rumours in the 2010s about rar files being dangerous because they could execute code when you unrar'd them, but never any actual details.
I wonder how secure that VM actually is? Presumably you could use a filter to encrypt your malware payload on disk to hide from passive virus scanners, but can you detect how/what is running the decryption and provide different files for virustotal vs the actual user's computer?
Neat! I've messed with something similar for ZPAQ, didn't realize RAR had it as well. And for a long time, this might need (2012)
In my case I wanted to compress CD subcodes, most of the unpredictability for these is from a CRC16 on every frame, so I made a filter to xor that out and then back in. If anyone finds that amusing: https://gist.github.com/hcs64/84d981f42cc9f3cfb0f4fc8b37d447...
curios is unrar and modern archeve extractors still execute VM custom programs? or it discover only the standerd filters?
I remember hearing rumours in the 2010s about rar files being dangerous because they could execute code when you unrar'd them, but never any actual details.
I wonder how secure that VM actually is? Presumably you could use a filter to encrypt your malware payload on disk to hide from passive virus scanners, but can you detect how/what is running the decryption and provide different files for virustotal vs the actual user's computer?
Wow, never would've thought the RAR format had a whole VM built into it.