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

Static analysis result for SHA-256 ea6e71f6371f871d…

MALICIOUS

Office (OLE) / .XLSX

38.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-08-16
MD5: 33a12b2b07ecd6d349f4d149aae3103a SHA-1: 1701f6a80e859aaed17ecd99dac0bda7d7e66fcb SHA-256: ea6e71f6371f871da6829a35496a63bf02f162a38ee6e89e16b33b7b76e874a5
208 Risk Score

Malware Insights

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

The Workbook_Open macro executes a Shell() call to create and write commands to a batch file named 'Outlook.bat' in the Public user directory. This batch file then constructs and executes a PowerShell command to download and run a second-stage payload from the URL 'http://185.245.245.19.xyz/a.ps1'. The use of Environ() to construct the path and the obfuscated string concatenation for the PowerShell command indicate a deliberate attempt to conceal the malicious activity.

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