[TOOL] PKZip Plaintext Attack Using Pkcrack (Step by Step)

From: support@securiteam.com
Date: 04/12/03

  • Next message: support@securiteam.com: "[NT] Flaw in Winsock Proxy Service and ISA Firewall Service Can Cause Denial of Service"
    From: support@securiteam.com
    To: list@securiteam.com
    Date: 12 Apr 2003 21:59:40 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    In the US?

    Contact Beyond Security at our new California office
    housewarming rates on automated network vulnerability
    scanning. We also welcome ISPs and other resellers!

    Please contact us at: 323-882-8286 or ussales@beyondsecurity.com
    - - - - - - - - -

      PKZip Plaintext Attack Using Pkcrack (Step by Step)
    ------------------------------------------------------------------------

    DETAILS

    True story:
    We found on one of our backup CDs an old password protected zip archive,
    containing several important documents. Since the password for this file
    were long forgotten, we used elcomSoft's ( <http://www.elcomsoft.com/>
    http://www.elcomsoft.com/) excellent recovery tool (azpr) to brute force
    the password for up to 7 characters. After seeing we were facing 50 days
    of brute forcing, we decided to give known-plaintext attack a shot. Here's
    what happened.

    Ingredients:
    To decrypt a password protected .zip file, you will need the following:
    1) A PKZip password protected file.
    2) pkcrack toolkit, which can be downloaded from:
    <http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html>
    http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html
    2) Zip compressing software, same that was used to encrypt the original
    file (see note that follows).
    3) Some known plaintext from the encrypted file.

    Preperation:
    "Why would we want to decrypt a password protected file if we already have
    its contents in plaintext?"
    You don't have to have the entire archive contents in plaintext - you only
    need a part of it.

    Recipe:
    PKZip allows us to list the file's contents (even if it is password
    protected) so we can look at this example file:

    Stuff 1 WinZip file: Documents.zip (password protect):

    Document1.doc
    Document2.doc

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: support@securiteam.com: "[NT] Flaw in Winsock Proxy Service and ISA Firewall Service Can Cause Denial of Service"