Re:Hackers now use ZIP file concatenation to evade detection
by edflsafoiewq on Saturday November 16, 2024 @08:11AM
(#42156233)
tar|gzip does not allow random access to files. You have to decompress the whole tarball (up to the file you want).
[ Parent
| on HN ]
Re:Hackers now use ZIP file concatenation to evade detection
by jonjonsonjr on Saturday November 16, 2024 @11:30AM
(#42157215)
Even worse, in the general case, you should really decompress the whole tarball up to the end because the traditional mechanism for efficiently overwriting a file in a tarball is to append another copy of it to the end. (This is similar to why you should only trust the central directory for zip files.)