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

Static analysis result for SHA-256 b80d30b287b4ba5c…

MALICIOUS

Office (OOXML) / .XLSM

42.4 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-08-15
MD5: 1f972129c268128a9e63b03f166cd65a SHA-1: e19b5eed24f6d881338793e9f7218ff99c1d7981 SHA-256: b80d30b287b4ba5c153bac042a1a9eec6d746181b893717cbcb05ed3180d8d71
370 Risk Score

Malware Insights

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

The Workbook_Open macro executes a command that downloads a second-stage executable from a Discord CDN URL using certutil.exe and then executes it. The document body contains a lure to "Enable Content" to bypass macro security. The downloaded executable is identified as a dropper by ClamAV.

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 https://cdn.discordapp.com/attachments/1006822561709047861/1008583809245126708/New_Order.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
43a882b401995b62f016e80ebd893332bf8de1e13eb5a46be92830695f6ad647
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1451 bytes
vbaProject_00.bin
9287357db5661602fdea713a6bc301e862e8ea692eb223974ebeea24fbe5f838
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely