A file extension for Microsoft Word. DOC files contain text, as well as document markup data: fonts, indentations, line spacing, and other service information. Because this format supports macros, such documents can contain malicious code that is executed when a file is opened.
In Word 2007, Microsoft introduced the improved DOCX format.