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

Static analysis result for SHA-256 5d49f41af791b107…

MALICIOUS

Office (OOXML) / .XLSM

431.1 KB Created: 2021-08-19 14:03:52 UTC Authoring application: Microsoft Excel 15.0300 First seen: 2022-04-12
MD5: 266f741a728d3da63df6733396e4a1c1 SHA-1: 6987b9941ff2be09d8da06703b5b23b7fcf2d173 SHA-256: 5d49f41af791b10750d3e24b3e26ed0c525b6a01b21419c4c6a8ecfd6078a7d0
342 Risk Score

Malware Insights

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

The sample is an XLSM file containing a Workbook_Open VBA macro. This macro executes a command using cmd.exe to download a batch file from http://20.40.97.94/itl/loader/uploads/ENQ541102037.bat using certutil and then executes the downloaded file. This indicates a dropper functionality, aiming to fetch and run a second-stage payload.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • ClamAV: Xls.Dropper.EPPlus-9802867-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.EPPlus-9802867-2
  • 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.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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://20.40.97.94/itl/loader/uploads/ENQ541102037.bat

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
865866e8f4f0361db0b99a60f0646c86cf13a630fafd6a9c4b0370a85dc28cc7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1121 bytes
vbaProject_00.bin
dcdb554e9a7dd22023a0e2cbd12c87616e6cc7b55a452e4610adb704373548a6
vba-project OOXML VBA project: xl/vbaProject.bin 5632 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely