Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 7cf2db52892613d8…

MALICIOUS

Office (OLE) / .DOC

32.5 KB Created: 2001-05-30 15:45:00 Authoring application: Microsoft Word 9.0
MD5: ebe499343061e49ea4f31639fc3a7e59 SHA-1: 89de7abdbdc3fc8764d481a49125b8a3cebf6f05 SHA-256: 7cf2db52892613d8bfff7fe6466419b0e29fac8ab77859ba097435c80e1311c1
340 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1071.001 Web Protocols T1041 Exfiltration Over C2 Protocol

The sample is a malicious Word document containing VBA macros. The AutoOpen macro executes upon opening the document. It attempts to save a copy of itself as 'C:\Windows\Maya.doc' and creates a file 'C:\Maya\hello.txt' with specific text. It also creates and copies a 'script.ini' file to various MIRC directories, likely for spreading via IRC. The script also attempts to interact with Outlook, suggesting potential for email-based propagation. The presence of 'Doc.Trojan.Ayam-1' from ClamAV further confirms its malicious nature.

Heuristics 8

  • ClamAV: Doc.Trojan.Ayam-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Ayam-1
  • 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.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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
c1fd06a9f67c86efc9a40faead8db926a9be289a065455a3f6c2f4603775006e
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2873 bytes
Detection
ClamAV: Doc.Trojan.Ayam-1
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.