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

Static analysis result for SHA-256 c795889bfd820374…

MALICIOUS

Office (OLE) / .PPT

63.5 KB Created: 2022-06-08 13:40:30 Authoring application: Microsoft Office PowerPoint First seen: 2022-06-09
MD5: 436860b90832e40d410071a006cb8ff9 SHA-1: 25a9df130cd3cc893901d89cb512f2bc52300e06 SHA-256: c795889bfd820374ea41ba53f7e00cc5fd194e77d7c6c3ae7efef8101e81113d
422 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The Auto_Close VBA macro is designed to execute upon closing the document. It constructs a JavaScript file named 'showcase.js' in the public pictures directory. This script is then executed using 'mshta.exe' with a URL pointing to a payload on bitbucket.org. The script establishes persistence by writing the command to execute the payload to a file and then calling Shell() to run it.

Heuristics 11

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact medium 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.
  • 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 https://bitbucket.org/!api/2.0/snippets/rikimartinplace/oqqRGd/b072de0153b2c686c9ff492d86e7f6ef8c573053/files/charlesfriendfinal

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
050d2e3d67845383ce04414c9bc28d81d35a72da48df465504b8fab27f4e8e68
vba-macro oletools.olevba.extract_macros (decoded VBA source) 847 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 shell/COM execution token(s).