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

Static analysis result for SHA-256 93f512ce023f0aa2…

MALICIOUS

Office (OLE) / .DOCX

690.5 KB Created: 2018-08-03 15:14:00 Authoring application: Microsoft Office Word
MD5: ee73a772b72a5f3393d4bf577fc48efe SHA-1: 63f974136c871e0fa4f14932873dd136e0b45aa5 SHA-256: 93f512ce023f0aa20a2a924a520b2ecac19030a0fa85b583c59974d38dfa6a79
368 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1055.012 Process Hollowing T1055.001 Process Injection

The sample is a malicious DOCX file containing VBA macros, indicated by the OLE_VBA_MACROS and OLE_VBA_AUTOOPEN heuristics. The presence of SC_STR_CREATEPROCESS, SC_STR_VIRTUALALLOC, SC_STR_WRITEPROCESSMEMORY, SC_STR_CREATEREMOTETHREAD, SC_STR_LOADLIBRARY, and SC_STR_GETPROCADDRESS heuristics strongly suggests that the VBA macro is attempting to inject code into a running process or execute a new process. The extracted artifact 'macros.bas' is the source of this malicious behavior. The document body is heavily corrupted and unreadable, providing no direct clues to the lure.

Heuristics 11

  • Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORY
    Reference to WriteProcessMemory API
  • Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREAD
    Reference to CreateRemoteThread API
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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://schemas.openxmlformats.org/drawingml/2006/main
    • http://schemas.microsoft.com/office/2006/coverPageProps
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
87acb089b749e24ebc42dde641fb98f0206f57befc7c9ab24ad2578d30a1c26f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 11233 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.