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

Static analysis result for SHA-256 dfc093abf3ebc7af…

MALICIOUS

Office (OLE) / .DOC

84.5 KB Created: 2021-08-30 09:37:00 Authoring application: Microsoft Office Word
MD5: 6480699e92a13679ea6bde827624c178 SHA-1: 18101b3c16234f86b0c43071173c7e11559111d0 SHA-256: dfc093abf3ebc7afc2e3e4341dd069694b8faf7f8b04f15cb674c6b74c7055b8
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains a VBA macro that executes upon opening the document. This macro writes content to 'c:\programdata\1.hta' and then executes it using 'cmd /c'. The content written to the HTA file is derived from the document's body, with specific strings replaced. This indicates a downloader or dropper functionality, aiming to execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.BlueOffice08210-9889818-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.BlueOffice08210-9889818-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
1f402820df5fc83616552280cf18c2f339d4d9d7b5dd21b134e06dcd8586b0ad
vba-macro oletools.olevba.extract_macros (decoded VBA source) 689 bytes