Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Excel hash extraction (97-2003)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a utility that can extract a hash from an Excel document (97-2003)?

I have tried office2hashcat.py and office2john with no success.

The file extension is .xls and Windows says it is a 97-2003 file.
If office2john didn't work, are you positive it's encrypted and not just password-protected? Hashcat only works against encrypted Office docs, not password-protected docs.
(08-11-2016, 06:51 AM)epixoip Wrote: [ -> ]If office2john didn't work, are you positive it's encrypted and not just password-protected? Hashcat only works against encrypted Office docs, not password-protected docs.

AOPR (from Elcomsoft) tells me the following:
This file is encrypted by a Cryptographic Service Provider (CSP).
I am having the exact same problem - office2john or office2hashcat returns nothing. However I am able to crack is using Passware Kit. It's not a modify key, it's a open key (so the document is encrypted).

Passware states it's:
Open Password, CSP Encryption (Microsoft Enhanced Cryptographic Provider v1.0, 128bits)
i had the very same problem.

After some digging around i changed line 1620 of office2john.py from
elif data[0:4] == '\x01\x00\x02\x00' or data[0:4] == '\x01\x00\x03\x00':
into
elif data[0:4] == '\x01\x00\x02\x00' or data[0:4] == '\x01\x00\x03\x00' or data[0:4] == '\x01\x00\x04\x00':
and everything went smooth.

Perhaps that helps!
(11-07-2016, 04:05 PM)mkcon Wrote: [ -> ]After some digging around i changed line 1620 of office2john.py from
elif data[0:4] == '\x01\x00\x02\x00' or data[0:4] == '\x01\x00\x03\x00':
into
elif data[0:4] == '\x01\x00\x02\x00' or data[0:4] == '\x01\x00\x03\x00' or data[0:4] == '\x01\x00\x04\x00':
and everything went smooth.

I now committed that change to office2john on Github. @curlyboi @devilsadvocate please report if this worked for you also.
Works for my file.