MALICIOUS
242
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
T1059.001 PowerShell
T1059.003 Windows Command Shell
The sample is an Office document containing a Workbook_Open VBA macro that references PowerShell and cmd.exe, and uses CreateObject. The VBA code itself is a known implementation of the RunPE technique, designed to execute a second-stage payload. This suggests the document is a loader for further malicious activity, likely involving exploitation of a vulnerability.
Heuristics 7
-
PowerShell reference in VBA critical OLE_VBA_PSPowerShell reference in VBA
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
cmd.exe reference in VBA high OLE_VBA_CMDcmd.exe reference in VBA
-
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.
-
VBA project inside OOXML medium OOXML_VBADocument contains a VBA project — VBA macros present
-
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 https://github.com/itm4n/VBA-RunPE
- https://github.com/hasherezade/
- https://www.codestack.net/visual-basic/algorithms/data/encoding/base64/
- https://www.codestack.net/license/
- https://www.codestack.net/visual-basic/algorithms/data/encoding/base64/�
- https://www.nirsoft.net/kernel_struct/vista/IMAGE_DOS_HEADER.html
- https://msdn.microsoft.com/fr-fr/library/windows/desktop/ms680305(v=vs.85).aspx
- https://msdn.microsoft.com/fr-fr/library/windows/desktop/ms680313(v=vs.85).aspx
- https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx
- https://msdn.microsoft.com/fr-fr/library/windows/desktop/ms680336(v=vs.85).aspx
- https://www.nirsoft.net/kernel_struct/vista/IMAGE_SECTION_HEADER.html
- https://msdn.microsoft.com/fr-fr/library/windows/desktop/ms684873(v=vs.85).aspx
- https://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx
- https://www.nirsoft.net/kernel_struct/vista/FLOATING_SAVE_AREA.html
- https://msdn.microsoft.com/en-us/library/windows/desktop/ms679284(v=vs.85).aspx
- https://www.nirsoft.net/kernel_struct/vista/IMAGE_DOS_HEADER.html�
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas4dffc455865f18e5e3915f22ee59ad26611fa9651d12bb22848b74d32829a6ab |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 55538 bytes |
vbaProject_00.bin52d0f28c4a8b3bedd4a8f91f37411bede152287dd1df09d922c2029399dd2084 |
vba-project | OOXML VBA project: xl/vbaProject.bin | 167424 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.