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

Static analysis result for SHA-256 7992c0f6155900ff…

MALICIOUS

Office (OLE) / .XLSX

38.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 533a8fcd1f64d3ea05629945f9700ac3 SHA-1: e5ae13e4e8d5dd211fcabfd3f1e56c0840591235 SHA-256: 7992c0f6155900ff20b80177a0570a5414ba65927a43edaf42aa6cfe126ed030
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.003 Windows Command Shell T1059.005 Visual Basic T1105 Ingress Tool Transfer

The Workbook_Open macro executes a Shell() command to create a batch file named 'Outlook.bat' in the public user directory. This batch file contains obfuscated commands that appear to download and execute a second-stage payload. The use of Environ("Public") and cmd.exe references strongly suggests a downloader or initial access stage.

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