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

Static analysis result for SHA-256 3b4fc1c2307b3212…

MALICIOUS

Office (OLE) / .DOC

68.5 KB Created: 2021-09-13 11:25:00 Authoring application: Microsoft Office Word First seen: 2021-09-17
MD5: 34c070dd369c83a326e43632484a3c7d SHA-1: 38422455c9f2e7e080b4ca94d17d69b5eb5d2b7d SHA-256: 3b4fc1c2307b3212fd89d0453c91667e234293eb3905d67e19a824b3f508fece
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros, specifically a Document_Open macro that executes a shell command. The macro writes the document's text content to a file named 'plDeCa.h' and then executes it using 'explorer plDeCa.h'. This indicates a downloader or dropper functionality. The presence of a 'SE_PASSWORD_ARCHIVE_LURE' heuristic suggests the document may also instruct the user to decrypt a password-protected archive, a common tactic to evade gateway scanning.

Heuristics 7

  • 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.
  • Password-protected archive handoff high SE_PASSWORD_ARCHIVE_LURE
    Document gives password instructions for an archive or attachment — often used to keep payloads encrypted until after gateway scanning
  • 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
4f5da9ce3fe3d187ac56c67e15562fbf81a9558486527af37a5eeb347a739014
vba-macro oletools.olevba.extract_macros (decoded VBA source) 685 bytes