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

Static analysis result for SHA-256 0fefc72487617dc5…

MALICIOUS

Office (OOXML) / .XLSM

234.6 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 12.0000
MD5: 6ac927240b12d9e2cc72d7fe2fcffab2 SHA-1: d7b99afcbaef9a53afc73483bb1c8066a01dbb3c SHA-256: 0fefc72487617dc585a8bdbb89272ef06ebf7ab80d4e42bceb65d80407a22301
170 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample is an XLSM file containing VBA macros that attempt to bypass security by presenting a fake tour and a "Enable Content" prompt. Upon activation, the VBA code reconstructs and executes a PowerShell command to download and execute a payload from a URL. The PowerShell command is obfuscated and uses Base64 encoding for the actual execution logic.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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
  • External hyperlinks (3) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 3 external hyperlinks — clickable URLs are stored as external relationships. First target: http://go.microsoft.com/fwlink/?LinkId=846286
  • 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://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/
    • http://go.microsoft.com/fwlink/?LinkId=846286
    • http://go.microsoft.com/fwlink/?LinkId=844969

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
13c35adffc297f02c8d767dee764a59dd002c92378c122d03babb4f4f380c7f8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2705 bytes
vbaProject_00.bin
c5b3f021a6fe62d30bc05e30bdda5929899c0dce5a987ec273897434afa99eec
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes