1Risk Appetite
Willingness to tolerate risk within environment
2Regulatory requirements (vulnerability scans)
- minimum frequency of scans
- Corporate policies
3Technical constraints
Limit frequency of scanning
4Business constraints
Limit org from conducting resource intensive vulnerability scans during high business hours
5Licensing limitations
Bandwidth consumed by scanner or number of scans
6Network scan supplement
- Give Admin credentials to scanner to target server turns into config info
- Server config plus remote scan equals a better vulnerability scan
7CCE
- Common config enumeration
- discuss system config issues
8CVE
- Common Vulnerabilities and exposures
- standard sec related software flaws
9CVSS
- Common Vulnerability Scoring System
- severity of security software flaws
10Static application testing
- Analyzes code w/o executing
- provides vulnerabilities
- remediation suggestions
11Dynamic app testing
Executes code as test, to get insight on interfaces the code exposes to user
12Interactive app testing
- Static and dynamic
- Analyze source code while testers interact w/ apps through interfaces
13Web app vulnerability scanners
Tools to examine security of web apps
14AV
Attack vector metric
How an attacker would exploit vulnerability
15Physical(P) AV metric
The attacker must physically touch device
Score: 0.20
16Local(L) AV value
Attacker must have physical or logical access to system
Score: 0.55
17Adjacent(A) AV value
Attacker needs access to local network that system is connected to
Score: 0.62
18Network(N) AV value
Attacker can exploit remotely over network
Score: 0.85
19AC
Attack complexity metric
Diccifuclt of exploiting vulnerability
20High(H) AC metric
Exploiting requires “specialized” conditions that could be difficult to find
Score 0.44
21Low(L) AC metric
Exploiting vulnerability needs no special cxonditions
Score: 0.77
22PR Metric
Privileges require metric
Describes type of account access attacker needs to exploit
23High(H) PR value
Attacker needs admin privileges to conduct attack
Score: 0.270(0.50 if scope changed)
24Low(L) PR value
Attacker needs basic user privileges to conduct attack
Score: 0.62 (or 0.68 if scope changed)
25None(N) PR value
No privileges needed to exploit
Score: 0.85
26UI Metric
User interaction metric
Whether attacker needs to involve another human
27None(N) UI value
Does not require action by user
Score: 0.85
28Required(R) UI value
Exploitation requires access by user
Score: 0.62
29C Metric
Confidentiality metric
Type of info disclosure to occur if attacker succeeds
30None(N) C value
No confidentiality impact
Score: 0
31Low(L) C value
Access to info possible, attacker does not have control over info compromised
Score: 0.22
32High(H) C value
All info compromised
Score: 0.56
33I Metric
Integrity metric
Type of info alteration to occur if successful
34None(N) I value
No integrity impact
Score: 0
35Low(L) I value
Modification of info possible, no control over info
Score: 0.22
36High(H) I value
Integrity of system totally compromised, attacker can change info at will
Score: 0.56
37A Metric
Availability metric
Type of disruption
38None(N) A value
No impact
Score: 0
39Low(L) A metric
Performance degraded
Score: 0.22
40High(H) A metric
System is completely shut down
Score: 0.56
41S Metric
Scope metric
Whether vulnerability can affect system components beyond scope of vulnerability
42Unchanged(U) S metric
Exploited vulnerability can oonly affect resources managed by same security authority
43Changed(C) S metric
Exploited vulnerability affects resources outside of security authority scope
44CVSS Score 0.0
Rating: None
46CVSS 4.0-6.9
Medium rating
47CVSS 7.0-8.9
High rating
48CVSS 9.0-10.0
Critical rating
49Physical penetration testing
Identify and exploit vulnerabilities in orgs physical security controls
50Offensive penetration testing
Sec professional act as attackers to simulate and test incident response
Defensive penetration testing
Evaluate orgs ability to defend against attacks
Assess effectiveness
51Integrated penetration testing
Offensive and defensive
Comprehensive assessment
52Passive Recon (penetration test)
Gather info without engaging with target
53Active Recon (penetration test)
Engage with target in intelligence gathering
Port scanning, footprinting, vulnerability scanning
54OSINT
Open source intelligence
55SCAP
Security content automation protocol
56The stages of vulnerability life cycle
Identification, analysis, response and remediation, validation of remediation, and reporting
57Vulnerability identification
Scans, penetration tests, responsible disclosure, bug bounty, and audit results.
58Software development phases
Describes steps of model for software development.
Planning, requirements, design, coding, testing, training and trantion, ongoin ops and maintenance, end of life decommissioning
59OWASP
Open worldwide application security project
Developers standards, guides, best practices, open source tools
60API
Application programming interfaces
61Static code analysis
Reviewing source code of app, gives full visibility to users
62Dynamic code analysis
Execution of code, provide it with input to test software
Usually automated due to volume
63SQL injection attack
Malicious code is inserted into strings of code that are later passed to a SQL database server
64Blind SQL attack
Attacker sends input to web app to test if app interprets inject code before attempting attack
65LDAP
Lightweight directory acces protocol
66Privilege escalation
Focuses on exploiting flaws to gain elevated permission or access
67XSS Attack
Cross-site scripting
Attacker embeds scripting commands on website to be executed by visitor.
Intent: trick user visiting site to execute malicious code
68Input validation
Valuable for apps that allow user input, data requires validation
Ex: allow lists
Prevents XSS and SQL injection attacks
69Sandboxes
Isolation tools to contain attackers within benign environment that they though they were attacking
70Buffer overflow vulnerabilities
Use more space than allocated to allow attacker to perform memory injection
71Use cases of Automation and scripting
User and resource provisioning
Guard rails
Security groups
Ticket creation
Escalation
enabling/disabling services and access
Continuous integration and testing
Integrations and APIs
72Benefits of Automation and scripting
Achieving efficiency and time saving
Enforcing security baselines
Standardizing infrastructure configs
Scaling in secure manner:
Retaining employees
Reducing reaction time
Serving as workforce multiplier
73Automation considerations
Complexity
Cost
Single point failure
Technical debt: outdated or inefficient
Ongoing supportability: maintain and update scripts
74Steganography
Practice of using cryptographic techniques to embed or conceal secret messages withing another file
Can be used to hide images, videos, text, audio
75Symmetric cryptosystems
Use shared key available to all users of system
76Asymmetric cryptosystems
Use individual combinations of public and private keys for each user
77FDE
Full Disk encryption
All data on hard drive automatically encrypted
78Partition encryption
Targets specific partition of drive
Allows for more flexibility when dealing with dual-boot systems
File-level encryption
Encrypt individual files
Easier to setup and manage but not as secure as FDE or partition
79Volume encryption
Encrypt set volume on drive, like several folders and files
80Database encryption
Protect data at database level from access by unauthorized individuals.
Transparent database encryption (TDE): Encrypts entire database
Column-level encryption (CLE): specific columns in tables encrypted
Record level: individual records in database encrypted
81Symmetric key algorithms
Aka secret key cryptography, private key cryptography
Shared secret key
Sender uses secret to encrypt, receiver uses secret to decrypt
Pro: generated faster
Con: lack of nonrepudiation, key needs to be regenerated often
82Asymmetric Key algorithm
Aka public key algorithm
Public key encrypts message, private key decrypts message
e.g. Sender cannot decrypt a message once encrypted by receiver’s public key, only the receiver can decrypt since they are the only one who has access to their private key.
New users added require generation of only one new public-private pair.
Weakness: slow speed of operation
83Key exchange
Secure distribution of secret keys needed to operate algorithms
Offline
Public key encryption: setup with public key, switch to private key session
Diffie-Hellman; choose integer, plug into same equation given same conditions
84Hash function
One way cryptographic function that take input and generates unique and repeatable output.
No two inputs should generate the same output, and hash should not be reversible.
85Downgrade attack
used against secure comms, attempt to get user/system to shift to less secure cryptographic methods
86Birthday attack
using probability and logic to find two inputs that created the same hash output (collision)
87Hashing
Take long message and generate unique output, w/ value derived from original content (message digest)
88Salting
Add randomly generated value to each password before hashing
89Key stretching
Create Encryption keys from passwords made stronger
90Block Ciphers
Apply encryption algorithm to entire message block
91Stream ciphers
Operate on one character or bit of message at time.
92DES
Data encryption standard
93AES
Advanced encryption standard
94Hash based message authentication code (HMAC)
Implements partial digital signatures
Guarantees integrity of message during transmission
95X.509 Certificate standard
Version, serial, algorithm identifier, issuer, validity period, common name, alternative name, public key
96Registration authorities(RAs) (certificates)
Assist CAs with burden of verifying users identities before issuing certs. Allow CAs to remotely validate users.
97Certificate Revocation List
Contain serial numbers of certs that has been issued by CAS and revoked
Must be downloaded and cross-referenced periodically
98Online Certificate Status Protocol(OCSP)
Provides means for real-time certificate verification
Request sent to server, server checks, updates browser with status
99Certificate stapling
Server staples timestamped response from OCSP to digital certificate
Saves time for user during next visit
100Distinguished Encoding Rules (DER)
Digital cert format
101Privacy enhanced mail (PEM)
ASCII format of DER