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

Static analysis result for SHA-256 54dc0886f3037073…

MALICIOUS

Office (OOXML) / .XLSM

42.4 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-05-09
MD5: c712cb72c414df958342250a39dc8f53 SHA-1: 0aa876ae3cea00a68de716a80491fe9bcaa9796a SHA-256: 54dc0886f303707369581df7c3eba4f8f3cc13c3d35ecc2fa7bb2d278d5afd30
410 Risk Score

Malware Insights

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

The sample is an XLSM file containing a Workbook_Open macro that executes a command using cmd.exe. This command uses certutil.exe to download and execute a second-stage payload from the URL "https://cdn.discordapp.com/attachments/965633483689058304/972523360720404530/1.exe". The document body also contains a lure to "Enable Content" to view the document, which is a common tactic for macro-based malware. The ClamAV detection further confirms its malicious nature.

Heuristics 11

  • 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
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — 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/965633483689058304/972523360720404530/1.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
4583071fdc4ed26b993312e9888f48ec07d4910b6fa1ec6e2dbe93bf18c8f7b9
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1469 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
65e6d8175771138025cdb762b00d47779dbf5f6de835cfb7e4ade8286cd65992
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely