Netscape Ldap ldif file SHA password cracking

From: m a (aznxy_at_yahoo.com)
Date: 11/30/04

  • Next message: Jeff Moss: "Black Hat CFPs now open: Europe and Asia"
    Date: 30 Nov 2004 03:37:21 -0000
    To: pen-test@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is)

    I am trying to crack passwords in an ldif file downloaded using ldapminer. The server seems to be Netscape ldap based on this ldif section:

        server type is : netscape
        Netscape Checks enabled

    I firstly tried using Lumberjack (http://www.phenoelit.de/lj/docu.html)

        lj -w wordlist.txt -f myldap.ldif -V

    This is what I got as a result...

        (c) 1999 by Phenoelit (http://www.phenoelit.de/)
        Version 0.2.7b
        100.00 %
        making list unique ...done
        Cleaning ... done
        Collecting ldif user informations ...
        0 users with password found ...
        Entering wordlist mode ...

    These are some entries in the ldif file:

            attribute: authpassword
                    value[0]: {seeGpA7K}

            attribute: authpassword
                    value[0]: {om7b8U3NJ2E}

            attribute: userpassword
                    value[0]: {SHA}hEqt9R50vHZ+EheHW+JOJKvNWpw=

            attribute: userpassword
                    value[0]: {SHA}+A0MoQHpZ7ULcw3fjorKDehejfY=

    So it seems that it is SHA based encryption at least in the latter entries. I don't have a clue what the differect between authpassword and userpassword is...
    I tried John the Ripper (http://www.openwall.com//john/) patching with the Netscape diff files and recompiling. I basically put a SHA hash like the above in a txt file and fed into john

         john -format:SHA hash.txt

    John still however does not support SHA after the patching so I am not sure what to put in as format.

    Any ideas would be appreciated as I am really stuck at this point.

    Thanks in advance.


  • Next message: Jeff Moss: "Black Hat CFPs now open: Europe and Asia"

    Relevant Pages

    • Re: Converting from Netscape 7 Address Book to Outlook 2001?
      ... > I exported contacts from Netscape as a LDIF file format. ... I seem to recall to recall that Netscape has a utility ...
      (microsoft.public.mac.office)
    • RE: Netscape Ldap ldif file SHA password cracking
      ... It allows you to encrypt with MD 5 or SHA. ... > I am trying to crack passwords in an ldif file downloaded using ldapminer. ... The server seems to be Netscape ldap based on this ldif section: ... > John still however does not support SHA after the patching so I am not sure what to put in as format. ...
      (Pen-Test)
    • Converting Address book from Netscape 7 to Outlook 2001
      ... I want to export my address book from Netscape 7 mail (OS9) as a LDIF file ... I exported contacts from Netscape as a LDIF file format. ... Import that LDIF file into MS OUTLOOK 2001 by the FILE> IMPORT option. ...
      (microsoft.public.outlook.mac)
    • Converting from Netscape 7 Address Book to Outlook 2001?
      ... I want to export my address book from Netscape 7 mail (OS9) as a LDIF file ... I exported contacts from Netscape as a LDIF file format. ... Import that LDIF file into MS OUTLOOK 2001 by the FILE> IMPORT option. ...
      (microsoft.public.mac.office)