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

Static analysis result for SHA-256 28d9b1e6b3385e0a…

MALICIOUS

Office (OOXML) / .XLSM

880.0 KB Created: 2024-06-26 17:54:33 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2024-06-26
MD5: f1939440323f955804c6d0bf66706236 SHA-1: 4662ecb0236aeacd5dba48512a729cf589e09b22 SHA-256: 28d9b1e6b3385e0aac49cba597bfeedf21ff0f109096ec32855a0b95eec81c4d
382 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File

The XLSM file contains VBA macros that are automatically executed upon opening via the Document_Open and AutoOpen subroutines. These macros construct and execute a PowerShell command that downloads and runs a script from the URL http://192.168.45.192/run.ps1. This indicates a downloader or droppper functionality, aiming to fetch and execute a second-stage payload.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • ClamAV: Doc.Downloader.5ddb7c-10001341-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.5ddb7c-10001341-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
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — 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://192.168.45.192/run.ps1

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
45058b28447a39f1eeda244796b8be129ff0f6e8cc0fb51e563b21244aeb64ab
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2105 bytes
vbaProject_00.bin
c18ef5bdfe3df892ef35477cf69e647b9da754ff056086604679a4947def0bce
vba-project OOXML VBA project: xl/vbaProject.bin 16896 bytes
Detection
ClamAV: Doc.Downloader.5ddb7c-10001341-0
Obfuscation or payload: unlikely