Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 926a835405ef6af2…

MALICIOUS

Office (OLE)

189.5 KB Created: 2013-04-04 12:37:31 Authoring application: Microsoft Excel First seen: 2015-09-23
MD5: 0593a63dddbc44788edc2d0f58d6e140 SHA-1: 25372b3f6a55e8361ea4412c8521732e4409171e SHA-256: 926a835405ef6af2c2cf687badc2b64473b699bc3d8ce8f5e7ebf64e3ddc20a8
82 Risk Score

Malware Insights

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

The critical heuristic 'OLE_VBA_MACRO_VIRUS_REPLICATION' indicates that the VBA macros within this Excel file are designed to replicate themselves, potentially by writing their own code. The presence of an embedded URL, http://www.dropitto.me/gagge2013, suggests a capability to download further malicious content. The VBA script also attempts to protect the sheet with a password and save the workbook, indicating an effort to maintain its presence or functionality.

Heuristics 3

  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATION
    VBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.
    Matched line in script
                .VBComponents(x).CodeModule.DeleteLines _
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.dropitto.me/gagge2013 In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

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

Attribute VB_Name = "Hoja1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "CommandButton1, 8, 0, MSForms, CommandButton"



Private Sub CommandButton1_Click()
     
         
Dim strExcelArchivo As Variant
Dim Nomb_Libro As String
Nomb_Libro = Range("h16").Value

    Dim x               As Integer
    Dim Proceed         As VbMsgBoxResult
    Dim Prompt          As String
    Dim Title           As String
     
    On Error Resume Next
    With ActiveWorkbook.VBProject
        For x = .VBComponents.Count To 1 Step -1
            .VBComponents.Remove .VBComponents(x)
        Next x
        For x = .VBComponents.Count To 1 Step -1
            .VBComponents(x).CodeModule.DeleteLines _
            1, .VBComponents(x).CodeModule.CountOfLines
        Next x
    End With
    On Error GoTo 0
    Sheets("hoja1").Copy


archivo = Application.GetSaveAsFilename _
("" & Nomb_Libro & "", "Libro de Microsoft Office Excel(*.xls), *.xls")
        Sheets("hoja1").Select
        ActiveSheet.Protect ("3460")
        'ActiveWindow.Close savechanges:=False



If archivo <> False Then
        ActiveWorkbook.SaveAs archivo
        Sheets("hoja1").Select
       ActiveSheet.Protect ("3460")
       ActiveWindow.Close savechanges:=False
Else
    ActiveWindow.Close savechanges:=False
   Exit Sub
End If
Sheets("hoja1").Select
ActiveSheet.Protect ("3460")
MsgBox "Recordar que la contraseña para subir la ficha de Dropito.me es 1234", vbInformation
ActiveWorkbook.FollowHyperlink "http://www.dropitto.me/gagge2013"

ActiveWindow.Close savechanges:=False

    
End Sub


             
      







Attribute VB_Name = "Hoja2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Módulo1"