Win.Trojan.Tristate-2 — Office (OLE) malware analysis

Static analysis result for SHA-256 b55e4ce7d0097d68…

MALICIOUS

Office (OLE)

92.5 KB Created: 2006-01-02 14:45:00 Authoring application: Microsoft Word 8.0
MD5: 3d1ad4e9adcde11a4049730b9ff6b6ec SHA-1: c5a1c1af5063fb4fa5cc1a6f303cf0976f305d16 SHA-256: b55e4ce7d0097d68fed6084587b8a242f9aa8467c3f655d4ba30573443a1e094
300 Risk Score

Malware Insights

Win.Trojan.Tristate-2 · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The file is identified as Win.Trojan.Tristate-2 by ClamAV. Static analysis reveals the presence of VBA macros, specifically triggering CreateObject and GetObject calls, and an auto-execution function (Document_Open) that executes code via CreateObject. The embedded VBA macro, named macros.bas, is the primary indicator of malicious activity. The document body, presented as a teacher salary regulation, is a lure to trick the user into opening the malicious file. The VBA macros are likely responsible for downloading and executing a second-stage payload.

Heuristics 7

  • ClamAV: Win.Trojan.Tristate-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Tristate-2
  • 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.
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
09ac0e4717b599378299a27e1bf7a43c0525550c9f4b8d29e9e78c952309f9f4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 8494 bytes
Detection
ClamAV: Doc.Trojan.Tristate-1
Obfuscation or payload: likely
Carved artifact contains 12 Chr/ChrW string-construction calls. Carved macro source contains an auto-exec entry point and execution/download terms.