Password To Modify Not Accurate

Kirbs

New Member
Joined
Feb 16, 2010
Messages
8
Hi,

I'm asking this question out of curiosity. I just discovered that the Password To Modify feature in Excel accepts other passwords aside from the one I set. One sample that I discovered is that if I set the Password To Modify to "bee", it can be unlocked by the word "bag". Same goes for "555" and "116". Does this mean that the Password To Modify feature of Excel also uses hash equivalents (or similar methods) like the one used for Sheet Protection?
 
Last edited:

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
This is very interesting, as it means the protection si quite feeble. I know it can be broken anyway with some tools on the web. But if there are even several options for a password then it is even weaker.

I don't know the ins and outs of hash tables, just that they are used in searches.
 
Upvote 0
Yes, I thought so too. I thought that it's the same with the Password To Open feature wherein you have to enter the exact password.
 
Upvote 0
I'm almost positive that Excel uses hash codes for all protection (read/open/mod/sheet protection/book protection/vba). Which is why it's so easy to break them.

Worksheet/book protection, for example, once implemented is converted to a hash of 16 characters. The first 15 of which are always either "a" or "b", and the 16th character is some other letter/number/symbol. Which narrows the number of available hashed passwords to (2^15)*132 or something like that (assuming 132 letters/numbers/symbols). This number (4,325,376) might seem large, but to any password cracking software on a modern PC will take about a second to figure out.

If it didn't use hashes, or allowed the 16-character hashes to include 132 possible characters at any position, the password would be MUCH stronger (132^16 possible = 8.5*10^33, which would take software an eternity to break at current computational speeds).
 
Upvote 0

Forum statistics

Threads
1,213,490
Messages
6,113,956
Members
448,535
Latest member
alrossman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top