Tools

PowerShell:

6 comments on “Tools
  1. Sigtrap says:

    Hi,
    Worth noting is that to be able to run powershell scripts on a default Windows 7 you need administration rights to change the powershell Execution Policy “Set-ExecutionPolicy”.
    Regards
    //Sigtrap

    • clymb3r says:

      A non-administrator can run scripts regardless of execution policy by running the script using the following command:
      powershell.exe -executionpolicy bypass -file SCRIPT.ps1

      You are correct that to change the execution policy setting for the entire system you must be an administrator, however, a non-administrator can bypass this setting for individual scripts.

    • clymb3r says:

      A non-administrator can run scripts regardless of execution policy by running the script using the following command:
      powershell.exe -executionpolicy bypass -file SCRIPT.ps1

      You are correct that to change the execution policy setting for the entire system you must be an administrator, however, a non-administrator can bypass this setting for individual scripts.

  2. Sigtrap says:

    Thanks.
    So my old 32bit PE tools will not be loaded in a 64bit environment?
    Can you contact me off-list?
    Regards
    //Sigtrap

    • clymb3r says:

      I’m not sure how to contact you off list on WordPress. If you reach out to me on twitter @JosephBialek I can help you out.

      Are you running 32bit PowerShell? They won’t load in 64bit PowerShell.

  3. Flamingo says:

    Very nice talk at Defcon!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: