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

Static analysis result for SHA-256 eb92ec11cebcf283…

MALICIOUS

Office (OLE) / .DOCX

1.82 MB Created: 2021-11-24 09:03:00 Authoring application: Microsoft Office Word
MD5: 7f1ab9b0e2abb2c3b1724ce6f50a1a46 SHA-1: c7cdebbe90d11c2037f040460bcedb199a78f376 SHA-256: eb92ec11cebcf283acf6d5f275a149d64dcee8b12fa8c5b82e7d2bbcdd04f82e
250 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic for Applications T1027 Obfuscation T1059.001 name own single quote quote quote quote quote quote quote quote quote quote quote quote quote quote quote quote quote

The document uses a fake security questionnaire (CUESTIONARIO DE LAS JORNADAS DE SEGURIDAD DE LA INFORMACIÓN) as a lure. The VBA script contains a function `Dec_String` to decode hex-encoded strings and a `Read_Key` function that attempts to read a key from `%userprofile%\Unicaja\PGP\key`. The script also includes a `SaveFile` procedure that writes a binary file named `cryptsp.ext` (where ext is passed as variable) to a specified path. The ClamAV detection `Doc.Dropper.HexEncodedEXEHeader` suggests the presence of an embedded executable payload, though the script is truncated, the logic indicates a payload delivery mechanism.

Heuristics 8

  • ClamAV: Doc.Dropper.HexEncodedEXEHeader-9789587-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.HexEncodedEXEHeader-9789587-1
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
e8165ec0b6080033d27da922340b63502bcf41deebf22baca8f8129149695374
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3917 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.