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

Static analysis result for SHA-256 828f2d666b35f95c…

MALICIOUS

Office (OOXML) / .XLSM

42.1 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2023-07-12
MD5: 0f8265efecac851852fefeae1f2aebb1 SHA-1: fcbf91917f65644f28608d1bb8e09d0247f2f889 SHA-256: 828f2d666b35f95cdf619310a49a686ae5064e617953d7ae4df1bf977c1ddafb
430 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1059.005 Visual Basic T1105 Ingress Tool Transfer

The Workbook_Open macro utilizes WScript.Shell and CreateObject to execute a PowerShell command. This command downloads a file from 'https://bataung.co.za/realdeal.exe' to a temporary location, renames it to .exe, and then executes it. The document body contains a lure to enable content, which is a common 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 https://bataung.co.za/realdeal.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
735a2b7685c6cb59672347f1cd4d05e401cee1799917214ea41a83ea111b242c
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1405 bytes
vbaProject_00.bin
37130e6f256bfc59398b585be37425e389b72554e00c85ade46b71053e485e87
vba-project OOXML VBA project: xl/vbaProject.bin 5632 bytes
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely