[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78TD2EY7KXGV9JDYP4DWFFK":3,"skill-same:01M78TD2EY7KXGV9JDYP4DWFFK":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M78TD2EY7KXGV9JDYP4DWFFK","performing-adversary-in-the-middle-phishing-detection",null,"Detect and respond to Adversary-in-the-Middle (AiTM) phishing attacks that use reverse proxy kits like EvilProxy, Evilginx, and Tycoon 2FA to bypass MFA and steal session tokens.","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-adversary-in-the-middle-phishing-detection\ndescription: Detect and respond to Adversary-in-the-Middle (AiTM) phishing attacks that use reverse proxy kits like EvilProxy, Evilginx, and Tycoon 2FA to bypass MFA and steal session tokens.\ndomain: cybersecurity\nsubdomain: phishing-defense\ntags: [aitm, evilproxy, evilginx, phishing, mfa-bypass, session-hijacking, reverse-proxy, credential-theft]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Performing Adversary-in-the-Middle Phishing Detection\n\n## Overview\nAdversary-in-the-Middle (AiTM) phishing attacks use reverse-proxy infrastructure to sit between the victim and the legitimate authentication service, intercepting both credentials and session cookies in real time. This allows attackers to bypass multi-factor authentication (MFA). The most prevalent PhaaS kits in 2025 include Tycoon 2FA, Sneaky 2FA, EvilProxy, and Evilginx. Over 1 million PhaaS attacks were detected in January-February 2025 alone. These attacks have evolved from QR codes to HTML attachments and SVG files for link distribution.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing adversary in the middle phishing detection\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n- Azure AD \u002F Entra ID Conditional Access policies\n- SIEM with authentication log ingestion (Azure AD sign-in logs)\n- Web proxy with SSL inspection and URL categorization\n- Endpoint Detection and Response (EDR) solution\n- FIDO2\u002Fphishing-resistant MFA capability\n\n## Key Concepts\n\n### How AiTM Works\n1. Victim receives phishing email with link to attacker-controlled domain\n2. Attacker domain runs reverse proxy that mirrors legitimate login page\n3. Victim enters credentials on proxied page; credentials captured in transit\n4. Reverse proxy forwards credentials to real authentication service\n5. MFA challenge sent to victim; victim completes MFA on proxied page\n6. Attacker captures session cookie returned by legitimate service\n7. Attacker replays session cookie to access victim's account without MFA\n\n### Major AiTM Kits (2025)\n| Kit | Type | Primary Targets | Evasion |\n|---|---|---|---|\n| Tycoon 2FA | PhaaS | Microsoft 365, Google | CAPTCHA, Cloudflare turnstile |\n| EvilProxy | PhaaS | Microsoft 365, Google, Okta | Random URLs, IP rotation |\n| Evilginx | Open-source | Any web application | Custom phishlets |\n| Sneaky 2FA | PhaaS | Microsoft 365 | Anti-bot checks |\n| NakedPages | PhaaS | Multiple | Minimal infrastructure |\n\n### Detection Indicators\n- Authentication from unusual IP not matching user profile\n- Session cookie reuse from different IP\u002Fdevice than authentication\n- Login page served from non-Microsoft\u002Fnon-Google infrastructure\n- CDN requests to legitimate auth providers from phishing domains\n- Impossible travel between authentication and session usage\n\n## Workflow\n\n### Step 1: Deploy Phishing-Resistant MFA\n- Implement FIDO2 security keys or Windows Hello for Business for high-value accounts\n- Configure Conditional Access to require phishing-resistant MFA for admins\n- Enable certificate-based authentication where possible\n- Disable SMS and voice MFA for privileged accounts\n- AiTM cannot intercept FIDO2 because authentication is bound to origin domain\n\n### Step 2: Configure Conditional Access Policies\n- Require compliant\u002Fmanaged device for sensitive application access\n- Block authentication from anonymous proxies and Tor exit nodes\n- Enforce token binding to limit session cookie replay\n- Configure continuous access evaluation (CAE) for real-time token revocation\n- Implement sign-in risk policies that require re-authentication for risky sign-ins\n\n### Step 3: Build AiTM Detection Rules\n- Alert on sign-in followed by session from different IP within 10 minutes\n- Detect authentication where proxy IP does not match user's expected location\n- Monitor for impossible travel patterns in session usage\n- Alert on inbox rules created immediately after authentication (common post-compromise)\n- Detect new MFA method registration from suspicious sign-in\n\n### Step 4: Monitor Web Proxy for AiTM Infrastructure\n- Log and analyze DNS queries to newly registered domains\n- Detect connections to known PhaaS infrastructure IPs\n- Alert on authentication page backgrounds loaded from legitimate CDNs through proxy domains\n- Monitor for SSL certificates issued to domains mimicking corporate login pages\n- Block access to known EvilProxy\u002FEvilginx infrastructure via threat intelligence\n\n### Step 5: Implement Post-Compromise Detection\n- Alert on mailbox forwarding rules created after suspicious authentication\n- Detect OAuth app consent after AiTM sign-in\n- Monitor for email sending patterns indicating BEC follow-up\n- Alert on SharePoint\u002FOneDrive mass download after session hijack\n- Track lateral movement from compromised account\n\n## Tools & Resources\n- **Microsoft Entra ID Protection**: Risk-based Conditional Access\n- **Azure AD Sign-in Logs**: Authentication event analysis\n- **Okta ThreatInsight**: AiTM proxy detection at IdP level\n- **Sekoia TDR**: AiTM campaign tracking and intelligence\n- **Evilginx (defensive)**: Understanding attack mechanics for detection\n\n## Validation\n- Phishing-resistant MFA blocks AiTM session capture in test scenario\n- Conditional Access denies session replay from different device\u002FIP\n- SIEM alerts fire on simulated AiTM sign-in patterns\n- Web proxy blocks connections to known PhaaS infrastructure\n- Post-compromise rules detect inbox rule creation after suspicious auth\n","# Performing Adversary-in-the-Middle Phishing Detection\n\n## Overview\nAdversary-in-the-Middle (AiTM) phishing attacks use reverse-proxy infrastructure to sit between the victim and the legitimate authentication service, intercepting both credentials and session cookies in real time. This allows attackers to bypass multi-factor authentication (MFA). The most prevalent PhaaS kits in 2025 include Tycoon 2FA, Sneaky 2FA, EvilProxy, and Evilginx. Over 1 million PhaaS attacks were detected in January-February 2025 alone. These attacks have evolved from QR codes to HTML attachments and SVG files for link distribution.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing adversary in the middle phishing detection\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n- Azure AD \u002F Entra ID Conditional Access policies\n- SIEM with authentication log ingestion (Azure AD sign-in logs)\n- Web proxy with SSL inspection and URL categorization\n- Endpoint Detection and Response (EDR) solution\n- FIDO2\u002Fphishing-resistant MFA capability\n\n## Key Concepts\n\n### How AiTM Works\n1. Victim receives phishing email with link to attacker-controlled domain\n2. Attacker domain runs reverse proxy that mirrors legitimate login page\n3. Victim enters credentials on proxied page; credentials captured in transit\n4. Reverse proxy forwards credentials to real authentication service\n5. MFA challenge sent to victim; victim completes MFA on proxied page\n6. Attacker captures session cookie returned by legitimate service\n7. Attacker replays session cookie to access victim's account without MFA\n\n### Major AiTM Kits (2025)\n| Kit | Type | Primary Targets | Evasion |\n|---|---|---|---|\n| Tycoon 2FA | PhaaS | Microsoft 365, Google | CAPTCHA, Cloudflare turnstile |\n| EvilProxy | PhaaS | Microsoft 365, Google, Okta | Random URLs, IP rotation |\n| Evilginx | Open-source | Any web application | Custom phishlets |\n| Sneaky 2FA | PhaaS | Microsoft 365 | Anti-bot checks |\n| NakedPages | PhaaS | Multiple | Minimal infrastructure |\n\n### Detection Indicators\n- Authentication from unusual IP not matching user profile\n- Session cookie reuse from different IP\u002Fdevice than authentication\n- Login page served from non-Microsoft\u002Fnon-Google infrastructure\n- CDN requests to legitimate auth providers from phishing domains\n- Impossible travel between authentication and session usage\n\n## Workflow\n\n### Step 1: Deploy Phishing-Resistant MFA\n- Implement FIDO2 security keys or Windows Hello for Business for high-value accounts\n- Configure Conditional Access to require phishing-resistant MFA for admins\n- Enable certificate-based authentication where possible\n- Disable SMS and voice MFA for privileged accounts\n- AiTM cannot intercept FIDO2 because authentication is bound to origin domain\n\n### Step 2: Configure Conditional Access Policies\n- Require compliant\u002Fmanaged device for sensitive application access\n- Block authentication from anonymous proxies and Tor exit nodes\n- Enforce token binding to limit session cookie replay\n- Configure continuous access evaluation (CAE) for real-time token revocation\n- Implement sign-in risk policies that require re-authentication for risky sign-ins\n\n### Step 3: Build AiTM Detection Rules\n- Alert on sign-in followed by session from different IP within 10 minutes\n- Detect authentication where proxy IP does not match user's expected location\n- Monitor for impossible travel patterns in session usage\n- Alert on inbox rules created immediately after authentication (common post-compromise)\n- Detect new MFA method registration from suspicious sign-in\n\n### Step 4: Monitor Web Proxy for AiTM Infrastructure\n- Log and analyze DNS queries to newly registered domains\n- Detect connections to known PhaaS infrastructure IPs\n- Alert on authentication page backgrounds loaded from legitimate CDNs through proxy domains\n- Monitor for SSL certificates issued to domains mimicking corporate login pages\n- Block access to known EvilProxy\u002FEvilginx infrastructure via threat intelligence\n\n### Step 5: Implement Post-Compromise Detection\n- Alert on mailbox forwarding rules created after suspicious authentication\n- Detect OAuth app consent after AiTM sign-in\n- Monitor for email sending patterns indicating BEC follow-up\n- Alert on SharePoint\u002FOneDrive mass download after session hijack\n- Track lateral movement from compromised account\n\n## Tools & Resources\n- **Microsoft Entra ID Protection**: Risk-based Conditional Access\n- **Azure AD Sign-in Logs**: Authentication event analysis\n- **Okta ThreatInsight**: AiTM proxy detection at IdP level\n- **Sekoia TDR**: AiTM campaign tracking and intelligence\n- **Evilginx (defensive)**: Understanding attack mechanics for detection\n\n## Validation\n- Phishing-resistant MFA blocks AiTM session capture in test scenario\n- Conditional Access denies session replay from different device\u002FIP\n- SIEM alerts fire on simulated AiTM sign-in patterns\n- Web proxy blocks connections to known PhaaS infrastructure\n- Post-compromise rules detect inbox rule creation after suspicious auth\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"subdomain":37,"description":7},[26,27,28,29,30,31,32,33],"aitm","evilproxy","evilginx","phishing","mfa-bypass","session-hijacking","reverse-proxy","credential-theft","mahipal","cybersecurity","1.0","phishing-defense","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fperforming-adversary-in-the-middle-phishing-detection",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill performing-adversary-in-the-middle-phishing-detection",{"tool":53,"command":54},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill performing-adversary-in-the-middle-phishing-detection",{"tool":56,"command":57},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill performing-adversary-in-the-middle-phishing-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FSKILL.md",true,[61,67,71,77,81,85,91],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"assets\u002Ftemplate.md","ASSET","资产文件",1375,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fassets\u002Ftemplate.md",{"path":68,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi-reference.md","REFERENCE","参考文档",2815,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fapi-reference.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fstandards.md",1446,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fstandards.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fworkflows.md",1994,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fworkflows.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fagent.py","SCRIPT","脚本",7073,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fscripts\u002Fagent.py",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fprocess.py",11016,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fscripts\u002Fprocess.py",[96,104,111,118,125,133],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":100,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]