From time to time someone sends me password protected Microsoft Excel (xls-files) spreadsheets. Getting xls files is in it self is bothersome, but that’s the way the world of IT is today, but hopefully more and more home and business users discover the OpenOffice productivity suite in the future. But getting password protected xls-files is just incredibly annoying – first of all it tells you that the person that just sent you the spreadsheet doesn’t have a clue on security matters, since protection techniques of that type is of no real use. They are simply too easy to crack, but again – why at all protect a document…
Howto Crack And Get Rid Of The "Password Protection" / "Recover" The Spreadsheet on Ubuntu
In order to perform the crack / recovery, we are going to use a small utility called xlcrack, xlcrack recovers lost or forgotten passwords from XLS files such as those created by Microsoft Excel. Some newer XLS files are not suitable for password recovery using this software.
sudo aptitude install libgsf-1-dev
Download and compile xlcrack
wget http://freshmeat.net/urls/1d5772c1c5bea2854e1d04b29f1f772a tar zxvf xlcrack-1.2.tar.gz cd xlcrack-1.2 make
Crack / Recover A Password From a XLS-file
./xlcrack password_protected_spreadsheet.xls password_protected_spreadsheet.xls: 1234