Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 39647d1829fcc16d…

MALICIOUS

Office (OLE)

387.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: ddfe01c006b3cbf4a6929073e235a8b4 SHA-1: 59b4c1ec4cb1428b812726c00a29aee9138d46b2 SHA-256: 39647d1829fcc16d1e20e0b6ccb582b85ff0a37f8530395628c44eda88542ed3
468 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer T1059.001 PowerShell

The Workbook_Open VBA macro is configured to execute a DLL named 'omsh.dll' from the user's temporary directory using 'rundll32'. This macro also contains logic to copy a shape and potentially call a function 'nam' which appears to rename a file. The presence of an embedded PE executable and the use of ShellExecute and LoadLibrary APIs strongly suggest this Excel file is a dropper for a malicious payload. The macro's intent is to download and execute a second-stage payload, likely the embedded PE file or a file dropped by it.

Heuristics 14

  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Ole10Native package carries executable/script file type high OFFICE_PACKAGE_RISKY_FILE
    OLE Package displayName or fullPath ends in an executable or script-capable extension. Even without UI extension spoofing, embedding a runnable payload inside an Office document is a high-risk delivery pattern.
  • 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.
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • NOP-equivalent sled detected medium SC_NOP_EQUIV_SLED
    Long run of 0x40 bytes
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • Reference to VirtualProtect API medium SC_STR_VIRTUALPROTECT
    Reference to VirtualProtect API
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
f6a9321bedda12fa27028642ecb1f63e72ae2e67b37cfe1f79707ddb8300f400
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2199 bytes
embedded_office_00001275.exe
1d0e0e70d1f7b4cd6aa4df3c54797496dd031040cbafa1b8f7feb1886a872c0b
embedded-pe Office MZ+PE at offset 0x1275 392075 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
ole10native_00.bin
049c705fc436edf8ada23a5742797ff11e7845f6c0ad0de21a0c12ffe35ae9ae
ole-package OLE Ole10Native stream: MBD000306D0/Ole10Native 250177 bytes