How does Microsoft Word Password Recovery work?

Microsoft Word documents can utilize three passwords:

Password to open

The Password to open requires a user to enter a password to view the document.

When the user sets a Password to open, the entire Microsoft Word document is encrypted with the RC4 stream cipher.

Password to modify

The Password to modify requires a user to enter a password to make changes to the document.

When a user sets a Password to modify, the password is stored inside the Microsoft Word document. The password can be viewed or changed with a hex editor.

Protect document password

The Protect document password requires the user to enter a password to unprotect the document.

When a user sets a Protect document password, the 32-bit password hash is stored in the Microsoft Word document. The password hash can be viewed or changed with a hex editor.

Applying passwords in Microsoft Word

To apply a Password to open or a Password to modify to a Microsoft Word document, click <File>, <Save As>, <Tools>, <Security Options>.

If you select <Advanced Options> you can select which encryption algorithm you wish to use and what key length you wish to use with that algorithm.

Encryption algorithms supported by Microsoft Word are:

The default is "Office 97/2000 Compatible" -- however even Microsoft states that this is not recommended!

To apply a Protect document password to a Microsoft Word document, click <Tools>, <Protect Document>.

Microsoft Word Password Recovery

It is possible simply to edit the Password to modify with a hex editor. It is also possible to edit the hash of the Protect document password.

The Password to open can be attacked with a dictionary attack or a brute force attack.

Several programs, with widely varying capabilities, are available to help you recover a lost Microsoft Word password:

Additional Reading on Microsoft Word Password Recovery

Applied Cryptography Handbook of Applied Cryptography Cryptography RSA Security's Official Guide to Cryptography
Purchase these excellent books on cryptology at Amazon.com


Top 5 Free Networking Tools

Bookmark How does Microsoft Word Password Recovery work?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.