Win.Trojan.Hancitor — Office (OLE) malware analysis

Static analysis result for SHA-256 80272e38fc31e515…

MALICIOUS

Office (OLE)

877.0 KB Created: 2021-07-07 11:36:00 Authoring application: Microsoft Office Word
MD5: 9a5eb27a3ecfe31f06fb1db473916047 SHA-1: 491c0b561285b4d89bd25b29d76c0d0412f8aedf SHA-256: 80272e38fc31e515d2255b1bbdc8130e7fdafba43d28f29e58f3239c2b1b93b9
662 Risk Score

Malware Insights

Win.Trojan.Hancitor · confidence 95%

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample exploits CVE-2007-3899, a memory corruption vulnerability in Microsoft Word, indicated by critical heuristics. The Document_Open macro is triggered, which uses ShellExecuteA to execute a command. This command appears to be constructing a path to download and execute a DLL file named 'niberius.dll' from a remote source, likely a second-stage payload. The presence of an embedded PE executable and ClamAV detections further confirm its malicious nature.

Heuristics 17

  • 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.
  • Office EPRINT stream contains EMF object high CVE related OLE_EPRINT_EMF_OBJECT
    OLE ObjectPool contains an EPRINT stream with EMF data. This is rare in normal documents and is CVE-2007-3893/MS07-046-family evidence when paired with Office exploit payload anomalies, but the malformed EMF record is not proven by this rule alone.
  • OLE with Ole10Native — possible CVE-2026-21514 exploitation high CVE likely CVE_2026_21514
    Document contains a Word OLE object with Ole10Native plus executable, PE, or risky remote-link indicators. CVE-2026-21514 exploits OLE metadata validation; this stronger structure is treated as likely exploitation.
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • ClamAV: Win.Trojan.Hancitor-9951031-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Hancitor-9951031-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.
  • 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
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Ole10Native package carries executable/script file type high OFFICE_PACKAGE_RISKY_FILE
    OLE Package displayName or fullPath ends in an executable or script-capable extension. Even without UI extension spoofing, embedding a runnable payload inside an Office document is a high-risk delivery pattern.
  • 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.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • Reference to VirtualProtect API medium SC_STR_VIRTUALPROTECT
    Reference to VirtualProtect API
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
84c33e40b53c0b60cfc0fd333113f61ddab1a151679c3b66f18c1d654f50e9a8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2995 bytes
embedded_office_0008ec71.exe
02fa53fa07e51b15205184182f7a5359e5f2f9f1d0011d6d3b6047c16448196b
embedded-pe Office MZ+PE at offset 0x8EC71 313231 bytes
Detection
ClamAV: Win.Trojan.Injectorx-9876306-0
Obfuscation or payload: unlikely
ole10native_00.bin
9bca9357cfd73ee04d68927c2d2ed1b3ef2b60bd477cf94eebbd021330a05ea2
ole-package OLE Ole10Native stream: ObjectPool/_1687138004/Ole10Native 274741 bytes
Detection
ClamAV: Win.Trojan.Hancitor-9951031-0
Obfuscation or payload: unlikely