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

Static analysis result for SHA-256 392de25228482e17…

MALICIOUS

Office (OLE) / .XLSX

33.0 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 72b9a844ed7ab767c1de85facfb4ad04 SHA-1: 88d41799156fcc5c6dc80124cc55cc3f96d940b6 SHA-256: 392de25228482e17400c27ca87cfe91ddf60b1dedcffd36cad1c52c6a0f7c4d0
208 Risk Score

Malware Insights

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

The Workbook_Open macro executes a Shell() command to create and run a batch file named 'Outlook.bat' in the user's Public directory. This batch file, in turn, uses obfuscated commands to download and execute a PowerShell script from 'http://185.143.223.175/a.ps1'. The PowerShell script is designed to download and execute a second-stage payload, indicating a downloader or initial access mechanism.

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