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

Static analysis result for SHA-256 d652032cda10eea2…

MALICIOUS

Office (OLE) / .DOC

53.0 KB First seen: 2022-07-05
MD5: 8a5f6a90f2f998d9608f5431d2e3b44f SHA-1: dcfc31fa7c3b85ee7325b53871c7d497dcd4c572 SHA-256: d652032cda10eea211680b588319d16f0f87d02925b885467bcd4e16f61a7548
328 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1071.001 Web Protocols

The file contains obfuscated VBA macros designed to execute automatically upon opening, as indicated by the Workbook_Open event and Shell() calls. The script attempts to download and execute a payload using Environment variables to construct the path to 'cmd.exe' and then calls 'Shell()' to execute it. The ClamAV detection name 'Xls.Malware.Valyria-10036513-0' further supports its malicious nature.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • ClamAV: Xls.Malware.Valyria-10036513-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Valyria-10036513-0
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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
c1fe22d621d9875105ca2d793301dafb13dc55c15fa22b96b855e83a238f4b6e
vba-macro oletools.olevba.extract_macros (decoded VBA source) 20400 bytes