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

Static analysis result for SHA-256 ba37749d25d94995…

MALICIOUS

Office (OLE)

950.5 KB Created: 2021-07-14 10:47:00
MD5: 1f0284f54fe0a42692373246b30fe0b5 SHA-1: 9b6b553fdd1df8a20ff97c5fb010b297050d2d00 SHA-256: ba37749d25d949955d57888559e1e69bc1fa83ab38422b3e9e3fa70b52e567e1
602 Risk Score

Malware Insights

Win.Trojan.Razy · confidence 95%

MITRE ATT&CK
T1204.002 Malicious File T1059.005 Visual Basic T1105 Ingress Tool Transfer T1071.001 Web Protocols T1218.011 Signed Binary Proxy Execution: Rundll32

The sample is identified as malicious by ClamAV (Win.Trojan.Razy-9879269-0) and contains a VBA macro that leverages the `ShellExecuteA` API. The macro attempts to download and execute a DLL file named 'ier.dll' using 'rundll32.exe'. This indicates a pattern of exploiting known vulnerabilities (CVE-2007-3899) to download and run a secondary payload, likely for further system compromise.

Heuristics 15

  • 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.Razy-9879269-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Razy-9879269-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 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 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
cd373730e402d9f03abae7f1bf19947d1010e6c9a796db35534731907f4e3852
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3215 bytes
embedded_office_0008ee6e.exe
eb326addd451928823ab1e171541e7cb6d996f9deb31ea484ee1e8dccebe254e
embedded-pe Office MZ+PE at offset 0x8EE6E 387986 bytes
Detection
ClamAV: Win.Packed.Zusy-9878765-0
Obfuscation or payload: unlikely
ole10native_00.bin
dd2d9c309db4c78034804f938d725c0da394eaa3a3b9731e2db3eae39f4adec9
ole-package OLE Ole10Native stream: ObjectPool/_1687739808/Ole10Native 347436 bytes
Detection
ClamAV: Win.Trojan.Razy-9879269-0
Obfuscation or payload: unlikely