Jaff — Office (OLE) / .DOC malware analysis

Static analysis result for SHA-256 b5f155897a1c127d…

MALICIOUS

Office (OLE) / .DOC

87.0 KB Created: 2017-06-02 09:54:00 Authoring application: Microsoft Office Word First seen: 2024-06-11
MD5: 51d7f99537ad927ae21ef0cd866a71e8 SHA-1: 30c93d98fa27f98f756540038c94fc349c8cde99 SHA-256: b5f155897a1c127dc3709881ea2a40900859ad9a0d50cc9238883f23828c6676
422 Risk Score

Malware Insights

Jaff · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The file contains critical heuristics indicating an obfuscated auto-exec VBA loader that uses CreateObject and Shell execution. ClamAV detection further confirms it as 'Doc.Downloader.Jaff-6329915-0'. The VBA macros, specifically the 'autoopen' subroutine, are designed to trigger the execution of this loader, which is responsible for downloading and executing a secondary payload.

Heuristics 11

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • ClamAV: Doc.Downloader.Jaff-6329915-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Jaff-6329915-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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
00b8ba26879d0881a2e3bf534435c34fb833519e270df25043b1af3a1f7fe53b
vba-macro oletools.olevba.extract_macros (decoded VBA source) 11533 bytes