Owning MS Outlook with Powershell
summary
PowerShell creates an Outlook COM object and iterates folder 6 (Inbox) or 23 (Junk) to harvest items, monitor for triggers, and execute payloads; a demo resolves a URL to an IP and a single port number from an email body (three trigger words + one number) and pops calc on trigger. Transport rules can force delivery or auto-BCC (transport rule BCC exfil). Another demo saves a .txt attachment, runs its commands, and emails results back. Demos work but generate Outlook popups unless AV/PowerShell logging or transcription is enforced.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker setup
- 1:06Why own Outlook with PowerShell
- 4:38Collecting Outlook data with PowerShell
- 12:01Bypassing spam filters with transport rules
- 16:11Creating backdoor triggers in Outlook
- 23:49Demo: Simple backdoor trigger
- 25:14Avoiding detection with dynamic triggers
- 34:40Automating tasks via Outlook C2
- 39:11Demo: Executing commands via email
- 41:01Defending against Outlook exploits
- 44:14Resources and Q&A
