Offensive VBA 0x3 - Developing PowerShell Droppers

Offensive VBA 0x3 - Developing PowerShell Droppers

🎙 HackerSploit 👥 1.0M 📅 January 28, 2025 ⏱ 55 min 👁 5K 📄 tutorial 🧭 2026-10-09
Available in: English (current) Français

Keywords

VBAPowerShelldropperred teamin-memory execution

Summary

This video is the third episode in the ‘Offensive VBA’ series by HackerSploit, focusing on developing PowerShell droppers using VBA macros for red team operations. The presenter begins by explaining the concept of a dropper—a payload that downloads and executes another file—and demonstrates how to create a basic VBA macro that uses WScript.Shell to run a PowerShell command. The command downloads an executable from a remote web server and saves it to disk, then executes it. The tutorial covers the importance of asynchronous execution for stealth, the use of environment variables, and the transition to fileless, in-memory execution using PowerShell’s Invoke-Expression (IEX) to avoid writing payloads to disk. The presenter also introduces basic obfuscation by base64-encoding PowerShell commands. Throughout the video, the presenter tests the macros in a lab environment, encounters and fixes errors, and discusses operational security considerations. The video concludes with a preview of future episodes covering alternative techniques like PowerCat and embedding payloads directly in VBA.

159 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides practical, hands-on value for red teamers and penetration testers looking to understand how VBA macros can be weaponized to deliver PowerShell payloads. The argumentation is built around a progression from simple to more sophisticated techniques: starting with a basic dropper that writes to disk, then moving to fileless execution via IEX, and finally introducing base64 obfuscation. Each step is justified by operational security concerns, such as avoiding disk artifacts and evading signature-based detection. The presenter explains the rationale behind choices like asynchronous execution (to avoid blocking the macro) and the use of non-staged payloads for in-memory execution. The live debugging and error correction add authenticity, though they also interrupt the flow. The argumentation is sound within the context of offensive security, but it assumes prior knowledge of VBA, PowerShell, and red teaming concepts, which may limit accessibility for beginners.

Scientific Rigor, Source Quality, Title Accuracy

The video does not cite external sources or academic references; it relies on the presenter’s practical experience and standard offensive security techniques. The title ‘Offensive VBA 0x3 - Developing PowerShell Droppers’ accurately describes the content, as the entire video is dedicated to creating and refining VBA macros that act as PowerShell droppers. The adéquation between title and content is strong. The presenter mentions a GitHub repository for scripts but does not provide a link in the description. The description includes links to the presenter’s blog, forum, academy, and lab platform, but these are promotional rather than sources for the techniques demonstrated. No comments were provided for analysis.

264 words

Title / Content Match

The title accurately reflects the content: the video focuses on developing PowerShell droppers using VBA macros, as part of an 'Offensive VBA' series. The content matches the title's promise.

Quality & Reliability

7/10

The content is a practical tutorial on offensive VBA and PowerShell droppers, delivered by an experienced practitioner. The techniques demonstrated are standard red teaming methods, and the video includes live coding and testing. However, the presentation is somewhat unstructured, with the presenter encountering and fixing errors in real time, which may reduce clarity. No external sources are cited, but the material aligns with established offensive security practices.

Key Moments

Cited Sources

External References

Contribution & Novelties

The video’s original contribution lies in its step-by-step demonstration of building PowerShell droppers within VBA macros, specifically tailored for red team operations. It goes beyond simple download-and-execute by introducing fileless execution and basic obfuscation, providing a practical roadmap for stealthier techniques. The presenter’s live debugging and explanations of operational security trade-offs add practical insights not always found in written tutorials.

Pour aller plus loin :

110 words

Radar Profile

The radar profile shows high technical level and moderate information quantity and quality, reflecting a focused tutorial that is technically deep but not exhaustive. Reliability is good, given the practical demonstrations, but the lack of external sources and the informal debugging reduce the overall polish.

Reliability 7/10