2019-037-Lee Holmes, Powershell logging, and why there's an 'execution bypass'
Published October 17, 2019
50 min
    Add to queue
    Copy URL
    Show notes

    Derbycon9 talk - PowerShell Security Looking Back from the Inside - https://www.youtube.com/watch?v=DYWPtt7qszY&list=PLNhlcxQZJSm_ZDJBksg97I5q1XsdQcyN5&index=27&t=0s


    Encarta - https://en.wikipedia.org/wiki/Encarta


    Scott Hanselman’s twitter thread about Encarta: https://twitter.com/shanselman/status/1158780839464849409


    Congrats on the black badge :)


    I like that you bring up execution policies. That it was never created to become a security control

    • I started alerting on it anyway at least from non-admin devices




    Want to learn Powershell? UnderTheWire wargame: https://underthewire.tech/


    Jeffrey Snover “The Cultural battle to remove Windows from Windows Server”: https://www.youtube.com/watch?v=3Uvq38XOark


    You talk about “why would anyone want to remove powershell” as it came as a standalone download and part of the windows sdk. - I was taught when I was just getting into tech, that I should fear powershell and didn’t realize how powerful it could be as an admin because of it.


    Powershell slime trail <3 (powershell transparency)

    “You can’t force a powerful tool only to be used how you want it to be used, you can tilt the playing field on behalf of defenders”


    If an attacker is going to use powershell, let’s make them regret it


    Powershell has had quite an impact and history.


    My own sorry logging/alerting attempts


    You mentioned the amount of attacks listed in MITRE that use powershell, is that *the* recommended resource for blue teamers, are there any others?


    Revoke-Obfuscation white paper (blackhat2017): https://www.blackhat.com/docs/us-17/thursday/us-17-Bohannon-Revoke-Obfuscation-PowerShell-Obfuscation-Detection-And%20Evasion-Using-Science-wp.pdf








    Ever thought of writing a powershell security sentric book? Bill Pollock was looking for someone to write a book for NoStarch…


    Derbycon keynote with Lee Holmes and Daniel bohannon - http://www.irongeek.com/i.php?page=videos/derbycon6/101-key-note-jeffrey-snover-lee-holmes


    AMSI - Antimalware Scan Interface: https://docs.microsoft.com/en-us/windows/win32/amsi/antimalware-scan-interface-portal


    https://www.amazon.com/dp/B00ARN9MEK/ref=dp-kindle-redirect?_encoding=UTF8&btkr=1 -  Windows Powershell cookbook


    Eric conrad: https://www.ericconrad.com/2016/09/deepbluecli-powershell-module-for-hunt.html 



    Daniel Bohannon - DevSec Defense - https://www.youtube.com/watch?v=QJe8xikf-iE 



    Constrained language mode: https://devblogs.microsoft.com/powershell/powershell-constrained-language-mode/ 


    Maslow’s security Hierarchy: https://www.leeholmes.com/blog/2014/12/08/maslows-hierarchy-of-security-controls/ 


    Just Enough Administration: https://docs.microsoft.com/en-us/previous-versions//dn896648(v=technet.10)?redirectedfrom=MSDN




    Also - DrawOnMyBadge.com - Super cool idea, loved the mona lisa
















        0:00:00 / 0:00:00