[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73CMB8JAFF10DPVYXD3GHE7":3,"skill-same:01M73CMB8JAFF10DPVYXD3GHE7":108},{"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":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M73CMB8JAFF10DPVYXD3GHE7","implementing-dmarc-dkim-spf-email-security",null,"SPF, DKIM, and DMARC form the three pillars of email authentication. Together they prevent domain spoofing, validate message integrity, and define policies for handling unauthenticated mail. Proper im","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\u002Fimplementing-dmarc-dkim-spf-email-security\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: implementing-dmarc-dkim-spf-email-security\ndescription: SPF, DKIM, and DMARC form the three pillars of email authentication.\n  Together they prevent domain spoofing, validate message integrity, and define policies\n  for handling unauthenticated mail. Proper im\ndomain: cybersecurity\nsubdomain: phishing-defense\ntags:\n- phishing\n- email-security\n- social-engineering\n- dmarc\n- awareness\n- dkim\n- spf\n- dns\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\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\n---\n# Implementing DMARC, DKIM, and SPF Email Security\n\n## Overview\nSPF, DKIM, and DMARC form the three pillars of email authentication. Together they prevent domain spoofing, validate message integrity, and define policies for handling unauthenticated mail. Proper implementation drastically reduces phishing attacks that impersonate your organization's domain.\n\n\n## When to Use\n\n- When deploying or configuring implementing dmarc dkim spf email security capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n- DNS management access for your domain\n- Access to email server\u002FMTA configuration (Postfix, Exchange, Google Workspace, Microsoft 365)\n- Basic understanding of DNS TXT records\n- Python 3.8+ for validation scripts\n\n## Key Concepts\n\n### SPF (Sender Policy Framework)\nPublishes a DNS TXT record listing authorized IP addresses and mail servers that can send email on behalf of your domain. Receiving servers check the envelope sender's IP against this list.\n\n### DKIM (DomainKeys Identified Mail)\nAdds a cryptographic signature to outgoing emails using a private key. The corresponding public key is published in DNS. Receivers verify the signature to ensure the message was not altered in transit.\n\n### DMARC (Domain-based Message Authentication, Reporting and Conformance)\nBuilds on SPF and DKIM by specifying a policy (none\u002Fquarantine\u002Freject) for messages that fail authentication, and provides a reporting mechanism to monitor spoofing attempts.\n\n## Workflow\n\n### Step 1: Audit Current State\n```bash\n# Check existing SPF record\ndig TXT example.com | grep spf\n\n# Check existing DKIM selector\ndig TXT selector1._domainkey.example.com\n\n# Check existing DMARC record\ndig TXT _dmarc.example.com\n```\n\n### Step 2: Implement SPF\n```\n# DNS TXT record for example.com\nv=spf1 ip4:203.0.113.0\u002F24 include:_spf.google.com include:spf.protection.outlook.com -all\n```\n\nKey SPF mechanisms:\n- `ip4:` \u002F `ip6:` - Authorize specific IP ranges\n- `include:` - Include another domain's SPF record\n- `a` - Authorize domain's A record IPs\n- `mx` - Authorize domain's MX record IPs\n- `-all` - Hard fail all others (recommended)\n- `~all` - Soft fail (monitoring phase)\n\n### Step 3: Implement DKIM\n```bash\n# Generate DKIM key pair (2048-bit RSA)\nopenssl genrsa -out dkim_private.pem 2048\nopenssl rsa -in dkim_private.pem -pubout -out dkim_public.pem\n\n# Format public key for DNS (remove headers, join lines)\ngrep -v \"PUBLIC KEY\" dkim_public.pem | tr -d '\\n'\n```\n\nDNS TXT record at `selector1._domainkey.example.com`:\n```\nv=DKIM1; k=rsa; p=MIIBIjANBgkqhki...\n```\n\n### Step 4: Implement DMARC\n```\n# DNS TXT record at _dmarc.example.com\n# Phase 1 (Monitor):\nv=DMARC1; p=none; rua=mailto:dmarc-aggregate@example.com; ruf=mailto:dmarc-forensic@example.com; pct=100\n\n# Phase 2 (Quarantine):\nv=DMARC1; p=quarantine; rua=mailto:dmarc-aggregate@example.com; pct=25\n\n# Phase 3 (Reject):\nv=DMARC1; p=reject; rua=mailto:dmarc-aggregate@example.com; pct=100\n```\n\n### Step 5: Monitor and Analyze DMARC Reports\nUse the `scripts\u002Fprocess.py` to parse DMARC aggregate XML reports and identify authentication failures, unauthorized senders, and spoofing attempts.\n\n## Tools & Resources\n- **MXToolbox**: https:\u002F\u002Fmxtoolbox.com\u002FSuperTool.aspx\n- **DMARC Analyzer (dmarcian)**: https:\u002F\u002Fdmarcian.com\u002F\n- **Google Postmaster Tools**: https:\u002F\u002Fpostmaster.google.com\u002F\n- **Valimail DMARC Monitor**: https:\u002F\u002Fwww.valimail.com\u002F\n- **DMARC Report Analyzer**: https:\u002F\u002Fdmarc.postmarkapp.com\u002F\n\n## Validation\n- SPF record passes validation at mxtoolbox.com\n- DKIM signature verified on test emails\n- DMARC record properly formatted and reporting enabled\n- Test emails pass all three checks in recipient's Authentication-Results header\n","# Implementing DMARC, DKIM, and SPF Email Security\n\n## Overview\nSPF, DKIM, and DMARC form the three pillars of email authentication. Together they prevent domain spoofing, validate message integrity, and define policies for handling unauthenticated mail. Proper implementation drastically reduces phishing attacks that impersonate your organization's domain.\n\n\n## When to Use\n\n- When deploying or configuring implementing dmarc dkim spf email security capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n- DNS management access for your domain\n- Access to email server\u002FMTA configuration (Postfix, Exchange, Google Workspace, Microsoft 365)\n- Basic understanding of DNS TXT records\n- Python 3.8+ for validation scripts\n\n## Key Concepts\n\n### SPF (Sender Policy Framework)\nPublishes a DNS TXT record listing authorized IP addresses and mail servers that can send email on behalf of your domain. Receiving servers check the envelope sender's IP against this list.\n\n### DKIM (DomainKeys Identified Mail)\nAdds a cryptographic signature to outgoing emails using a private key. The corresponding public key is published in DNS. Receivers verify the signature to ensure the message was not altered in transit.\n\n### DMARC (Domain-based Message Authentication, Reporting and Conformance)\nBuilds on SPF and DKIM by specifying a policy (none\u002Fquarantine\u002Freject) for messages that fail authentication, and provides a reporting mechanism to monitor spoofing attempts.\n\n## Workflow\n\n### Step 1: Audit Current State\n```bash\n# Check existing SPF record\ndig TXT example.com | grep spf\n\n# Check existing DKIM selector\ndig TXT selector1._domainkey.example.com\n\n# Check existing DMARC record\ndig TXT _dmarc.example.com\n```\n\n### Step 2: Implement SPF\n```\n# DNS TXT record for example.com\nv=spf1 ip4:203.0.113.0\u002F24 include:_spf.google.com include:spf.protection.outlook.com -all\n```\n\nKey SPF mechanisms:\n- `ip4:` \u002F `ip6:` - Authorize specific IP ranges\n- `include:` - Include another domain's SPF record\n- `a` - Authorize domain's A record IPs\n- `mx` - Authorize domain's MX record IPs\n- `-all` - Hard fail all others (recommended)\n- `~all` - Soft fail (monitoring phase)\n\n### Step 3: Implement DKIM\n```bash\n# Generate DKIM key pair (2048-bit RSA)\nopenssl genrsa -out dkim_private.pem 2048\nopenssl rsa -in dkim_private.pem -pubout -out dkim_public.pem\n\n# Format public key for DNS (remove headers, join lines)\ngrep -v \"PUBLIC KEY\" dkim_public.pem | tr -d '\\n'\n```\n\nDNS TXT record at `selector1._domainkey.example.com`:\n```\nv=DKIM1; k=rsa; p=MIIBIjANBgkqhki...\n```\n\n### Step 4: Implement DMARC\n```\n# DNS TXT record at _dmarc.example.com\n# Phase 1 (Monitor):\nv=DMARC1; p=none; rua=mailto:dmarc-aggregate@example.com; ruf=mailto:dmarc-forensic@example.com; pct=100\n\n# Phase 2 (Quarantine):\nv=DMARC1; p=quarantine; rua=mailto:dmarc-aggregate@example.com; pct=25\n\n# Phase 3 (Reject):\nv=DMARC1; p=reject; rua=mailto:dmarc-aggregate@example.com; pct=100\n```\n\n### Step 5: Monitor and Analyze DMARC Reports\nUse the `scripts\u002Fprocess.py` to parse DMARC aggregate XML reports and identify authentication failures, unauthorized senders, and spoofing attempts.\n\n## Tools & Resources\n- **MXToolbox**: https:\u002F\u002Fmxtoolbox.com\u002FSuperTool.aspx\n- **DMARC Analyzer (dmarcian)**: https:\u002F\u002Fdmarcian.com\u002F\n- **Google Postmaster Tools**: https:\u002F\u002Fpostmaster.google.com\u002F\n- **Valimail DMARC Monitor**: https:\u002F\u002Fwww.valimail.com\u002F\n- **DMARC Report Analyzer**: https:\u002F\u002Fdmarc.postmarkapp.com\u002F\n\n## Validation\n- SPF record passes validation at mxtoolbox.com\n- DKIM signature verified on test emails\n- DMARC record properly formatted and reporting enabled\n- Test emails pass all three checks in recipient's Authentication-Results header\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":49},[26,27,28,29,30,31,32,33],"phishing","email-security","social-engineering","dmarc","awareness","dkim","spf","dns","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],"T1566","T1598","T1534","T1036","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security",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":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill implementing-dmarc-dkim-spf-email-security",{"tool":66,"command":67},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill implementing-dmarc-dkim-spf-email-security",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill implementing-dmarc-dkim-spf-email-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002FSKILL.md",true,[74,80,84,90,94,98,104],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Ftemplate.md","ASSET","资产文件",2595,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fassets\u002Ftemplate.md",{"path":81,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fapi-reference.md","REFERENCE","参考文档",1412,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fapi-reference.md",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fstandards.md",2930,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fstandards.md",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fworkflows.md",3205,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fworkflows.md",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fagent.py","SCRIPT","脚本",5572,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fscripts\u002Fagent.py",{"path":105,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fprocess.py",20891,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fscripts\u002Fprocess.py",[109,117,124,132,140,148],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"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":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"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":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"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":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"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":149,"name":150,"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":151,"categories":152,"keywords":153,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]