Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 c8d89bd2559051d2…

MALICIOUS

Office (OLE) / .XLS

62.0 KB Created: 2006-09-16 00:00:00 Authoring application: Microsoft Excel
MD5: 0486264fe0163866402c4ac96c6a86f5 SHA-1: b10675727c98f58cabfb56f12d4fd51ec417bf6b SHA-256: c8d89bd2559051d2acafdb78b514fb79772c37fc1c3921a9913eb10e77a9c284
240 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.004 Visual Basic for Applications T1204.002 Malicious File T1059.001 PowerShell T1059.003 Windows Command Shell

The sample is an Excel 4.0 (XLM) macro sheet that contains both XLM and VBA macros. The Workbook_Open macro and XLM Auto_Open function are present, indicating that macros will execute upon opening. The document body contains a URL, and heuristics indicate the use of ShellExecute and URLDownloadToFile APIs, suggesting the macros are intended to download and execute a second-stage payload from the embedded URL http://smsraygan.ir/crun20.gif. The presence of a macro-enable lure further supports this malicious intent.

Heuristics 8

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • XLM Auto_Open with dangerous formula APIs high OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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
  • 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://smsraygan.ir/crun20.gif�
    • http://smsraygan.ir/crun20.gif

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
d4222e1ad83b892546402a65bce1342319760d5f0e17d0c73ae5f07e792beb86
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 9447 bytes
macros.bas
c29faf2da8b6b84c63880f8f3ff09f138acdaa94ad9406cab75b546ae0e54428
vba-macro oletools.olevba.extract_macros (decoded VBA source) 979 bytes