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

Static analysis result for SHA-256 8345596543d01456…

MALICIOUS

Office (OOXML) / .XLSM

721.0 KB Created: 2022-09-16 04:31:17 UTC Authoring application: Microsoft Excel 15.0300 First seen: 2022-09-22
MD5: ff96bd13f7d654b6a5f358b904f34e94 SHA-1: d62d964792f49d68f8ef29bc6dd07197143f5c66 SHA-256: 8345596543d01456fa89f6dfc1f2abcf11130fd0251c39990e39794e5f69b6fb
322 Risk Score

Malware Insights

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

The Auto_Open VBA macro within the XLSM file is designed to download a file named 'Budget.exe' from the URL http://sheet.duckdns.org:9000/Budget.exe using Microsoft.XMLHTTP and Adodb.Stream objects. It then saves this file locally and executes it using Shell.Application. This behavior is consistent with a dropper malware.

Heuristics 8

  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
  • 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.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open 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
  • 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://sheet.duckdns.org:9000/Budget.exe
    • http://sheet.duckdns.org:9000/Budget.exe�

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
638525b0b6d1c8e72bce97a4e007442307611b25baaea9ea212caea06eb07b8d
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1105 bytes
vbaProject_00.bin
f062f7a6f3c791f3adc94b29c3062b5f08ad8f90c5979251c158bc7027c70cfc
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes
Detection
ClamAV: Doc.Dropper.Agent-6412232-1
Obfuscation or payload: unlikely