Skip to content

Instantly share code, notes, and snippets.

View thomaxxl's full-sized avatar

Thomas Pollet thomaxxl

View GitHub Profile
@fitz123
fitz123 / Security recommendations for Windows users.md
Last active December 2, 2022 15:02
Security recommendation for Windows users

Security recommendations for Windows users

Chapter 1: Basic OS protections

  1. Change(or create) password for current user:
    1. ctrl+alt+del --> Change password
  2. Create non-admin user and sign in into the system as non-admin only:
  3. Open Run prompt: ctrl+R
@mackwage
mackwage / windows_hardening.cmd
Last active July 16, 2024 23:52
Script to perform some hardening of Windows OS
:: Windows 10 Hardening Script
:: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering.
:: Obligatory 'views are my own'. :)
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings!
:: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater
:
@lizthegrey
lizthegrey / attributes.rb
Last active February 24, 2024 14:11
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'