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

Static analysis result for SHA-256 5b316ac89e66231e…

MALICIOUS

Office (OLE) / .XLS

172.0 KB Created: 2020-06-29 22:30:34 Authoring application: Microsoft Excel
MD5: ee5491431bab4417c33f575b943e6457 SHA-1: 2d1a356d9399bb5edb28b175bdab5df309d743cc SHA-256: 5b316ac89e66231e22a4dceec005c6af4a49b706e7142b0bacf6816ba4a77c13
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The file is an Excel spreadsheet containing a Workbook_Open macro, a common technique for executing malicious code upon opening. The VBA code is heavily obfuscated, using a custom decoder and calls to CreateObject, Shell, and exec functions, indicating an attempt to download and execute a second-stage payload. The obfuscation and use of auto-execution routines are characteristic of macro-based malware.

Heuristics 5

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
90eb3613a312ef36afd5564dc28b423bfb49e8581d4c0bd4db4b556d26136e92
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2115 bytes