[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HDH8B7WWPYDPNC6DVMJN45":3,"skill-same:01M6HDH8B7WWPYDPNC6DVMJN45":121},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":6,"ownerHtmlUrl":69,"ownerBlogUrl":6,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M6HDH8B7WWPYDPNC6DVMJN45","configuring-hsm-for-key-storage",null,"Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"storage","for","configuring hsm for key storage","hsm","environment","cybersecurity","keys","physical","map","manage","modules","never","operations","aml","devices","t1078","pr","hardware-security","pkcs11","key-management","2026-11-10 10:12:30",false,"---\nname: configuring-hsm-for-key-storage\ndescription: Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea\ndomain: cybersecurity\nsubdomain: cryptography\ntags:\n- cryptography\n- hsm\n- key-management\n- pkcs11\n- hardware-security\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.DS-01\n- PR.DS-02\n- PR.DS-10\nmitre_attack:\n- T1552.004\n- T1555\n- T1078\ncategory: configuring-hsm-for-key-storage\n---\n# Configuring HSM for Key Storage\n\n## Overview\n\nHardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never leave the device boundary, providing the highest level of key protection. This skill covers configuring HSMs using the PKCS#11 standard interface, including key generation, signing, encryption, and key management using both physical HSMs and SoftHSM2 for development.\n\n\n## When to Use\n\n- When deploying or configuring configuring hsm for key storage 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\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Configure SoftHSM2 as a development PKCS#11 provider\n- Generate and manage keys inside the HSM via PKCS#11\n- Perform cryptographic operations (sign, verify, encrypt, decrypt) using HSM-resident keys\n- Implement HSM-backed certificate authority operations\n- Configure key access policies and user authentication\n- Interface with cloud HSM services (AWS CloudHSM, Azure)\n\n## Key Concepts\n\n### HSM Compliance Levels\n\n| FIPS Level | Protection | Use Case |\n|-----------|-----------|----------|\n| FIPS 140-2 Level 1 | Software only | Development |\n| FIPS 140-2 Level 2 | Tamper-evident, role-based auth | General production |\n| FIPS 140-2 Level 3 | Tamper-resistant, identity-based auth | Financial, government |\n| FIPS 140-2 Level 4 | Physical tamper response | Military, classified |\n\n### PKCS#11 Architecture\n\n```\nApplication --> PKCS#11 API --> HSM Provider --> Hardware HSM\n                                    |\n                              (SoftHSM2 for dev)\n```\n\n### Key Objects in PKCS#11\n\n| Object Type | Description | Operations |\n|-------------|-------------|-----------|\n| CKO_SECRET_KEY | Symmetric keys (AES) | Encrypt, Decrypt, Wrap |\n| CKO_PUBLIC_KEY | Public keys (RSA, EC) | Verify, Encrypt, Wrap |\n| CKO_PRIVATE_KEY | Private keys (RSA, EC) | Sign, Decrypt, Unwrap |\n| CKO_CERTIFICATE | X.509 certificates | Storage, retrieval |\n\n## Security Considerations\n\n- Never export private keys from HSM (use CKA_EXTRACTABLE=False)\n- Use separate slots\u002Fpartitions for different applications\n- Implement multi-person key ceremony for CA root keys\n- Enable audit logging for all HSM operations\n- Implement HSM backup and disaster recovery\n- Use strong PINs and enable SO (Security Officer) PIN\n\n## Validation Criteria\n\n- [ ] SoftHSM2 initializes with token and user PIN\n- [ ] AES key generates inside HSM\n- [ ] RSA key pair generates inside HSM\n- [ ] Encryption\u002Fdecryption uses HSM-resident keys\n- [ ] Signing\u002Fverification uses HSM-resident keys\n- [ ] Keys cannot be exported (non-extractable)\n- [ ] Key listing shows all HSM-stored objects\n","# Configuring HSM for Key Storage\n\n## Overview\n\nHardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never leave the device boundary, providing the highest level of key protection. This skill covers configuring HSMs using the PKCS#11 standard interface, including key generation, signing, encryption, and key management using both physical HSMs and SoftHSM2 for development.\n\n\n## When to Use\n\n- When deploying or configuring configuring hsm for key storage 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\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Configure SoftHSM2 as a development PKCS#11 provider\n- Generate and manage keys inside the HSM via PKCS#11\n- Perform cryptographic operations (sign, verify, encrypt, decrypt) using HSM-resident keys\n- Implement HSM-backed certificate authority operations\n- Configure key access policies and user authentication\n- Interface with cloud HSM services (AWS CloudHSM, Azure)\n\n## Key Concepts\n\n### HSM Compliance Levels\n\n| FIPS Level | Protection | Use Case |\n|-----------|-----------|----------|\n| FIPS 140-2 Level 1 | Software only | Development |\n| FIPS 140-2 Level 2 | Tamper-evident, role-based auth | General production |\n| FIPS 140-2 Level 3 | Tamper-resistant, identity-based auth | Financial, government |\n| FIPS 140-2 Level 4 | Physical tamper response | Military, classified |\n\n### PKCS#11 Architecture\n\n```\nApplication --> PKCS#11 API --> HSM Provider --> Hardware HSM\n                                    |\n                              (SoftHSM2 for dev)\n```\n\n### Key Objects in PKCS#11\n\n| Object Type | Description | Operations |\n|-------------|-------------|-----------|\n| CKO_SECRET_KEY | Symmetric keys (AES) | Encrypt, Decrypt, Wrap |\n| CKO_PUBLIC_KEY | Public keys (RSA, EC) | Verify, Encrypt, Wrap |\n| CKO_PRIVATE_KEY | Private keys (RSA, EC) | Sign, Decrypt, Unwrap |\n| CKO_CERTIFICATE | X.509 certificates | Storage, retrieval |\n\n## Security Considerations\n\n- Never export private keys from HSM (use CKA_EXTRACTABLE=False)\n- Use separate slots\u002Fpartitions for different applications\n- Implement multi-person key ceremony for CA root keys\n- Enable audit logging for all HSM operations\n- Implement HSM backup and disaster recovery\n- Use strong PINs and enable SO (Security Officer) PIN\n\n## Validation Criteria\n\n- [ ] SoftHSM2 initializes with token and user PIN\n- [ ] AES key generates inside HSM\n- [ ] RSA key pair generates inside HSM\n- [ ] Encryption\u002Fdecryption uses HSM-resident keys\n- [ ] Signing\u002Fverification uses HSM-resident keys\n- [ ] Keys cannot be exported (non-extractable)\n- [ ] Key listing shows all HSM-stored objects\n",{"name":5,"tags":44,"author":46,"domain":24,"license":15,"version":47,"category":5,"nist_csf":48,"subdomain":45,"description":7,"nist_ai_rmf":52,"mitre_attack":56,"atlas_techniques":60},[45,22,38,37,36],"cryptography","mahipal","1.0",[49,50,51],"PR.DS-01","PR.DS-02","PR.DS-10",[53,54,55],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[57,58,59],"T1552.004","T1555","T1078",[61,62,63],"AML.T0070","AML.T0066","AML.T0082","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fconfiguring-hsm-for-key-storage",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill configuring-hsm-for-key-storage",{"tool":78,"command":79},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill configuring-hsm-for-key-storage",{"tool":81,"command":82},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill configuring-hsm-for-key-storage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002FSKILL.md",true,[86,92,97,103,107,111,117],{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"assets\u002Ftemplate.md","ASSET","资产文件",1254,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Fassets\u002Ftemplate.md",{"path":93,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002FLICENSE",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fapi-reference.md","REFERENCE","参考文档",1807,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fapi-reference.md",{"path":104,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fstandards.md",1611,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fstandards.md",{"path":108,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fworkflows.md",1586,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fworkflows.md",{"path":112,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fagent.py","SCRIPT","脚本",4940,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Fscripts\u002Fagent.py",{"path":118,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fprocess.py",13002,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fconfiguring-hsm-for-key-storage\u002Fscripts\u002Fprocess.py",[122,151,177,200,216,237],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":133,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[128],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[134,135,136,137,20,138,24,139,140,141,142,143,144,34,145,146,147,148,149,150],"integrity","backup","recovery","validating backup integrity for recovery","testing","validate","verification","hash-verification","incident-response","ransomware","detection","t1490","disaster-recovery","restore","incident","disaster recovery","ransomware response",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[158,159,160,161,162,24,163,164,165,166,167,168,169,170,171,172,173,174,175,176],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[184,185,148,24,186,187,188,34,145,189,190,191,192,193,194,195,196,197,198,199],"security","triaging security incident","actions","soc","NIST","analysis","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[184,207,208,185,148,162,24,209,187,142,210,211,34,145,212,190,172,213,214,215],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":222,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[184,223,224,225,226,227,24,228,229,230,187,231,34,232,233,234,193,235,148,236],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review","cm","de",{"skillNo":238,"name":239,"nameZh":6,"description":240,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":241,"categories":242,"keywords":243,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[244,245,246,247,24,248,249,250,251,252,253,232,254,255,235,256,236,257,258,259],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]