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

Static analysis result for SHA-256 5d077b1341a6472f…

MALICIOUS

Office (OLE) / .DOCX

143.0 KB Created: 2016-10-26 12:25:00 Authoring application: Microsoft Office Word
MD5: b107f3235057bb2b06283030be8f26e4 SHA-1: b12d2984830eee5ef668032cc13691706efce4a5 SHA-256: 5d077b1341a6472f02aac89488976d4395a91ae4f23657b0344da74f4a560c8d
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a Microsoft Office document containing VBA macros, specifically a Document_Open macro that calls GetObject and VirtualAlloc. This indicates an attempt to execute arbitrary code. The ClamAV detection name 'Doc.Malware.Valyria-10023899-0' strongly suggests malicious intent, likely involving the download and execution of a secondary payload.

Heuristics 7

  • ClamAV: Doc.Malware.Valyria-10023899-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10023899-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • 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.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/photoshop/1.0/
    • http://purl.org/dc/elements/1.1/
    • 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#

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
34f5fba5e599d154a1bd5bb8e0190bf47906157f9b044f69c07b2b211914cf20
vba-macro oletools.olevba.extract_macros (decoded VBA source) 13017 bytes