[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73E7E3TQTN12T8RC9QR3AFY":3,"skill-same:01M73E7E3TQTN12T8RC9QR3AFY":109},{"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":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M73E7E3TQTN12T8RC9QR3AFY","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.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: performing-adversary-in-the-middle-phishing-detection\ndescription: Detect and respond to Adversary-in-the-Middle (AiTM) phishing attacks\n  that use reverse proxy kits like EvilProxy, Evilginx, and Tycoon 2FA to bypass MFA\n  and steal session tokens.\ndomain: cybersecurity\nsubdomain: phishing-defense\ntags:\n- aitm\n- evilproxy\n- evilginx\n- phishing\n- mfa-bypass\n- session-hijacking\n- reverse-proxy\n- credential-theft\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AT-01\n- DE.CM-09\n- RS.CO-02\n- DE.AE-02\nmitre_attack:\n- T1566\n- T1598\n- T1534\n- T1036\n- T1003\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\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,"source":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":7,"mitre_attack":44,"source_commit":50},[26,27,28,29,30,31,32,33],"aitm","evilproxy","evilginx","phishing","mfa-bypass","session-hijacking","reverse-proxy","credential-theft","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0",[39,40,41,42],"PR.AT-01","DE.CM-09","RS.CO-02","DE.AE-02","phishing-defense",[45,46,47,48,49],"T1566","T1598","T1534","T1036","T1003","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill performing-adversary-in-the-middle-phishing-detection",{"tool":67,"command":68},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill performing-adversary-in-the-middle-phishing-detection",{"tool":70,"command":71},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill performing-adversary-in-the-middle-phishing-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002FSKILL.md",true,[75,81,85,91,95,99,105],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"assets\u002Ftemplate.md","ASSET","资产文件",1375,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fassets\u002Ftemplate.md",{"path":82,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fapi-reference.md","REFERENCE","参考文档",2815,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fapi-reference.md",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fstandards.md",1446,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fstandards.md",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fworkflows.md",1994,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Freferences\u002Fworkflows.md",{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fagent.py","SCRIPT","脚本",7073,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fscripts\u002Fagent.py",{"path":106,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fprocess.py",11016,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fperforming-adversary-in-the-middle-phishing-detection\u002Fscripts\u002Fprocess.py",[110,118,125,133,141,149],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\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":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\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":15,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\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":15,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":145,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":150,"name":151,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]