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

Static analysis result for SHA-256 e7df88b691f82053…

MALICIOUS

Office (OOXML) / .XLSM

42.4 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-11-17
MD5: 241d9fbb42762beb00492d32d5e9d291 SHA-1: e6f1f8bbc40a59911543be499e1e07b54d55c3f4 SHA-256: e7df88b691f820535f249821d16054a01f33e0acf3ae12d0b64f98cced910012
370 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1140 Deobfuscate or Obfuscate

The sample is an XLSM file containing a Workbook_Open macro that executes a command using cmd.exe. This command downloads a second-stage executable from 'http://192.3.194.246/ecs.exe' using certutil.exe and then executes it. The document body contains a lure to enable content, which is a common tactic for macro-based malware.

Heuristics 10

  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • External hyperlinks (3) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 3 external hyperlinks — clickable URLs are stored as external relationships. First target: http://go.microsoft.com/fwlink/?LinkId=846285
  • 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.3.194.246/ecs.exe
    • http://go.microsoft.com/fwlink/?LinkId=846285
    • http://go.microsoft.com/fwlink/?LinkId=844969

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
135290fb814d053e0926aeb175002faebbbf7f002b300cc21ebc2dd9af90da05
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1403 bytes
vbaProject_00.bin
4a1d1f5990975a088ea972e131686aea067936a9886f2542d2266ce9251d80bf
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely