KeyView 24.4
KeyView Filter SDK Python Programming Guide

# Unexpected ZIP Detection

Concatenating a ZIP file onto another file, such as a JPEG, is a well-known method for attempting to hide files from inspection. Users can zip up their sensitive files, then concatenate them on to the other file by using something like the Windows copy command-line tool. The result is a file that acts like a JPEG when opened by a user, or inspected by security tools, but can also be successfully unzipped, retrieving the original sensitive files. In this way, a user without any knowledge of file formats, and only access to commonly installed programs, can create files that escape both human and automatic inspection.

KeyView has an option to detect ZIP files that have been appended in this way, regardless of the initial mask file used.

To enable unexpected ZIP detection

- In the Python API, call the method `unexpected_zip_detection` on your session configuration. For example:

      session.config.unexpected_zip_detection(True)

  KeyView will throw an exception when it detects an unexpected zip file.

- In `formats.ini`, set the following parameter to `TRUE`.

      [Options]
      UnexpectedZipDetection=TRUE

NOTE: Setting the option through the API overrides any settings in `formats.ini`.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Unexpected ZIP Detection