Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 324bbe8cb1b20d6f…

MALICIOUS

Office (OLE)

513.9 KB Created: 2007-08-13 02:12:00 Authoring application: Microsoft Office Word First seen: 2019-04-17
MD5: 5af6660e3d4317bced682289a6db6dd3 SHA-1: 5d16e42df0cbd6566a2936fe69f6162dca71fa1a SHA-256: 324bbe8cb1b20d6f4b69d8608bc5827bda0cc93b5956bbee4323b47134c83547
920 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.001 PowerShell

This Office document contains embedded malicious content, specifically exploiting CVE-2007-3899 and CVE-2008-2244 to drop and execute a PE file. The presence of WinExec, CreateProcess, ShellExecute, URLDownloadToFile, WriteProcessMemory, and CreateRemoteThread API calls strongly indicates the execution of a secondary payload. The document body, while containing unrelated news content, does not provide further clues on the specific lure.

Heuristics 19

  • CVE-2007-3899 — Microsoft Word malformed string memory corruption critical CVE likely CVE_2007_3899
    Word OLE document has the MS07-060 malformed-string exploit shape: a Word 97-family FIB points to a malformed DOP/string-table region with an abnormal INT_MAX run, inflated text counters, and exploit payload or Mdropper.Z campaign evidence.
  • CVE-2008-2244 — Microsoft Word record-parsing payload critical CVE likely CVE_2008_2244
    Word OLE document has normal small WordDocument/table streams, a large unallocated OLE slack region, and an executable or resolver shellcode payload in that slack. This is the static shape of the MS08-042 Word record-parsing exploit family tracked as CVE-2008-2244.
  • ClamAV: Win.Malware.Razy-9886340-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Malware.Razy-9886340-0
  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORY
    Reference to WriteProcessMemory API
  • Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREAD
    Reference to CreateRemoteThread API
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • Embedded Office document has suspicious static findings critical EMBEDDED_OFFICE_CHILD_STATIC_TRIAGE
    A CFB/OLE Office document was found inside another file type and its carved contents matched Office exploit or payload heuristics. This catches wrapped exploit documents where the top-level file routes to a PE, archive, or generic scanner instead of Office.
  • x86 GetPC stub (CALL $+5; POP EDX) high SC_GETPC_CALL
    x86 GetPC stub (CALL $+5; POP EDX)
    Disassembly
    Attempted x86 opcode disassembly
    0002C99A  e800000000        call 0x2c99f
    0002C99F  5a                pop edx
    0002C9A0  e800000000        call 0x2c9a5
    0002C9A5  5a                pop edx
    0002C9A6  ffc2              inc edx
    0002C9A8  8ac2              mov al, dl
    0002C9AA  85ce              test esi, ecx
    0002C9AC  84f5              test ch, dh
    0002C9AE  d1f2              sal edx, 1
    0002C9B0  0fafd1            imul edx, ecx
    0002C9B3  e800000000        call 0x2c9b8
    0002C9B8  5a                pop edx
    0002C9B9  e800000000        call 0x2c9be
    0002C9BE  5a                pop edx
    0002C9BF  87d0              xchg eax, edx
    0002C9C1  f6d8              neg al
    0002C9C3  31fa              xor edx, edi
    0002C9C5  c0e8ab            shr al, 0xab
    0002C9C8  e800000000        call 0x2c9cd
    0002C9CD  5a                pop edx
    0002C9CE  31fa              xor edx, edi
    0002C9D0  f6d8              neg al
    0002C9D2  e800000000        call 0x2c9d7
    0002C9D7  5a                pop edx
    0002C9D8  f7d2              not edx
    0002C9DA  89fa              mov edx, edi
    0002C9DC  85ce              test esi, ecx
    0002C9DE  0fbeca            movsx ecx, dl
    0002C9E1  31fa              xor edx, edi
    0002C9E3  0fc0c1            xadd cl, al
    0002C9E6  ffc2              inc edx
    0002C9E8  0fbeca            movsx ecx, dl
    0002C9EB  85ce              test esi, ecx
    0002C9ED  f6d8              neg al
    0002C9EF  eb01              jmp 0x2c9f2
    0002C9F1  96                xchg esi, eax
    0002C9F2  ffc2              inc edx
    0002C9F4  86c1              xchg cl, al
    0002C9F6  87d0              xchg eax, edx
    0002C9F8  84f5              test ch, dh
  • Reference to WinExec API high SC_STR_WINEXEC
    Reference to WinExec API
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 526,236 bytes but its declared streams total only 18,208 bytes — 508,028 bytes (97%) live in unallocated sector slack. This is the canonical hiding place for pre-macro-era Office exploit payloads (XOR-encoded shellcode reached via a parser pointer-corruption bug in the document structure).
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • Reference to VirtualProtect API medium SC_STR_VIRTUALPROTECT
    Reference to VirtualProtect API
  • Suspicious extracted artifact medium 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_office_0002b96f.exe embedded-pe Office MZ+PE at offset 0x2B96F 347693 bytes
SHA-256: bf513f7d2b5c861c99832fb471036b3d66bffe30cd6b07e05c164f2a9afc75d0
Detection
ClamAV: Win.Malware.Razy-9886340-0
Obfuscation or payload: likely
Static shellcode analysis found candidate code region(s). Indicators: SC_GETPC_CALL, SC_STR_CREATEPROCESS, SC_STR_GETPROCADDRESS Static shellcode analysis recovered API/import strings: CreateProcessA, GetProcAddress, LoadLibraryA, RtlMoveMemory, VirtualProtect, CreateRemoteThread
embedded_office_off0000560d.ole embedded-office Embedded OLE/CFB Office body inside ole container at offset 0x560D 504207 bytes
SHA-256: 26ccc234a65e6e5402a8268ccd6f1a03e8bd3cf7d9bf83da9087adb0b3a0f1e6
Detection
ClamAV: Win.Malware.Razy-9886340-0
Obfuscation or payload: likely
Static shellcode analysis found candidate code region(s). Indicators: SC_GETPC_CALL, SC_STR_CREATEPROCESS, SC_STR_GETPROCADDRESS Static shellcode analysis recovered API/import strings: CreateProcessA, GetProcAddress, LoadLibraryA, RtlMoveMemory, VirtualProtect, CreateRemoteThread