PowerPwning Post Exploiting by Overpowering PowerShell
Joe Bialek explores powerpwning post exploiting by overpowering powershell at DEF CON 21, examining digital-rights and practical defenses.
Summary
Architecture and Background
PowerPwning: Post-Exploiting By Overpowering PowerShell JOE BIALEK SECURITY ENGINEER, MICROSOFT PowerShell is a scripting language included with all modern Windows operating systems, which, among other features, provides access to the Win32 API and the capability to run scripts on remote servers without writing to disk. PowerShell scripts bypass application white listing, application-signing requirements, and generally bypass anti-virus as well.
Vulnerability Analysis
While all of these characteristics are very desirable to a penetration tester, rewriting penetration test tools in PowerShell would be time consuming. Instead, I will show how to combine PowerShell and assembly to reflectively load existing EXE's and DLL's without writing to disk, triggering anti-virus, or triggering application whitelisting.
Exploitation and Demonstrations
I'll finish with several demonstrations of the Invoke-ReflectivePEInjection script in action. Joe Bialek (@JosephBialek) is currently a Security Engineer on the Office 365 Red Team at Microsoft where he does security research, red teaming, penetration testing, tool development, and code review.
Remediation and Defensive Strategies
Joe was a contributor to Microsoft's Pass the Hash guidance paper, and has been a contributor to other large security efforts within the company. Prior to his role at Microsoft, Joe graduated from Western Washington University with a Bachelors degree in Computer Science. Materials:
Related talks
Main Stage·52 min
Amber Baldet
Amber Baldet explores suicide risk assessment and intervention tactics at DEF CON 21, examining digital-rights and practical defenses.
Main Stage·48 min
Alexandre Pinto
Alexandre Pinto explores defending networks with incomplete information at DEF CON 21, examining digital-rights and practical defenses.
Main Stage·49 min
Alejandro Caceres
Alejandro Caceres details conducting massive attacks with open source distributed computing ALEJANDRO CACERES OWNER, HYPERION GRAY LLC Distributed computing is sexy.


