Jump to content

Prevention


Anonymous H@cker

Recommended Posts

That's a good question.

 

To prevent only say, powershell and command prompt, there are things built in, depending on OS, that you can do, like whitelists of HID devices. For windows users, you can disable powershell and the cmd prompt and exclude use of bat and vbs scripts from running as stand alone scripts as well(see my screenshot https://imgur.com/a/Xeld2), and damn near any other app (settings just below it, can block an APP by name or path to executable) or device, but won't prevent copying stand alone/staged executables that house all the code needed to do something malicious, nor prevent typing from the HID without a USB/HID black/whitelist.

In windows, a group policy could be applied, or registry changes(which is a PITA) or write a bat script to enable/disable most things in combo with a group policy to prevent the cmd prompt and powershell from being run at all (or use UAC to prevent without a password).

See here for more info on device blacklists/whitelists: 

https://technet.microsoft.com/en-us/library/2007.06.grouppolicy.aspx

Some of those features might not be available for all versions of windows, or in some cases need be applied by a domain controller against client machines.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...