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

Static analysis result for SHA-256 331d17dbe4ee61d8…

MALICIOUS

Office (OOXML) / .DOCX

18.9 KB Created: 2018-11-25 23:57:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 76e71cf45e99d03a92c8271998a1caee SHA-1: 818bfc1fdb8126b58835e77f13afa9435e883919 SHA-256: 331d17dbe4ee61d8f2c91d7e4af17fb38102003663872223efaa4a15099554d7
380 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218 System Binary Proxy Execution T1059.001 PowerShell

This OOXML document contains VBA macros, specifically an AutoOpen macro, which is a strong indicator of malicious intent. The macros utilize the Shell() function and reference a LOLBin, suggesting an attempt to execute arbitrary code. A remote image beacon was also detected, pointing to a URL that is likely involved in the download or command and control infrastructure. The ClamAV detection as 'Doc.Dropper.BabyShark-6879620-0' further supports the malicious classification. The primary intent appears to be downloading and executing a second-stage payload from the identified URL.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • ClamAV: Doc.Dropper.BabyShark-6879620-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.BabyShark-6879620-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Remote image (web beacon / tracking pixel) medium OOXML_IMAGE_BEACON
    Document references an external image URL — loads automatically on open, revealing IP address and timestamp to the server (used for phishing tracking and NTLM hash theft on corporate networks)
  • External relationship medium OOXML_EXTERNAL_REL
    External target in word/_rels/document.xml.rels: https://christinadudley.com/public_html/cdudley/img/Defender/doc.php?op=2
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas
    • http://schemas.microsoft.com/office/drawing/2014/chartex
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/officeDocument/2006/math
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
    • http://schemas.openxmlformats.org/wordprocessingml/2006/main
    • http://schemas.microsoft.com/office/word/2010/wordml
    • http://schemas.microsoft.com/office/word/2012/wordml
    • http://schemas.microsoft.com/office/word/2015/wordml/symex
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInk
    • http://schemas.microsoft.com/office/word/2006/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
38c1edf018064fcb39cabf2ede074427b23f8c8f80458d83310ef9c2987b5118
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 489 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
186513daf2abc8c2cdcef13722640e622181c701fad8c9cf43ccdb3b4329a864
vba-project OOXML VBA project: word/vbaProject.bin 12288 bytes
Detection
ClamAV: Doc.Dropper.BabyShark-6879620-0
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.