---
description: CompTIA Security+ Certification (SY0-601) Mike Meyers and Dan Lachance
---

# CompTIA Security+

<details>

<summary>Threat actors</summary>

* Hackers
* Hacktivists
* Script kiddies
* Insiders
* Competitors
* Shadow IT
* Criminal syndicates
* State actors
* APT - Advanced persistent threat

</details>

* **Asset** - is any part of an IT infrastructure that has value
* **Vulnerability** - is a weakness in an asset in an IT system that leaves it open to a threat
* **Exploit** - is peace of code that takes advantage of vulnerability
* **Threat** - is an action that a threat actor can use against a vulnerability to cause harm
  * An attack (exploit) that a malicious actor will use agains asset
* **Likelihood** - is the probability of assets being damaged over time
* **Threat actor** - is anyone or anything with the motive and resources to attack another IT infrastructure. They are sources of threats
* **Risk** - is the likelihood of a threat actor taking advantage of vulnerability by using a threat against an IT asset
* **Attack vector** - are pathways to gain access to restricted systems

<details>

<summary>Objective 1.5</summary>

CIA

* Confidentiality
  * Form of encryption
* Integrity
  * Form of hashing
    * to check that we don't have any unauthorized changes
* Availability
  * Making sure that systems are available when we need them

Attack vectors

1. Weak configuration
2. Open firewall ports
3. Lack of user security awarness
4. Lack of multifactor authentication
5. Missing patches
6. Infected USB
7. Supply chain
   1. manufacturers
   2. contractors
   3. implementers
   4. outsorsed software developers

1) AIS - automated indicator sharing
   1. Exchange of cybersecurity intelligence between entities
2) STIX - structured threat information expression
3) CVE - common vulnerability and exposure
4) Dark Web - encrypted and anonymized internet access
5) AUP - acceptable use policy
6) RMF - risk management frameworks provide guidance on identifying and managing risks
7) Security policies are designed to protect&#x20;
8) Security controls are there for mitigate specific threats
9) Managerial - administrative function - background checks
10) Operational - policy review
11) Technical - IT security solution
12) Security control type include:
    1. physical
       1. mantrap
       2. access control
    2. detective
       1. log analysis
    3. corrective
       1. vulnerability patching
    4. preventive
    5. deterrent
       1. device logon warning banner
    6. compensating
       1. isolate IOT in a separate network

Prioritize threat against asset

SLE - Single Loss Expectancy

1. Asset value = 24,000
2. Exposure factor = 12.5%
   1. Single loss expectancy = 24.000 x 12.5% = 24000 x 0.125 = 3.000

1) AV = 24.000 per day
2) Risk - 3h downtime
   1. 24h / 3h = 12.5 % of 24h
3) Exposure factor - 12.5%
4) SLE = AV \* EF = 24.000 x 0.125 = 3.000 for 3h downtime

ARO - annual rate of occurance

1. Expected number of yearly occurrences

ALE - annualized loss expectancy&#x20;

1. Total yearly costs of bad things happening
2. ALE = SLE \* ARO
3. ALE = 3k$ \* 2 = 6$k

ALE is to understand how much we can loss if something goes wrong as well as to understand if we spend on security more than we can loss, since then it won't make sense



</details>

* MTBF - mean time between failures
  * average time between component failure
  * software patching
* MTTF - mean time to failure
  * average time between non-repairable component failure
  * hard disk, switch, router
* MTTR - time required to repair
* PTA - privacy threshold assessment
  * first step before implementing solutions related to sensitive data
* PIA - privacy impact assessment
* RPO - recovery point objective
  * maximum tolerable amount of data loss
* RTO - recovery time objective
  * maximum tolerable amount of downtime
* BIA - business impact analysis
  * identifies how negative incidents will impact business processes and sensitive data

Data types and roles

Data classification assigns labesl to data to faciliate management

* PII - personally indentifiable information
* PHI - personal health information
* Proprietary
* Public
* Critical
* Financial

Data Privacy Standards

* Data privacy and breach notification
* levy fines
* IP - protect intellectual property
* PCI DSS - payment card industry data security standard
  * carholder information
* GDPR - general data protection regulation

Data classification tools

* metadata apply
  * cloud resource tagging
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FCq2BCu69ewYUid6hG1qD%2Fimage.png?alt=media\&token=fad94d44-c9fd-42a9-841f-9d1afb9e3f6e)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2F2aCZ6v23y4rePDz57wCD%2Fimage.png?alt=media\&token=587a66bf-1eea-4c36-8b8f-11ad37031dbc)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2Fse2rH0rSXim24P40rEK5%2Fimage.png?alt=media\&token=7f9f20a5-fe18-401d-9f29-e8fd571c94c6)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FBnPjrjEMS8ZJ1qoPHjWb%2Fimage.png?alt=media\&token=326e3d54-9473-4a21-b06c-6131716a54e9)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FNpXQcjGB6jb0cC9XmoK3%2Fimage.png?alt=media\&token=4e47cf9c-7ffb-42f2-9ca0-13566d973f63)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FJGd6ZkcEjfnmCZcc6yIs%2Fimage.png?alt=media\&token=9b3a3a79-3efe-4ad6-8fa8-50f28bae1995)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FzJZsfsNoeBPHE0IBrcIq%2Fimage.png?alt=media\&token=3ffa5f63-2378-4faa-b0dc-c0d34437c99f)
  * ?
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FCJA5wDj1MC7bRO2Ea5dl%2Fimage.png?alt=media\&token=297508da-b4e1-49d4-97ee-38a9b182d88d)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FfIEMkcibNcJvO7x33L9o%2Fimage.png?alt=media\&token=3bda8ace-8173-4f67-a515-667e2a72bb00)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FAp21CehAXXciAa9hbYQY%2Fimage.png?alt=media\&token=25bdfbf8-e454-48f9-b562-47117ab8a43b)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2Fba4oVrij5od3eDreOdFT%2Fimage.png?alt=media\&token=fb871b8a-e7af-43aa-a264-3adee70d0e5a)
  * ?
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FJuYFjPUpsqhYrPmil9j7%2Fimage.png?alt=media\&token=cefad1f0-1f75-4c51-862b-1cadd5db05bc)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FjpFLaGWGBc4iQcf6pLdl%2Fimage.png?alt=media\&token=d3d54939-692d-48c0-bace-087de72b5d8f)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FHl5XbllCTOGSzgZr8kC0%2Fimage.png?alt=media\&token=8a438bf1-83b0-45ea-b20e-07b247f29314)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2F7ldkQNucB0aaBHsdpZX2%2Fimage.png?alt=media\&token=80b72bb1-a339-4cb6-980c-89a8ef77c00f)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FwpcG5Bi7fZoED7SlDcVS%2Fimage.png?alt=media\&token=7dfd91ab-5be3-4391-8bf8-5d6f4b77419e)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2Fx1xgI9iYbmPfCcemnQgO%2Fimage.png?alt=media\&token=7fbe04b0-cf48-4706-a20c-7d55ffaa1c19)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FnOtAn8mbKdN7kPDHPaBe%2Fimage.png?alt=media\&token=de1c9804-486f-4858-a598-cbdddaf55c4e)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FV3eqkrhKDOZSVWzk4lk1%2Fimage.png?alt=media\&token=192fa60d-1df4-4cc3-9aa0-20b8884b4585)
    * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2F2EL2ygIGpqqHVEnrB0Og%2Fimage.png?alt=media\&token=34ea25a0-f3e3-4137-b6a6-495a0dcb66ff)

Data roles and responsibilities

* Owner
  * Legal data owner
  * Set policies on how data will be managed
* Controller
  * ensures data complies with applicable regulations
* Processor
  * handles data in accordance with privacy guidelines
* Custodian
  * data managing in allignment with data owner policies
  * applies data management policies
    * permissions
    * backup
* DPO - data privacy officer
  * ensures data privacy regulation compliance with any law and regulation

<details>

<summary>Security and the Information Life Cycle</summary>

* Collection
* Storage
* Process
* Share
* Archive/Delete

PII - Personal Identifiable Information.

* Social security number
* E-mail address
* Credit card number
* Home address
* Web browser cookies

PHI - Protected health information

* Health insurance plan number
* Blood type
* Patient medical ailments

PET - privacy-enhancing technologies

* Anonymization
  * GDPR without user consent
  * limited data value
* Pseudo-anonymization
  * PII replaced with fake identifiers
* Data minimization
  * Limit stored/retained sensitive data
* Tokenization
  * authorizes access instead of the original credentials
* Data masking
  * Hide sensitive data from unauth users
  * Masked out credit card number digits on a receipt

Data sovereignty

* Data location and laws that apply to it
  * Where did it originate
  * Where is it now
  * Which laws and regs apply
* Azure
  * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FxHEGhERVI7CLUT1v8NLg%2Fimage.png?alt=media\&token=32cd51be-6aa3-4ca7-8dca-c578fdd52442)
  * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FziWGc6kslcVnBBDwEGnp%2Fimage.png?alt=media\&token=1100bd87-34af-441f-97ab-15fbf4d1fcf4)
  * ![](https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FjUuIhdtd6zUChlfgP02s%2Fimage.png?alt=media\&token=8a4e7289-cf99-4a2f-8f6f-4aaf0867dfaf)



</details>

<details>

<summary>Data Destruction</summary>

* Failed/decom. storage devices
* Storage devices end of life policies

Physical level

* Hard disc shedding device

Software level

* Disk wiping tools
  * Disk Scrubber
* Multiple overwrites of randomized data
* Degausing for HD
* Cryptographic erasure
  * destroy decryption key
* SED
  * Self-encrypting drive
*



</details>

<figure><img src="https://2343629885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtRrk9VAktaigFmSOtT8J%2Fuploads%2FIQ3plmrV720nWnwdyKFz%2Fimage.png?alt=media&#x26;token=571a727e-8704-4218-a4f6-8a30ffbac2d2" alt=""><figcaption></figcaption></figure>

<details>

<summary>Personnel Risk and Policies</summary>



</details>
