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

Static analysis result for SHA-256 324baa01c3619333…

MALICIOUS

Office (OLE) / .XLSX

38.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 7ad12537579ad48c286ccffbd98288f7 SHA-1: 7187d653f96f28659ea269a394109819ad712ee5 SHA-256: 324baa01c3619333075deb6dd0b3f6c1c9d6bc13d9b1a736db5465f53ab94226
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1140 Deobfuscate/Decode Files or Information T1027 Obfuscated Files or Information T1566.002 Spearphishing Attachment

The Workbook_Open macro executes a Shell() command, which is a critical finding. The macro writes a batch script to the public user directory, specifically 'C:\Users\Public\Outlook.bat'. This script contains obfuscated commands that appear to download and execute a second-stage payload. The use of Environ() to construct the path suggests an attempt to evade detection.

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