| name | performing-clickjacking-attack-test |
| description | Testing web applications for clickjacking vulnerabilities by assessing frame embedding controls and crafting proof-of-concept overlay attacks during authorized security assessments. Use when working with performing clickjacking attack test. |
| domain | cybersecurity |
| tags | ["penetration-testing","clickjacking","ui-redressing","web-security","owasp","x-frame-options"] |
| subdomain | web-application-security |
| version | 1.0 |
| author | oyi77 |
| license | Apache-2.0 |
| atlas_techniques | ["AML.T0024","AML.T0035"] |
| nist_ai_rmf | ["MEASURE-2.8","MAP-5.1"] |
| nist_csf | ["PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01"] |
Performing Clickjacking Attack Test
Overview
Cybersecurity skill for performing clickjacking attack test. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"performing clickjacking attack test"
-
"Testing web applications for clickjacking vulnerabilities by assessing frame emb"
-
During authorized penetration tests when assessing UI redressing vulnerabilities
-
When testing whether sensitive actions (delete account, transfer funds, change settings) can be performed via clickjacking
-
For evaluating the effectiveness of X-Frame-Options and Content-Security-Policy frame-ancestors directives
-
When assessing applications that process one-click actions without additional confirmation
-
During security audits of applications handling financial transactions or account management
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Authorization: Written penetration testing agreement for the target
- Web browser: Modern browser for testing iframe embedding
- Local web server: Python
http.server or similar for hosting PoC pages
- Burp Suite: For examining response headers
- HTML/CSS knowledge: For crafting clickjacking overlay pages
- curl: For checking framing headers on target pages
Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.
Workflow
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
: ,
}
() -> :
{k: re.findall(v, text) k, v IOC_PATTERNS.items()}