[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECNBXVR8F484JKDPT5A9MB":3,"skill-same:01M7ECNBXVR8F484JKDPT5A9MB":83},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7ECNBXVR8F484JKDPT5A9MB","implementing-memory-protection-with-dep-aslr",null,"Implements memory protection mechanisms including DEP (Data Execution Prevention), ASLR (Address Space Layout Randomization), CFG (Control Flow Guard), and other exploit mitigations to prevent memory corruption attacks. Use when hardening endpoints against buffer overflow exploits, ROP chains, and code injection. Activates for requests involving memory protection, exploit mitigation, DEP, ASLR, or CFG configuration.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-memory-protection-with-dep-aslr\ndescription: 'Implements memory protection mechanisms including DEP (Data Execution\n  Prevention), ASLR (Address Space Layout Randomization), CFG (Control Flow Guard),\n  and other exploit mitigations to prevent memory corruption attacks. Use when hardening\n  endpoints against buffer overflow exploits, ROP chains, and code injection. Activates\n  for requests involving memory protection, exploit mitigation, DEP, ASLR, or CFG\n  configuration.\n\n  '\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- memory-protection\n- DEP\n- ASLR\n- exploit-mitigation\n- CFG\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmitre_attack:\n- T1055\n- T1547\n- T1059\n- T1036\n- T1190\n---\n# Implementing Memory Protection with DEP and ASLR\n\n## When to Use\n\nUse this skill when hardening endpoints against memory-based exploits by configuring DEP, ASLR, CFG, and Windows Exploit Protection system-wide and per-application mitigations.\n\n## Prerequisites\n\n- Windows 10\u002F11 or Windows Server 2016+ with administrative privileges\n- Group Policy management access for enterprise-wide deployment\n- Understanding of memory corruption attack techniques (buffer overflow, ROP chains)\n- Test environment for validating application compatibility with exploit mitigations\n\n## Workflow\n\n### Step 1: Configure System-Level Mitigations\n\n```powershell\n# Enable system-wide DEP (Data Execution Prevention)\n# Boot configuration: OptIn (default), OptOut (recommended), AlwaysOn\nbcdedit \u002Fset nx AlwaysOn\n\n# Verify ASLR status (enabled by default on modern Windows)\nGet-ProcessMitigation -System\n# MandatoryASLR, BottomUpASLR, HighEntropyASLR should be ON\n\n# Enable all system-level mitigations\nSet-ProcessMitigation -System -Enable DEP,SEHOP,ForceRelocateImages,BottomUp,HighEntropy\n```\n\n### Step 2: Configure Per-Application Mitigations\n\n```powershell\n# Harden high-risk applications (browsers, Office, PDF readers)\nSet-ProcessMitigation -Name \"WINWORD.EXE\" -Enable DEP,SEHOP,ForceRelocateImages,CFG,StrictHandle\nSet-ProcessMitigation -Name \"EXCEL.EXE\" -Enable DEP,SEHOP,ForceRelocateImages,CFG,StrictHandle\nSet-ProcessMitigation -Name \"AcroRd32.exe\" -Enable DEP,SEHOP,ForceRelocateImages,CFG\nSet-ProcessMitigation -Name \"chrome.exe\" -Enable DEP,CFG,ForceRelocateImages\nSet-ProcessMitigation -Name \"msedge.exe\" -Enable DEP,CFG,ForceRelocateImages\n\n# Export configuration for deployment\nGet-ProcessMitigation -RegistryConfigFilePath \"C:\\exploit_protection.xml\"\n# Deploy via Intune or GPO\n```\n\n### Step 3: Deploy via Intune\u002FGPO\n\n```\nIntune: Endpoint Security → Attack Surface Reduction → Exploit Protection\n  Import exploit_protection.xml template\n\nGPO: Computer Configuration → Admin Templates → Windows Components\n  → Windows Defender Exploit Guard → Exploit Protection\n  → \"Use a common set of exploit protection settings\" → Enabled\n  → Point to XML file on network share\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **DEP** | Marks memory pages as non-executable to prevent shellcode execution in data regions |\n| **ASLR** | Randomizes memory addresses of loaded modules to defeat hardcoded ROP gadgets |\n| **CFG** | Validates indirect call targets at runtime to prevent control flow hijacking |\n| **SEHOP** | Validates SEH chain integrity to prevent SEH-based exploitation |\n\n## Tools & Systems\n- **Windows Exploit Protection**: Built-in per-process mitigation management\n- **EMET (legacy)**: Enhanced Mitigation Experience Toolkit (predecessor, now deprecated)\n- **ProcessMitigations PowerShell**: Get\u002FSet-ProcessMitigation cmdlets\n\n## Common Pitfalls\n- **DEP compatibility**: Legacy 32-bit applications may crash with DEP AlwaysOn. Use OptOut with exceptions.\n- **Mandatory ASLR breaking apps**: Some applications are not ASLR-compatible. Test before enforcing ForceRelocateImages.\n- **CFG limited to compiled-in support**: CFG only works for applications compiled with \u002Fguard:cf. Cannot be retroactively applied.\n","# Implementing Memory Protection with DEP and ASLR\n\n## When to Use\n\nUse this skill when hardening endpoints against memory-based exploits by configuring DEP, ASLR, CFG, and Windows Exploit Protection system-wide and per-application mitigations.\n\n## Prerequisites\n\n- Windows 10\u002F11 or Windows Server 2016+ with administrative privileges\n- Group Policy management access for enterprise-wide deployment\n- Understanding of memory corruption attack techniques (buffer overflow, ROP chains)\n- Test environment for validating application compatibility with exploit mitigations\n\n## Workflow\n\n### Step 1: Configure System-Level Mitigations\n\n```powershell\n# Enable system-wide DEP (Data Execution Prevention)\n# Boot configuration: OptIn (default), OptOut (recommended), AlwaysOn\nbcdedit \u002Fset nx AlwaysOn\n\n# Verify ASLR status (enabled by default on modern Windows)\nGet-ProcessMitigation -System\n# MandatoryASLR, BottomUpASLR, HighEntropyASLR should be ON\n\n# Enable all system-level mitigations\nSet-ProcessMitigation -System -Enable DEP,SEHOP,ForceRelocateImages,BottomUp,HighEntropy\n```\n\n### Step 2: Configure Per-Application Mitigations\n\n```powershell\n# Harden high-risk applications (browsers, Office, PDF readers)\nSet-ProcessMitigation -Name \"WINWORD.EXE\" -Enable DEP,SEHOP,ForceRelocateImages,CFG,StrictHandle\nSet-ProcessMitigation -Name \"EXCEL.EXE\" -Enable DEP,SEHOP,ForceRelocateImages,CFG,StrictHandle\nSet-ProcessMitigation -Name \"AcroRd32.exe\" -Enable DEP,SEHOP,ForceRelocateImages,CFG\nSet-ProcessMitigation -Name \"chrome.exe\" -Enable DEP,CFG,ForceRelocateImages\nSet-ProcessMitigation -Name \"msedge.exe\" -Enable DEP,CFG,ForceRelocateImages\n\n# Export configuration for deployment\nGet-ProcessMitigation -RegistryConfigFilePath \"C:\\exploit_protection.xml\"\n# Deploy via Intune or GPO\n```\n\n### Step 3: Deploy via Intune\u002FGPO\n\n```\nIntune: Endpoint Security → Attack Surface Reduction → Exploit Protection\n  Import exploit_protection.xml template\n\nGPO: Computer Configuration → Admin Templates → Windows Components\n  → Windows Defender Exploit Guard → Exploit Protection\n  → \"Use a common set of exploit protection settings\" → Enabled\n  → Point to XML file on network share\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **DEP** | Marks memory pages as non-executable to prevent shellcode execution in data regions |\n| **ASLR** | Randomizes memory addresses of loaded modules to defeat hardcoded ROP gadgets |\n| **CFG** | Validates indirect call targets at runtime to prevent control flow hijacking |\n| **SEHOP** | Validates SEH chain integrity to prevent SEH-based exploitation |\n\n## Tools & Systems\n- **Windows Exploit Protection**: Built-in per-process mitigation management\n- **EMET (legacy)**: Enhanced Mitigation Experience Toolkit (predecessor, now deprecated)\n- **ProcessMitigations PowerShell**: Get\u002FSet-ProcessMitigation cmdlets\n\n## Common Pitfalls\n- **DEP compatibility**: Legacy 32-bit applications may crash with DEP AlwaysOn. Use OptOut with exceptions.\n- **Mandatory ASLR breaking apps**: Some applications are not ASLR-compatible. Test before enforcing ForceRelocateImages.\n- **CFG limited to compiled-in support**: CFG only works for applications compiled with \u002Fguard:cf. Cannot be retroactively applied.\n",{"name":5,"tags":24,"author":31,"domain":32,"license":15,"version":33,"nist_csf":34,"subdomain":39,"description":40,"mitre_attack":41},[25,26,27,28,29,30],"endpoint","memory-protection","DEP","ASLR","exploit-mitigation","CFG","mahipal","cybersecurity","1.0.0",[35,36,37,38],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01","endpoint-security","Implements memory protection mechanisms including DEP (Data Execution Prevention), ASLR (Address Space Layout Randomization), CFG (Control Flow Guard), and other exploit mitigations to prevent memory corruption attacks. Use when hardening endpoints against buffer overflow exploits, ROP chains, and code injection. Activates for requests involving memory protection, exploit mitigation, DEP, ASLR, or CFG configuration.\n",[42,43,44,45,46],"T1055","T1547","T1059","T1036","T1190","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill implementing-memory-protection-with-dep-aslr",{"tool":61,"command":62},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill implementing-memory-protection-with-dep-aslr",{"tool":64,"command":65},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill implementing-memory-protection-with-dep-aslr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr\u002FSKILL.md",true,[69,75,79],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fapi-reference.md","REFERENCE","参考文档",1863,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fapi-reference.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fstandards.md",316,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fstandards.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fworkflows.md",374,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fworkflows.md",[84,93,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":92},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":94,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":92},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":92},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":92},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":92},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":92},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]