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

Static analysis result for SHA-256 e57f1d74706b7c5d…

MALICIOUS

Office (OOXML) / .XLSM

41.8 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 15.0300 First seen: 2023-01-25
MD5: 0ff94eb3d55b33c90c2b701ba298d3a5 SHA-1: 034b2f183aa0601aee3e566da689fb26d87a9f98 SHA-256: e57f1d74706b7c5dd7f2191a6abe13979884a470c0789a03dcc1e82deaab68ea
430 Risk Score

Malware Insights

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

The sample is an XLSM file containing a Workbook_Open macro that executes a PowerShell command. This command downloads a second-stage executable from http://173.232.146.78/505/201703_P0_Document_50650jpg.exe and executes it. The document body contains a lure to "Enable Content" to view the content, which is a common social engineering tactic for macro-based malware.

Heuristics 11

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell 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
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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://173.232.146.78/505/201703_P0_Document_50650jpg.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
221cc0e3199034455f5022c429b7ffa5f057f1d24762b445f15354764c8b2720
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1567 bytes
vbaProject_00.bin
04a74bcef4f2bdd3a5096563ebb100cf9f8000c0119687c43fec6f2ea83ea1e0
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely