GithubHelp home page GithubHelp logo

windows-10-hardening-1's Introduction

Windows-10-hardening

Description

The goal of this project is to improve both privacy and security that are provided by default in your Windows 10 operating system, either Pro or Home edition.

The Powershell script is intended to harden your OS. It does so by turning on/off some specific features known to have led to several attacks and security vulnerabilities in the paste, or that might affect the privacy of the system users. It also uninstalls and disables known services and default applications which are not needed by the majority of the users.

Thus, it attempts to remove/disable every unneeded application, protocol, and more in general software that stand on your operating system just to increase the attack surface. Among the applications the script removes you can find the Bing and XBox applications that are installed by default and many others.

Some of the protocols disabled by the script are mentioned below:

  • NetBios
  • RDP
  • Unsecure SSL and TLS versions
  • IPv6

Note: The script must be executed with Administrator privileges in order to complete successfully and it also requires a computer restart to apply all the changes.


Recommendation

In order to prevent any issue that this script may cause to your system, please take a backup of your registry hives before you run it, so that you can restore all the registry keys to their previous values. The script uninstall only those applications that are installed by default on every Windows OS and which are not used by the majority of the users. However, you might be among those restricted range of users that need (for instance) the '3D Viewer' application, in that situation you will need to reinstall the software.

Even though the script has been fully tested with no issue on the latest version of Windows 10 (Home and Pro edition) I do NOT assume any responsibility regarding any issue it may cause to your systems. The source code is publicly accessible and therefore you're allowed to inspect its statements or just take a backup as already mentioned before.

How to Run

Open a CMD prompt and run the following command from the directory that contains the target script:

  powershell -exec bypass ".\os_hardening.ps1"

In case you don't use Windows Defender as your anti-malware solution, run the script as shown below:

powershell -exec bypass ".\os_hardening.ps1 -NoAV"

Contribution

If you have any idea, advice, or improvement feel free to open an issue or contact me directly.

Pull requests are welcome!!

windows-10-hardening-1's People

Contributors

ssh3ll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.