[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M751BWQVMF5YV9Q9Y6X3SQMV":3,"skill-same:01M751BWQVMF5YV9Q9Y6X3SQMV":91},{"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":37,"commitSha":38,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M751BWQVMF5YV9Q9Y6X3SQMV","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.","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: implementing-memory-protection-with-dep-aslr\ndescription: >\n  Implements memory protection mechanisms including DEP (Data Execution Prevention), ASLR (Address\n  Space Layout Randomization), CFG (Control Flow Guard), and other exploit mitigations to prevent\n  memory corruption attacks. Use when hardening endpoints against buffer overflow exploits, ROP\n  chains, and code injection. Activates for requests involving memory protection, exploit\n  mitigation, DEP, ASLR, or CFG configuration.\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags: [endpoint, memory-protection, DEP, ASLR, exploit-mitigation, CFG]\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\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":25,"author":32,"domain":33,"license":15,"version":34,"subdomain":35,"description":36},[26,27,28,29,30,31],"endpoint","memory-protection","DEP","ASLR","exploit-mitigation","CFG","mahipal","cybersecurity","1.0.0","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","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-memory-protection-with-dep-aslr",{"tool":49,"command":50},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-memory-protection-with-dep-aslr",{"tool":52,"command":53},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-memory-protection-with-dep-aslr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002FSKILL.md",true,[57,63,67,73,77,81,87],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Ftemplate.md","ASSET","资产文件",553,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Fassets\u002Ftemplate.md",{"path":64,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fapi-reference.md","REFERENCE","参考文档",1863,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fapi-reference.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fstandards.md",316,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fstandards.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fworkflows.md",374,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Freferences\u002Fworkflows.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fagent.py","SCRIPT","脚本",6560,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Fscripts\u002Fagent.py",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fprocess.py",1160,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-memory-protection-with-dep-aslr\u002Fscripts\u002Fprocess.py",[92,100,107,114,121,128],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":20},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]