none
Binary MOF format RRS feed

  • Question

  • Hi,

    I'd like for Microsoft to document the format of Binary MOF produced by mofcomp.  The mofcomp documentation (https://msdn.microsoft.com/en-us/library/aa392389(v=vs.85).aspx) mentions it to be an intermediate output before usage with WDM drivers.

    Binary MOF format is the intermediate format for combining a WDM-driver with the MOF as a resource. The binary MOF represents classes and instances just as a text MOF file does and is compressed before it is stored on disk.

    This format is used by ACPI-WMI and encoded in an ACPI buffer (https://msdn.microsoft.com/en-us/library/windows/hardware/dn614028(v=vs.85).aspx). 

    The Linux community would like to be able to parse this buffer, but it's not possible without the binary MOF format being documented.

    Monday, May 8, 2017 3:56 PM

Answers

  • Hi Mario,

    Thank you for the clarification on what protocol document is being requested for updating.  Since this is not specific to the open windows protocols, we do not have further follow-up that we can offer here for getting a document updated as this is outside of scope of the program.

    We have passed along the request to the WMI engineering on the request.

    Thanks,

    Nathan

    Friday, May 12, 2017 2:57 PM
    Moderator

All replies

  • Hi Mario, 

    Thank you for your question regarding Binary MOF. One of the Open Specifications team members will respond shortly to assist you with this. 


    Best regards,
    Tom Jebo 
    Sr Escalation Engineer
    Microsoft Open Specifications Support


    Tuesday, May 9, 2017 3:45 PM
    Moderator
  • Hi Mario,

    Thank you for contacting the Microsoft Windows Open Protocols forum.  We have received the request on creating document for the binary file format of a compiled MOF file from the Windows MOFComp.exe compiler.

    We need to clarify whether you are having this issue while implementing an open specification protocol  (example, MS-SMB2) that we can help with here as part of the open specifications program for Windows.   If you have a question on a Microsoft open specification document, please mention the document and section numbers with a brief description of the issue so we can get the documentation updated.  

    Our team supports third-party implementers of the Microsoft Open Specifications. The Open Specifications can be found at: http://msdn.microsoft.com/en-us/library/cc203350.aspx. You can read about the Microsoft Open Specifications programs at http://www.microsoft.com/openspecifications/en/us/default.aspx.

    Thank you,
    Nathan Manis
    Senior Escalation Engineer
    Microsoft Open Specifications Support

    Wednesday, May 10, 2017 8:55 PM
    Moderator
  • Hi Nathan,

    This isn't directly as a result of implementation of an open specification document (to my knowledge there aren't any that refer to MOF format as MOF format is defined by DMTF).  The closest document I could find was https://msdn.microsoft.com/en-us/library/hh871946.aspx (MS-WMOD).

    OEM's distribute binary MOF files embedded in the ACPI tables that are loaded into the WMI repository.  The metadata present in these allows access to the BIOS ASL methods associated from WBEM tools.

    Linux kernel developers are looking to implement the same functionality so that tools such as OMI (https://github.com/microsoft/omi).  The hope is that the binary MOF from the ACPI tables can be decompiled and a provider can feed it into the OMI tools.  This would OMI tools to be able to access the BIOS ASL methods as documented in the binary MOF.

    Wednesday, May 10, 2017 9:25 PM
  • Hi Mario,

    Thank you for the clarification on what protocol document is being requested for updating.  Since this is not specific to the open windows protocols, we do not have further follow-up that we can offer here for getting a document updated as this is outside of scope of the program.

    We have passed along the request to the WMI engineering on the request.

    Thanks,

    Nathan

    Friday, May 12, 2017 2:57 PM
    Moderator
  • Nathan,

    Thanks for sharing to the WMI engineering team.  Just for my clarity if the WMI engineering team is willing to support this request would they notify you and share it through open windows protocols as a new document?  Or would this fall under a different purview elsewhere in MSDN documentation then?

    Monday, May 15, 2017 2:42 PM
  • Hi Mario,

    Thanks for the feedback and question.  Since this is outside of the protocols program, any release would be via MSDN documentation with the MOFComp.exe documentation.   It would not be under a protocols document.

    Thanks,

    Nathan

    Monday, May 15, 2017 5:02 PM
    Moderator
  • The MOF format is a compressed binary blob format, there is a decoder for this written by Pali Rohár on github: https://github.com/pali/bmfdec

    Hope that helps Mario

    Monday, November 27, 2017 9:37 AM
  • Colin,

    I'm aware of that effort, however it was reverse engineered.  There may be yet to discovered idiosyncrasies with the format, or uncommon stanzas etc.  That's why I was pushing for a properly released document.

    Monday, November 27, 2017 2:20 PM