Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 ff546f0fb5173669…

MALICIOUS

Office (OOXML)

262.7 KB Created: 2020-12-22 14:43:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: f1372c4945166476ef588b4f50135b15 SHA-1: 0e77b950aed6bccc1616cb952cd436d2e4933592 SHA-256: ff546f0fb51736691c5932e20a688de6c84be62c508058bdac6d3bb3dc43c414
330 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1105 Ingress Tool Transfer

The sample contains VBA macros with an AutoOpen function that leverages WScript.Shell and PowerShell. The script attempts to establish persistence by creating a scheduled task and downloading a second-stage payload from the constructed URL 'http://<COMPUTERNAME>.malicious.12moms21.com'. It also attempts to write to the registry for persistence via 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy'.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • External hyperlinks (6) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 6 external hyperlinks — clickable URLs are stored as external relationships. First target: https://www.radiotimes.com/news/2019-08-21/is-spider-man-really-leaving-the-mcu-and-what-will-happen-if-he-does/
  • 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
    • https://en.wikipedia.org/wiki/Untitled_Spider-Man:_Far_From_Home_sequel
    • https://youtu.be/z_Psx9ydNak
    • https://youtu.be/lYZwsiLYWPQ
    • https://www.radiotimes.com/news/2019-08-21/is-spider-man-really-leaving-the-mcu-and-what-will-happen-if-he-does/

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c1930e376fe43f111fabb33e74b6e03431f7a90d433310189978f41680066e4d
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3615 bytes
vbaProject_00.bin
857cd7ef5398a5356375bdf7b81d26760f4659c7b3f5101152aa7ad7f0927542
vba-project OOXML VBA project: word/vbaProject.bin 15872 bytes