Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 cd255daee03188de…

MALICIOUS

Office (OOXML)

19.1 KB Created: 2021-08-17 08:07:57 UTC Authoring application: Microsoft Excel 16.0300
MD5: 2f3b80a410a878ff7428d5feb8f2931f SHA-1: debae0efdbb177a65fc60e36543fe159101db91e SHA-256: cd255daee03188de59a4551f9ef3e5e10ce48ae273722b8ffce34439a1b93c16
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file is an OOXML document containing VBA macros, specifically triggering Workbook_Open and Document_Open events. These macros are designed to execute shell commands, indicating a downloader or droppper functionality. The VBA code attempts to establish a socket connection to '192.168.0.102' on port '4444', likely to download and execute a secondary payload.

Heuristics 6

  • ClamAV: Doc.Malware.Valyria-10003133-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10003133-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.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b09e9abd60161484d3da5c18e8910be7c0b5dea14da735650a6f20a5a68772c5
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 5968 bytes
vbaProject_00.bin
13b93f2288cbba8002ee1077b36c53b11765d1d2f068a6d3d75b1ff01728df69
vba-project OOXML VBA project: xl/vbaProject.bin 27136 bytes
Detection
ClamAV: Doc.Malware.Valyria-10003133-0
Obfuscation or payload: unlikely