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

Static analysis result for SHA-256 8f049b3a10074716…

MALICIOUS

Office (OLE) / .DOC

763.0 KB Created: 2025-04-15 09:46:00 Authoring application: Microsoft Office Word
MD5: 0fbc2bf2f66fc72c521a9b8561bab1da SHA-1: 2feee87a408cd5bbb98218e18d2dbbe7f3d4c5d0 SHA-256: 8f049b3a100747167eb87fb3a134e446d9057f179b4f334a5a4006369605095a
688 Risk Score

Malware Insights

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

The sample contains a critical OLE_VBA_MACROS heuristic firing, specifically a Document_Open macro that uses Shell() and CreateObject calls. This macro is designed to execute an embedded PE executable (embedded_office_00001923.exe). The presence of SC_PEB_ACCESS_X64, SC_STR_CREATEPROCESS, SC_STR_WSCRIPT, SC_STR_LOADLIBRARY, and SC_STR_GETPROCADDRESS heuristics further indicate process manipulation and dynamic library loading, common in malware loaders. The ClamAV detection of 'Win.Loader.Covenant-10058832-0' on both the main file and the extracted artifact strongly suggests a loader family.

Heuristics 17

  • XOR-encoded strings (key 0x78) critical SC_XOR_ENCODED
    Found 1 Windows library/API name(s) XOR-encoded with single-byte key 0x78: 'VirtualAlloc'
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • ClamAV: Win.Loader.Covenant-10058832-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Loader.Covenant-10058832-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.
  • PEB access via GS segment (x64) high SC_PEB_ACCESS_X64
    PEB access via GS segment (x64)
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • 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.
  • 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)
  • 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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3b3db3a5fb8b3d6afc4fe50b0e94121d6cac558c91ade37b9a7411e36d0d9f28
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5488 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
embedded_office_00001923.exe
a4e865d62d57fffc62c8528ba244b8493ddc34f272b0473295ee1a4c84694ec2
embedded-pe Office MZ+PE at offset 0x1923 774877 bytes
Detection
ClamAV: Win.Loader.Covenant-10058832-0
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms. Carved artifact entropy is 7.65, consistent with packed or encrypted content.