Open decalage2 opened 8 years ago
reference: MS-OFFCRYPTO
potential implementation: https://github.com/herumi/msoffice
Use https://github.com/nolze/msoffcrypto-tool to detect encryption
I think olevba and mraptor should report an error when strong encryption is detected, since the presence of VBA macros cannot be confirmed.
At least with strong encryption added to MS Office 2010, VBA macros are hidden in the encrypted package, and olevba/mraptor cannot detect them.
Need to detect encryption (in each format: OLE, OpenXML, XML, MHT), to identify which version of encryption is used, and whether macros are hidden or not.
olevba and mraptor should not report "no macros" when they may be hidden by encryption.