DOCX
The standard file format for Microsoft Word documents, which is really a zip archive containing XML files for the text, styles and properties.
In more detail
DOCX is part of the Office Open XML family, standardised by Ecma International and by ISO, alongside the spreadsheet and presentation formats. Because it is just a zip archive, you can open it with ordinary tools and read or change the parts inside, including the document properties that hold metadata and labels. Those properties travel with the file when it is copied or emailed. Word documents are also a common phishing lure.
Example
zipfile.ZipFile("pricing-2027.docx").read("docProps/custom.xml")Related terms
- custom document properties — User- or tool-defined name and value pairs stored inside an Office document, kept in a part called docProps/custom.xml.
- XML — A text format that stores structured data as nested elements marked with tags in angle brackets, readable by both people and programs.
- ZIP file — A single compressed file that bundles many files and folders together, usually ending in .zip.
- metadata — Data that describes other data, such as a file name, a creation time or a package version.
- MFT — Master File Table: the NTFS table with one record, usually 1 KiB, for every file and folder on the volume.
- phishing — Tricking someone, usually with a fake message or website, into revealing passwords or codes or running something harmful.
Taught in
- Data Classification Schemes & Sensitivity Labeling — Cybersecurity Fundamentals, GRC & Cryptography
- Disk Forensics: MFT, UsnJrnl & Prefetch — Security Operations & Threat Hunting (SOC)