OfficerBreaker – pptx/docx/xlsx password remover
1–10 of 30 posts
Re: OfficerBreaker – pptx/docx/xlsx password remover
#2Re: OfficerBreaker – pptx/docx/xlsx password remover
#3Reading through it quickly, it looks like this is for files that are available to read, but write-protected? Not read-protected documents like a password protected Excel workbook?
Re: OfficerBreaker – pptx/docx/xlsx password remover
#4Reading through it quickly, it looks like this is for files that are available to read, but write-protected? Not read-protected documents like a password protected Excel workbook?
A modern read-protected Office document is AES encrypted, so you cannot read those at all. But the read-only one, much like PDF do-not-print/do-not-copy protections, is just relying on the viewer to honor the protection marker.
Re: OfficerBreaker – pptx/docx/xlsx password remover
#5Re: OfficerBreaker – pptx/docx/xlsx password remover
#6I’ve done hardcoded frontend identity whitelists for authorization. Some times it’s fine to let hackers access stuff, but not the vanilla mass-market browsers. Feature flags etc
Re: OfficerBreaker – pptx/docx/xlsx password remover
#7Earlier quoted context omitted.
A modern read-protected Office document is AES encrypted, so you cannot read those at all. But the read-only one, much like PDF do-not-print/do-not-copy protections, is just relying on the viewer to honor the protection marker.
Yes I think you can just save the readonly doc to a new writeable doc anyway.
Re: OfficerBreaker – pptx/docx/xlsx password remover
#8Based on the information in the README, wouldn't that be possible to accomplish in a simple bash script?
Re: OfficerBreaker – pptx/docx/xlsx password remover
#9Re: OfficerBreaker – pptx/docx/xlsx password remover
#10> Caution: Password to modify is not a security feature. ... Malicious users can edit the file and remove the password.
This type of "protection" is also present in the VBA blobs (where you can change a few bytes and work around the VBA protection)
Saving a file with a password to open actually employs encryption. The exact setting can be tuned with registry settings, but is typically AES-128-CBC.
Saving a file as "read-only" encrypts the file with the standard password "VelvetSweatshop"