Valyria — Office (OOXML) / .DOCM malware analysis

Static analysis result for SHA-256 a2e480a0509fa13c…

MALICIOUS

Office (OOXML) / .DOCM

31.8 KB Created: 2016-07-27 07:54:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 7301bdeb8b56ee2e017b33dd3867e8cb SHA-1: 8bdac2c0484b84be7ac8a16ea755fbf8857de9e3 SHA-256: a2e480a0509fa13cfa4e1323fd1f39de018938b7f3883fed8822ab22f81bb239
262 Risk Score

Malware Insights

Valyria · confidence 70%

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic for Applications T1566.001 Phishing: Spearphishing Attachment T1204.002 User Execution: Malicious File

The sample is a .DOCM file containing an AutoOpen macro that calls a function named 'LoadBaseFile'. While the script excerpt is truncated and contains some distracting noise, the ClamAV detection 'Doc.Malware.Valyria' directly attributes the sample to the Valyria family. The presence of CreateObject calls and a long encoded blob noted in the heuristics indicates the intent to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Malware.Valyria-10019999-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10019999-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
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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
  • 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
e0da573dd4bde97489d027cfab72fd1447c59c94d9bf3c71aea105824a161810
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 12398 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
027d88424d079817065ee1f4ccbfe6000672cb51b365e1a9e7e9f3a96c857ef3
vba-project OOXML VBA project: word/vbaProject.bin 49152 bytes
Detection
ClamAV: Doc.Malware.Valyria-10019999-0
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.