Compression is a process which reduces the number of bits requires representing data. In order to understand it in a more simplified way, consider the following example: 1111511115511115551111 (22 characters)
The above example is consist of 22 characters. While reading the series, you can analyse that 1111 repeat many times. This repetition of the process also known as statistical redundancy.
You may notice that while using files compressing software’s like WinRAR and WinZip, you will find that sometimes the data compresses hardly and sometimes compression reduces the data in a smooth manner.
These compression software’s analyses the data and deduct the pattern through statistical redundancy technique in order to represent data in smallest bits space possible.
In order to protect your system from decompression bomb you can’t do much to prevent yourself from being decompression bombed. Here are some precautions that you can take to protect your system from zipping or decompression bomb in the most possible way:
Protect your system from decompression bomb is to always scan downloaded files especially if the files are in compressed form.
Avoid to unzipping a 2KB file.
Use authentic and reputable antivirus software’s.
Always use those websites to download items and files which are trusted by you and avoid to download from non-trusted files.
Hope it helps