Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9abfa0b3e5925e82…

MALICIOUS

Office (OOXML)

12.7 KB Created: 2016-05-12 06:28:14 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3a59e5c60d3d45240f864bcf209253a2 SHA-1: 430410e9a6161f76f79818b88e42f6d86c06aee3 SHA-256: 9abfa0b3e5925e8289b0b89c2cd57fc994d943efd6cb90cfe228dfd900e42fd1
322 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell

The OOXML document contains a VBA macro with an Auto_Open subroutine. This macro utilizes the Shell() function to execute 'cmd.exe' and echo a concatenated string. The string itself appears to be the EICAR test string, indicating this file is likely a test case rather than a functional malware sample. The presence of cmd.exe execution via VBA is a common technique for initial payload execution.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Xls.Malware.Generic-10013209-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Generic-10013209-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://github.com/mattias-ohlsson/eicar-standard-antivirus-test-files

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9a20dc78175f6d9f375cde5efa4b23889d7cd05e7c4afd24f0a161ede38fb317
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 999 bytes
vbaProject_00.bin
d55fa4f9a87666858c19c38a36f194c507240bacc450311766d2740746d9e584
vba-project OOXML VBA project: xl/vbaProject.bin 14848 bytes
Detection
ClamAV: Xls.Malware.Generic-10013209-0
Obfuscation or payload: unlikely