This blog is here to help those preparing for CompTIA exams. This is designed to help the exam candidate to understand the concepts, rather than trust a brain dump. CHECK OUT THE BLOG INDEXES!!!
CompTIA Security+ Exam Notes
Wednesday, October 11, 2023
Saturday, August 5, 2023
Thursday, August 3, 2023
Sunday, July 30, 2023
Saturday, May 20, 2023
Email-based attacks
EMAIL ATTACKS
Phishing
• Email based
• Prevented by DMARC
Spear phishing
• Email based
• Multiple people in the same department/company
• Prevented by DMARC
Whaling
• Email based
• C-Level (CEO, CFO, etc) Board of Directors
• Specific to the person it targets
Tuesday, May 16, 2023
Wednesday, May 10, 2023
SQL Injection Attack
SQLi
SQLi (SQL
Injection)
·
Server-side attack
·
A query formatted: ‘ or ‘1’=’1’ -- is a SQL injection attack.
·
SELECT * FROM
·
Prevented
by
o Input
validation
o Removing
semi-colons, dashes, quotations, & commas
o Stored
procedures
Saturday, April 22, 2023
XSS (Cross-Site Scripting) Attack
XSS (Cross-Site Scripting)
XSS (Cross-Site
Scripting)
- Client-side attack
- JavaScript
- HTML iFrame
- URL ends in .js
- Percent encoding %C (<) & %3E (>)
Labels:
.js,
%3C,
%3E,
Cross-site scripting,
Javascript,
XSS
HSTS (HTTP Strict Transport Security)
HSTS
HSTS (HTTP Strict
Transport Security)
·
Configured on the server
·
Only allows the session to be HTTPS
·
Mitigates SSL stripping, downgrade attacks
·
Also called HTTP security header
Subscribe to:
Posts (Atom)