Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 bc977de2c8120099…

MALICIOUS

Office (OLE) / .DOC

69.0 KB Created: 2021-09-13 11:24:00 Authoring application: Microsoft Office Word
MD5: d612c88b3d0ee5a3430022f6a2d7f96a SHA-1: 4e01aa5f0017c3344ae718444a6dc322cbf3a2ff SHA-256: bc977de2c812009947e6ae3fbcda2e1770b9b94789c2b486187c7a8af6d2f3ce
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell

The sample is a malicious Office document containing VBA macros. The 'document_open' macro executes a subroutine that writes content to a file named 'prevPwDe.h' and then uses WshShell to execute 'explorer prevPwDe.h'. This indicates the document's primary purpose is to download and execute a second-stage payload. The heuristic firings strongly support this, with critical detection by ClamAV and high-severity firings for macro execution and user-enablement lures.

Heuristics 6

  • ClamAV: Doc.Malware.Valyria-10009252-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10009252-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9c7b3f6cf45b5de4f87e6c0848c8fcb0a084055d8ad280ff7a248ad87a83a3c6
vba-macro oletools.olevba.extract_macros (decoded VBA source) 667 bytes