Skip to content

The CRIME and BREACH Attacks work against SSL and HTTP Compression. They leverage specific properties of used compression functions and can reveal to an attacker sensitive information being passed inside an encrypted SSL tunnel such as authentication cookies. This is a python based tool to check if the Web Server is vulnerable to compression bas…

Notifications You must be signed in to change notification settings

ackul/CrimeCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag alt tag

Compression Ratio Info-leak Made Easy (CRIME) is a security exploit published in 2012 against TLS Compression. When used to recover the content of secret authentication cookies, over connections using the HTTPS and SPDY protocols that also use data compression, it allows an attacker to perform session hijacking on an authenticated web session.

The Effects of CRIME attacks against TLS compression were demonstrated and largely mitigated in browsers and servers. The CRIME exploit against HTTP compression, however has not been mitigated and then Breach came into existence

The BREACH attack is an instance of the CRIME attack against HTTP compression - the use by many web browser and web servers of gzip or DEFLATE data compression algorithms via the content-encoding option within HTTP

CRIME CHECK is a tool to detect if the server has TLS or HTTP Compression Enabled and thus vulnerable to these attacks.

Basic Usage

==========

CrimeCheck - A Tool to check if the server is vulnerable to Compression Based Attacks(BREACH/CRIME)
usage: PROGRAM [options] <...>
  -v  Verbose logging
  -l log_file Log output to logfile
  -s  Server URL
  -p  Pcap File (Live Capture is not supported currently) 
Copyright (C) 2013 Achin K, mail: achinkul@gmail.com

Checking HTTP Compression (BREACH/CRIME Attack)

crimecheck.py -s <SERVER-DOMAIN>

Checking TLS Compression (CRIME ATTACK)

crimecheck.py -s <SERVER-DOMAIN> -p <PCAP-FILE>

Verbose

crimecheck.py -v -s <SERVER-DOMAIN> -p <PCAP-FILE>

Example

crimecheck.py -v -s facebook.com -p sample.pcap

NOTE: The Tool doesn't support live capture, for that purpose please use pypcap. The Tool is compatible with Python 2.7

About

The CRIME and BREACH Attacks work against SSL and HTTP Compression. They leverage specific properties of used compression functions and can reveal to an attacker sensitive information being passed inside an encrypted SSL tunnel such as authentication cookies. This is a python based tool to check if the Web Server is vulnerable to compression bas…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages