[NEWS] Cisco VPN Client Password Decryption

From: SecuriTeam (support_at_securiteam.com)
Date: 10/20/05

  • Next message: SecuriTeam: "[NEWS] Novell NetMail NMAP Agent "USER" Buffer Overflow"
    To: list@securiteam.com
    Date: 20 Oct 2005 19:14:26 +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

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      Cisco VPN Client Password Decryption
    ------------------------------------------------------------------------

    SUMMARY

    The Cisco VPN Client uses weak encryption to store user and group
    passwords in your local profile file.

    DETAILS

    The main problem of the method used to encrypt the passwords is, that the
    whole procedure is deterministically and no user input is used. This
    effectively means that the encryption keys the Cisco Client calculates can
    also be calculated by any other program whensoever this program knows the
    algorithm. This algorithm was now reversed.

    The algorithm:
    The algorithm which is used to encrypt a given user/group password is
    shown below (for further details just visit the source code):
     * The current date as a string is retrieved (e.g. Mon Sep 19 20:00:00
    2005)
     * Then a SHA-1 Hash h1 is computed (20 Bytes)
     * h1 is modified and a new Hash h2 is calculated
     * h1 is again modified and h3 is calculated
     * the 3DES key is made of h2 and the first 4 bytes of h3
     * The password is encrypted using 3DES in CBC Mode. The IV consists of
    the first 8 Bytes from h1.
     * The algorithm computes a last hash h4 from the encrypted pasword
     * The key enc_UserPassword in our profile file now looks like ths:
    h1|h4|encrypted password

    The Cisco Password Revealer along with the source code can be found
    <http://www.evilscientists.de/blog/?dl=CiscoPasswordRevealer.rar> here.

    ADDITIONAL INFORMATION

    The original article can be found at:
    <http://evilscientists.de/blog/?page_id=343>
    http://evilscientists.de/blog/?page_id=343

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

    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: SecuriTeam: "[NEWS] Novell NetMail NMAP Agent "USER" Buffer Overflow"

    Relevant Pages

    • [TOOL] TrueCrypt - Open-Source Disk Encryption Software
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... TrueCrypt is on-the-fly disk encryption software that can create a virtual ...
      (Securiteam)
    • [NEWS] Cisco Catalyst 6000, 6500 Series and Cisco 7600 Series NAM (Network Analysis Module) Vulnerab
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Analysis Module) Vulnerability ... Only Cisco Catalyst ... A system that has a NAM can be identified by the ...
      (Securiteam)
    • [TOOL] Cisco Torch - Mass Cisco Vulnerability Scanner
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... In the process of writing "Hacking Exposed Cisco Networks" Andrew got ... telnet fingerprinting database) are borrowed from Hackbot - thank you guys ... services and launch dictionary attacks against the services discovered. ...
      (Securiteam)
    • [NEWS] Default SNMP Community Strings in Cisco IP/VC Products
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Cisco strongly recommends that all users deploy the mitigation measures ... Affected products contain hard-coded SNMP community strings. ... Cisco will not provide fixed software for this vulnerability. ...
      (Securiteam)
    • [NEWS] Cisco Unified Contact Center and IP Contact Center JTapi Gateway Vulnerability
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Cisco Unified Contact Center Enterprise, ... Hosted, Cisco IP Contact Center Enterprise, and Cisco IP Contact Center ... Hosted editions are affected by a vulnerability that may result in the ...
      (Securiteam)