MALICIOUS
458
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059.003 Windows Command Shell
T1204.002 Malicious File
The sample contains a VBA macro with a Document_Open auto-execution routine. This macro utilizes WScript.Shell and cmd.exe to likely download and execute a second-stage payload. The presence of obfuscated code and the use of execution sinks indicate a malicious intent to compromise the user's system.
Heuristics 13
-
VBA project inside OOXML medium 9 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usage
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
GetObject call high OLE_VBA_GETOBJGetObject call
-
cmd.exe reference in VBA high OLE_VBA_CMDcmd.exe reference in VBA
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)
-
Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGEOne or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
-
External hyperlinks (2) low OOXML_EXTERNAL_HYPERLINKSDocument contains 2 external hyperlinks — clickable URLs are stored as external relationships. First target: http://www.mdpi.com
-
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://merrin5.mdpi.lab/user/pmc/duplicate_reference_checker In document text (OOXML body / shared strings)
- http://valmerrin.mdpi.labIn document text (OOXML body / shared strings)
- http://valmerrin.mdpi.lab/validateIn document text (OOXML body / shared strings)
- http://print.mdpi.lab/In document text (OOXML body / shared strings)
- http://www.vbaccelerator.com/home/VB/Code/Techniques/RunTime_Debug_Tracing/VB6_Tracer_Utility_zip_cStringBuilder_cls.aspIn document text (OOXML body / shared strings)
- https://github.com/VBA-tools/VBA-JSON/pull/82In document text (OOXML body / shared strings)
- https://github.com/VBA-tools/VBA-UtcConverterIn document text (OOXML body / shared strings)
- https://redmine.mdpi.cn/projects/production-editing/wiki/User_GuideIn document text (OOXML body / shared strings)
- http://merrin5.mdpi.lab/user/feedback/list/5In document text (OOXML body / shared strings)
- http://c$re`eve�In document text (OOXML body / shared strings)
- http://print.mdpi.lab/�In document text (OOXML body / shared strings)
- https://redmine.mdpi.cn/projects/production-editing/wiki/User_GuideA@�In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/00b0/index.htmIn document text (OOXML body / shared strings)
- http://creativecommons.org/licenses/by-nc-sa/2.0/l���In document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/00b1/index.htm����In document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/2020/index.htm�h��In document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/03b2/index.htm���In document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/2032/index.htmIn document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/0052/index.htm,�In document text (OOXML body / shared strings)
- http://www.fileformat.info/info/unicode/00b5/index.htmM*�WIn document text (OOXML body / shared strings)
- http://www.mdpi.comDocument hyperlink
+41 more URL(s)
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1552583 bytes |
SHA-256: 30f12e214bd860056e7bee40f719d8bd6f8a19d652114a7f6c159aff160d3870 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-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 WithEvents App As Word.Application
Attribute App.VB_VarHelpID = -1
Private Sub Document_Open()
Set App = Word.Application
End Sub
Private Sub App_DocumentBeforeSave(ByVal doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
Dim a
a = ActiveDocument.ComputeStatistics(Statistic:=wdStatisticWords, IncludeFootnotesAndEndnotes:=True)
End Sub
Attribute VB_Name = "article_metadata"
Attribute VB_Base = "0{BFA2D8B2-1BE0-4F45-94AC-84BA41E98B4D}{53AB17C2-E710-46D9-9A9F-1D361F3F0B41}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub abstract_Change()
End Sub
Private Sub submit_metadata_Click()
Word.ActiveDocument.BuiltInDocumentProperties("Author") = authors
Word.ActiveDocument.BuiltInDocumentProperties("Title") = title
Word.ActiveDocument.BuiltInDocumentProperties("Subject") = abstract 'Left(abstract, 254)
Word.ActiveDocument.BuiltInDocumentProperties("Keywords") = keywords
Dim strpdfname As String
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentWithMarkup, Copies:=1, Pages:="", PageType:= _
wdPrintAllPages, Collate:=True, Background:=True, PrintToFile:=False, _
PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
' strpdfname = ActiveDocument.path & "\" & Left(ActiveDocument.Name, InStrRev(ActiveDocument.Name, ".") - 1) & ".pdf"
' ActiveDocument.ExportAsFixedFormat OutputFileName:= _
' strpdfname, _
' ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
' wdExportOptimizeForPrint, Range:=wdExportAllDocument, from:=1, To:=1, _
' Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _
' CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _
' BitmapMissingFonts:=True, UseISO19005_1:=True
'''' below are codes to manipulate Acrobat.
'''' single quotes are genuine codes, double or more quotes are comments
''Set pdapp = CreateObject("AcroExch.App")
'Set pddoc = CreateObject("AcroExch.pddoc")
'
'pddoc.Open (strpdfname)
''pddoc.openavdoc (strpdfname)
'
'pddoc.SetPageMode (2)
'
''====probably use pddoc.setinfo here to write author and keywords data to remove the quotation marks
'' but syntax need to be researched
'
'Set jso = pddoc.getjsobject
'
''msgbox jso.zoomtype.fitw gives fitwidth, but jso.zoomtype.fitw itself gives exception,
''and jso.zoomtype = jso.zoomtype.fitw does not work. maybe because vba mix upper case with lower case?
''consider use shell or command line to execute javascript if necessary? 'jso.layout also not working
'
'a = pddoc.Save(PDSaveIncremental, "")
'pddoc.Close
'
'Dim strPrompt As String, editor_action As Integer
'
'strPrompt = "your pdf file has been generated at " & vbNewLine & strpdfname & vbNewLine & "please open the file and change magnification to fit width"
'editor_action = MsgBox(strPrompt, vbOKCancel, "save as pdf done")
'
'If editor_action = 1 Then
''MsgBox (strpdfname)
''pdapp.Show
'Else
''pdapp.exit
'End If
'
'Set pddoc = Nothing
MsgBox "Your pdf file has been generated at " & vbNewLine & strpdfname & vbNewLine, vbInformation
article_metadata.hide
End Sub
Attribute VB_Name = "doi_pub_date"
Attribute VB_Base = "0{5F610CB1-4761-498B-B2C0-D6138AE117B0}{A032821E-81D9-4C57-A
... (truncated)
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 2622976 bytes |
SHA-256: 812eb4050b33c44603e7f62bd902f8e934943d75a0c8b1a2e9f7b0644d7a97f8 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.