CyberPolice

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4fd4794253faa160c018340ed521f686a5fd33b0
parent 9b923150f8a8cd2dc1b08660794d130d719d8819
Author: Q <PlutoTank@users.noreply.github.com>
Date:   Fri, 29 Nov 2019 13:03:16 -0500

Update README.md
Diffstat:
MREADME.md | 60++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/README.md b/README.md @@ -1,36 +1,36 @@ # CyberPolice (CyberPatriotScripts) ### Intro -This script is for mainly for windows. It runs a bunch of hardening processes.\ -This script is supposed to be used for automation of system hardening.\ +This script is for mainly for windows. It runs a bunch of hardening processes.<br /> +This script is supposed to be used for automation of system hardening.<br /> This script was made for Cyber Patriot competition but can be used for other uses like system forensics and hardening. ### Useage Run `CyberPolice.bat` as Administrator #### Functions -```checkfiles``` (searches for specified extentions and words, outputs all to a log)\ -```usermgmtff``` ([how this works](#user)):\ -```userprop``` (sets properties for users that is secure, like expiring passwords and change on login)\ -```services``` (logs services on machine, disabled specific services set in `FirewallRulesOFF.txt`)\ -```firewall``` (turns on firewall, disables set firewall rules in `Auto.txt`, `Disabled.txt`, `Manual.txt`)\ -```features``` (turns off specified Windows features in `BadWinFeatures.txt`)\ -```passwordPol``` (sets secure password policy)\ -```audit``` (sets secure audit policy)\ -```lockout``` (sets secure lockout policy)\ -```rdp``` (turns rdp on/off and sets policies to allow for rdp on/off)\ -```power``` (sets power settings)\ -```sessions``` (checks for remote sessions and logs it)\ -```shares``` (logs current shares, prompts user to edit shares)\ -```checkdns``` (logs dns and hosts file, clears them afterwards)\ -```uac``` (turns on UAC)\ -```backuplsp``` (backs up current local security policy)\ -```lsp``` (sets local security policy based one ones in/put in `ConfigFiles\lgpoTemplates`)\ -```regharden``` (sets settings in the registy that are specified `RegistyHardenData.txt`)\ -```verifysys``` (runs `sfc /verifyonly`)\ +```checkfiles``` (searches for specified extentions and words, outputs all to a log)<br /> +```usermgmtff``` ([how this works](#user)):<br /> +```userprop``` (sets properties for users that is secure, like expiring passwords and change on login)<br /> +```services``` (logs services on machine, disabled specific services set in `FirewallRulesOFF.txt`)<br /> +```firewall``` (turns on firewall, disables set firewall rules in `Auto.txt`, `Disabled.txt`, `Manual.txt`)<br /> +```features``` (turns off specified Windows features in `BadWinFeatures.txt`)<br /> +```passwordPol``` (sets secure password policy)<br /> +```audit``` (sets secure audit policy)<br /> +```lockout``` (sets secure lockout policy)<br /> +```rdp``` (turns rdp on/off and sets policies to allow for rdp on/off)<br /> +```power``` (sets power settings)<br /> +```sessions``` (checks for remote sessions and logs it)<br /> +```shares``` (logs current shares, prompts user to edit shares)<br /> +```checkdns``` (logs dns and hosts file, clears them afterwards)<br /> +```uac``` (turns on UAC)<br /> +```backuplsp``` (backs up current local security policy)<br /> +```lsp``` (sets local security policy based one ones in/put in `ConfigFiles\lgpoTemplates`)<br /> +```regharden``` (sets settings in the registy that are specified `RegistyHardenData.txt`)<br /> +```verifysys``` (runs `sfc /verifyonly`)<br /> ```auto``` (runs all functions in logical order) ### Tested OS' -| Windows Version | Tested | +| Windows Version | Tested | | ------------- |---------------| | Windows Server 2019 | No | | Windows Server 2016 | Yes | @@ -45,21 +45,21 @@ Run `CyberPolice.bat` as Administrator ### Config Files -Some config files allow for commenting with `#` as the first line\ -Files that allow for commenting:\ -```RegistryHardenData.txt```\ +Some config files allow for commenting with `#` as the first line<br /> +Files that allow for commenting:<br /> +```RegistryHardenData.txt```<br /> ```FirewallRulesOFF.txt``` Most config files you just put the name of the object you want to change in the text file that applies to that object -`RegistyHardenData.txt` useage\ -To enter a registry change do the following (with ":" included)\ -```Path:Key:Variable:Value```\ -Example:\ +`RegistyHardenData.txt` useage<br /> +To enter a registry change do the following (with ":" included)<br /> +```Path:Key:Variable:Value```<br /> +Example:<br /> ```HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon:AutoAdminLogon:REG_DWORD:0``` ### <a name="user"></a> User Config -The `PasteUsersHere.txt` is to be copy and pasted from the Cyber Patriot competition README (or made yourself)\ +The `PasteUsersHere.txt` is to be copy and pasted from the Cyber Patriot competition README (or made yourself)<br /> Example: ```Authorized Administrators: bwayne (you)