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

Static analysis result for SHA-256 8e2a3f67543b17ea…

MALICIOUS

Office (OLE) / .XLSX

38.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 3bc62bd8b910eb17b12a3b69fc050571 SHA-1: e4b91c0b407197bbfc6cbd1b6436a69277620db5 SHA-256: 8e2a3f67543b17ea35bc2c3bbcdbb9100fda5cb2fb90e911bef2943f76dc2bef
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.002 Spearphishing Attachment T1204.002 Malicious File

The Workbook_Open macro in this XLSX file executes a batch script named 'Outlook.bat' in the user's Public directory. This script appears to be designed to download and execute a second-stage payload, indicated by the use of cmd.exe and the construction of a complex URL from obfuscated string segments. The macro's direct execution of shell commands and its auto-execution upon opening the workbook strongly suggest a malicious intent to compromise the user's system.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
739b12d04dae2bb2ffa2c4acdc262e94eeb6301ea8ea956475b73a21114bd6ed
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2313 bytes