Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 f2da662ff21c7f7e…

MALICIOUS

Office (OOXML) / .XLSM

29.9 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-08-03
MD5: ad178335b7683df465a50a84b3d7abcd SHA-1: 8aceb0c04ad7ca72ef651f610f0163b21a3f228d SHA-256: f2da662ff21c7f7e6e77d7e8185092a398d53ce27550de646dc7ec474407379a
268 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1055 Process Injection

This XLSM file contains VBA macros, specifically triggering AutoOpen and Workbook_Open events, indicating a macro-based execution. The VBA code attempts to allocate memory in a remote process and write shellcode to it, likely to execute a second-stage payload. The presence of `CreateRemoteThread`, `VirtualAllocEx`, and `WriteProcessMemory` API calls strongly suggests process injection.

Heuristics 7

  • ClamAV: Doc.Macro.Injection-6355574-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Injection-6355574-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.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9d5a8fcbe7f2a6c2bb925d6485a214d9782cd8a641b65b82947b0610ebc1dee7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 15374 bytes
vbaProject_00.bin
b859bcb682ea9ab1e26e0bd165d366b4e9268b192324f2235c7a8a1bdb5119c4
vba-project OOXML VBA project: xl/vbaProject.bin 74752 bytes
Detection
ClamAV: Doc.Macro.Injection-6355574-0
Obfuscation or payload: unlikely