Code Monkey home page Code Monkey logo

Comments (8)

herumi avatar herumi commented on August 18, 2024

How did you make the file 247.docs?(What version is Microsoft Office?)
Can you use gdb?
If you can use it, then could you type the following command?

make DEBUG=1
gdb --args bin/msoffice-crypt.exe -p 5558 247.docx 247-decrypt.docx
(gdb) b include/cfb.hpp:186
(gdb)r
Breakpoint 1, ms::cfb::Header::analyze (... cfb.hpp:186
186                     MS_ASSERT(minorVersion == 0x3eu || minorVersion == 0x3bu);
(gdb) p minorVersion
$1 = 62
(qdb) quit

from msoffice.

3Fingers avatar 3Fingers commented on August 18, 2024

from msoffice.

3Fingers avatar 3Fingers commented on August 18, 2024

from msoffice.

herumi avatar herumi commented on August 18, 2024

I'm sorry for the late response and thank you for your report.

/home/tony/work/msoffice/include/cfb.hpp:186 186 MS_ASSERT(minorVersion == 0x3eu || minorVersion == 0x3bu);
(gdb) p minorVersion $1 = 62

0x3eu = 62 and minorVersion = 62, then it is strange that MS_ASSERT(minorVersion == ...) fails.
Could you give me the 247.docx if it does not contain secret information?

from msoffice.

3Fingers avatar 3Fingers commented on August 18, 2024

247-1.zip

Password is 247.doc. Inside is the PW protected doc - 247.doc (it's really a docx). Also a 247-unprotected where the password was removed with Password and a screen shot of Passware's findings.

from msoffice.

herumi avatar herumi commented on August 18, 2024

Thank you for the file. Microsoft Defender detects 247-unprotected.doc is virus and has removed it.

The header of 247/247.doc has majorVersion=3 and minorVersion=33.
An encrypted XML document must have minorVersion=0x3e(MS-CFB).

According to CFBF header format, it is an old Microsoft Office format.

My software does not support old Microsoft Office format.

from msoffice.

n0thing2speak avatar n0thing2speak commented on August 18, 2024

yes, same question as me,how to decrypt that?

from msoffice.

herumi avatar herumi commented on August 18, 2024

I don't investigate a tool which supports the old format. Could you try to do it by yourself?

from msoffice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.