Skip to content

Zip parser: tolerate 2-byte overlap in file entries (0.104.4)#642

Merged
val-ms merged 1 commit intoCisco-Talos:dev/0.104.4from
val-ms:CLAM-1763-overlapping-files-0.104.4
Jul 19, 2022
Merged

Zip parser: tolerate 2-byte overlap in file entries (0.104.4)#642
val-ms merged 1 commit intoCisco-Talos:dev/0.104.4from
val-ms:CLAM-1763-overlapping-files-0.104.4

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Jul 18, 2022

Backport of #561


The heuristic to alert on overlapping file entries is detecting some
non-malicious JAR files observed in critical enterprise software.
The goal with overlap detection is to alert on non-recursive zip-
bombs, so this tiny overlap isn't a concern.
We'll allow a 2-byte overlap so we don't alert on such zips.

The heuristic to alert on overlapping file entries is detecting some
non-malicious JAR files observed in critical enterprise software.
The goal with overlap detection is to alert on non-recursive zip-
bombs, so this tiny overlap isn't a concern.
We'll allow a 2-byte overlap so we don't alert on such zips.
@val-ms val-ms merged commit 2de7d53 into Cisco-Talos:dev/0.104.4 Jul 19, 2022
@val-ms val-ms deleted the CLAM-1763-overlapping-files-0.104.4 branch July 19, 2022 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant