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

Static analysis result for SHA-256 76eb0b03bf4f4e16…

MALICIOUS

Office (OLE) / .XLSX

33.0 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 7ca761f85ea35147e76d32bcc9640c84 SHA-1: 0457ca3fe9994baeebb9aadd052b7fd322f4a05a SHA-256: 76eb0b03bf4f4e169846f14a82b3ff02e55bfdea97a946c166d032c0034a8317
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() call, which is a critical finding. This macro writes batch scripts to the public user directory, including 'Outlook.bat' and 'task.bat'. The script content is heavily obfuscated but appears to be constructing commands to download and execute further payloads, indicating an Ingress Tool Transfer attempt.

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
9aae994c2e1c1317470f797f5379b50ed17f44f406e21538b812f3b5e27660ed
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5486 bytes