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

Static analysis result for SHA-256 5e7621b7f875f9e6…

MALICIOUS

Office (OLE) / .XLS

165.0 KB Created: 2020-05-23 15:37:45 Authoring application: Microsoft Excel
MD5: 401d0e4d40efa9820640d116097d4d2e SHA-1: d493474c25387f2f3373ee95406ce859414ecf55 SHA-256: 5e7621b7f875f9e6c730454d916a2bc2acb7d8b1fbc1dbe7cdb1917d42f1590b
350 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer T1059 Command and Scripting Interpreter

The Workbook_Open macro automatically executes upon opening the spreadsheet. It uses the URLDownloadToFile API to download a second-stage payload from the obfuscated URL 'http://fyf/OGIZ0fjlmph0mq/{jc/eqvujyjnfmjo00;tquui' to the user's AppData directory as '%AppData%\fyf/ssww'. Subsequently, it uses ShellExecuteA to execute the downloaded file. The document body explicitly instructs the user to 'enable content to display this transaction receipt', acting as a lure.

Heuristics 10

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • ClamAV: Xls.Dropper.Agent-7914571-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-7914571-0
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://purl.org/dc/elements/1.1/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
f5ef4a42927e7533abbd9bfdbd3fb0f2bb2cd3b1323776c6b2be305d11eb3ef8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 12959 bytes