mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #2381] office2john.py can't extract password hash for Excel 2003 #1589
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1589
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amaist on GitHub (Jan 17, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2381
I am trying to extract a password hash from Excel 2003 files. office2john.py does not create any output and simply exits with normal status.
For other office files it works fine.
Excel 2013
$ ./office2john.py Workbook2.xlsx
Workbook2.xlsx:$office$2013100000256162bcd020dd1432ad22bcd020dd1432ad2795b382cc22e2ffcb1c7cd40738157074a1172556ade3d90a7730d93cab050774c03b1382619370e86d4460a3e9d2b4e
Word 2003
$ ./office2john.py testing.doc
testing.doc:$oldoffice$12bcd020dd1432ad22bcd020dd1432ad2ff12403e5af76ded7a60b8dddd14cb5635b6b49a82319b027ba3e2d60cb8c38a:::10000 1 1 7 983040 10000 XXX User Normal.dotm XXX User 2 120 13129138020 13129138140 1 1 7 Microsoft Macintosh Word 1::testing.doc
$ ./office2john.py Workbook2.xls
just exits back to the prompt.
I have tried it on Mac OS X Sierra, Windows 7, Freebsd 10.3 with the same result. Mac and FreeBSD with Python 2.7 and Windows with Python 3.3.
I have seen other reports of this issue in various security forums (Hashcat in particular).
Very easy to recreate the issue by saving a password encrypted Excel file with modern Excel (2015 or later versions on both Mac and Windows).
Thanks,
Andrei
@magnumripper commented on GitHub (Jan 17, 2017):
Are you using latest office2john.py from GitHub? It was last updated November 7, 2016.
@amaist commented on GitHub (Jan 17, 2017):
I apologize. I did not use the latest version and didn't properly check. I assumed I did.
The latest version works. I will close the issue now.
Sorry to waste your time.
@magnumripper commented on GitHub (Jan 17, 2017):
NP, I'm delighted to hear it's working!