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

Static analysis result for SHA-256 2b4b71b54f825d8b…

MALICIOUS

Office (OLE) / .XLSX

41.0 KB Created: 2023-05-30 09:22:02 Authoring application: Microsoft Excel First seen: 2023-05-31
MD5: ff8ff717216939449fa5f8c656da3e0b SHA-1: 15761dd150a0bdf702fc27aa4fccd0ff19168f63 SHA-256: 2b4b71b54f825d8b95aabc0a9097d390523781be85f1e57cd05f6aa7687bfded
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell

The Workbook_Open macro is configured to execute a VBScript file named 'document.vbs' using 'wscript'. This VBScript is likely responsible for downloading and executing a second-stage payload from the embedded URL. The presence of Shell() calls and references to PowerShell and WScript strongly indicate a multi-stage infection process.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open 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
  • 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/mounmeinlylo/rikirollin/downloads/black_Payload.vbs

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ec08dc33bb0a80ee6e7d3265cb88162498a2152d1e9641d9e51bc3b9ff8662e9
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1814 bytes