[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71EPX9EFJ9HAZDN72ACWHHB":3,"skill-same:01M71EPX9EFJ9HAZDN72ACWHHB":107},{"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":80,"commitSha":81,"skillDirectory":82,"forksCount":14,"repositoryHtmlUrl":83,"repositoryHomepageUrl":6,"ownerHtmlUrl":84,"ownerBlogUrl":6,"ownerDescription":85,"updatedAt":86,"install":87,"resources":100},"01M71EPX9EFJ9HAZDN72ACWHHB","identity-privesc-kernel-escalate",null,"Linux privilege escalation involves elevating from a low-privilege user account to root access on a compromised system. Red teams exploit misconfigurations, vulnerable services, kernel exploits, and w","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fidentity\u002Fprivesc\u002Fkernel\u002Fescalate\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"identity","kernel","escalate","identity privesc kernel escalate","mapping","activity","network","exploit","modeling","read","privilege escalation","de","simulation","mitre-attack","team","Bash","access","cybersecurity","traffic","adversary-simulation","2026-11-10 10:12:30",false,"---\nname: identity-privesc-kernel-escalate\ndescription: Linux privilege escalation involves elevating from a low-privilege user account to root access on a compromised system. Red teams exploit misconfigurations, vulnerable services, kernel exploits, and w\ndomain: cybersecurity\nsubdomain: red-teaming\ntags:\n- red-team\n- adversary-simulation\n- mitre-attack\n- exploitation\n- post-exploitation\n- privilege-escalation\n- linux\nd3fend_techniques:\n- Restore Object\n- Network Traffic Policy Mapping\n- Restore Configuration\n- Access Modeling\n- Operational Activity Mapping\nnist_csf:\n- ID.RA-01\n- GV.OV-02\n- DE.AE-07\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1068\n- T1071\ncwe:\n- CWE-269\ncve:\n- CVE-2021-3156\n- CVE-2016-5195\n- CVE-2022-0847\n- CVE-2021-4034\n- CVE-2023-2640\n- CVE-2023-32629\ncapec: []\n---\n\n# Performing Privilege Escalation on Linux\n\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.\n\n## Overview\n\nLinux privilege escalation involves elevating from a low-privilege user account to root access on a compromised system. Red teams exploit misconfigurations, vulnerable services, kernel exploits, and weak permissions to achieve root. This skill covers both manual enumeration techniques and automated tools for identifying and exploiting privilege escalation vectors.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing privilege escalation on linux\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Familiarity with red teaming 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## MITRE ATT&CK Mapping\n\n- **T1548.001** - Abuse Elevation Control Mechanism: Setuid and Setgid\n- **T1548.003** - Abuse Elevation Control Mechanism: Sudo and Sudo Caching\n- **T1068** - Exploitation for Privilege Escalation\n- **T1574.006** - Hijack Execution Flow: Dynamic Linker Hijacking\n- **T1053.003** - Scheduled Task\u002FJob: Cron\n- **T1543.002** - Create or Modify System Process: Systemd Service\n\n## Key Escalation Vectors\n\n### SUID\u002FSGID Binaries\n- Find SUID binaries: `find \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull`\n- Check GTFOBins for exploitation methods\n- Custom SUID binaries may have vulnerabilities\n\n### Sudo Misconfigurations\n- `sudo -l` to list allowed commands\n- Wildcards in sudo rules allow injection\n- NOPASSWD entries for dangerous commands\n- sudo versions vulnerable to CVE-2021-3156 (Baron Samedit)\n\n### Kernel Exploits\n- Dirty Cow (CVE-2016-5195) for older kernels\n- Dirty Pipe (CVE-2022-0847) for kernel 5.8+\n- PwnKit (CVE-2021-4034) for pkexec\n- GameOver(lay) (CVE-2023-2640, CVE-2023-32629) for Ubuntu\n\n### Cron Job Abuse\n- World-writable cron scripts\n- PATH hijacking in cron jobs\n- Wildcard injection in cron commands\n\n### Capabilities\n- `getcap -r \u002F 2>\u002Fdev\u002Fnull` to find binaries with capabilities\n- cap_setuid allows UID manipulation\n- cap_dac_override bypasses file permissions\n\n### Writable Service Files\n- Systemd unit files with weak permissions\n- Init scripts writable by non-root users\n- Socket files in accessible locations\n\n## Tools and Resources\n\n| Tool | Purpose |\n|------|---------|\n| LinPEAS | Automated privilege escalation enumeration |\n| LinEnum | Linux enumeration script |\n| linux-exploit-suggester | Kernel exploit matching |\n| pspy | Process monitoring without root |\n| GTFOBins | SUID\u002Fsudo binary exploitation reference |\n| PEASS-ng | Privilege escalation awesome scripts suite |\n\n## Validation Criteria\n\n- [ ] Enumeration performed using automated tools\n- [ ] Privilege escalation vector identified\n- [ ] Root access achieved through identified vector\n- [ ] Evidence documented (screenshots, command output)\n- [ ] Alternative escalation paths identified\n","# Performing Privilege Escalation on Linux\n\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.\n\n## Overview\n\nLinux privilege escalation involves elevating from a low-privilege user account to root access on a compromised system. Red teams exploit misconfigurations, vulnerable services, kernel exploits, and weak permissions to achieve root. This skill covers both manual enumeration techniques and automated tools for identifying and exploiting privilege escalation vectors.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing privilege escalation on linux\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Familiarity with red teaming 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## MITRE ATT&CK Mapping\n\n- **T1548.001** - Abuse Elevation Control Mechanism: Setuid and Setgid\n- **T1548.003** - Abuse Elevation Control Mechanism: Sudo and Sudo Caching\n- **T1068** - Exploitation for Privilege Escalation\n- **T1574.006** - Hijack Execution Flow: Dynamic Linker Hijacking\n- **T1053.003** - Scheduled Task\u002FJob: Cron\n- **T1543.002** - Create or Modify System Process: Systemd Service\n\n## Key Escalation Vectors\n\n### SUID\u002FSGID Binaries\n- Find SUID binaries: `find \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull`\n- Check GTFOBins for exploitation methods\n- Custom SUID binaries may have vulnerabilities\n\n### Sudo Misconfigurations\n- `sudo -l` to list allowed commands\n- Wildcards in sudo rules allow injection\n- NOPASSWD entries for dangerous commands\n- sudo versions vulnerable to CVE-2021-3156 (Baron Samedit)\n\n### Kernel Exploits\n- Dirty Cow (CVE-2016-5195) for older kernels\n- Dirty Pipe (CVE-2022-0847) for kernel 5.8+\n- PwnKit (CVE-2021-4034) for pkexec\n- GameOver(lay) (CVE-2023-2640, CVE-2023-32629) for Ubuntu\n\n### Cron Job Abuse\n- World-writable cron scripts\n- PATH hijacking in cron jobs\n- Wildcard injection in cron commands\n\n### Capabilities\n- `getcap -r \u002F 2>\u002Fdev\u002Fnull` to find binaries with capabilities\n- cap_setuid allows UID manipulation\n- cap_dac_override bypasses file permissions\n\n### Writable Service Files\n- Systemd unit files with weak permissions\n- Init scripts writable by non-root users\n- Socket files in accessible locations\n\n## Tools and Resources\n\n| Tool | Purpose |\n|------|---------|\n| LinPEAS | Automated privilege escalation enumeration |\n| LinEnum | Linux enumeration script |\n| linux-exploit-suggester | Kernel exploit matching |\n| pspy | Process monitoring without root |\n| GTFOBins | SUID\u002Fsudo binary exploitation reference |\n| PEASS-ng | Privilege escalation awesome scripts suite |\n\n## Validation Criteria\n\n- [ ] Enumeration performed using automated tools\n- [ ] Privilege escalation vector identified\n- [ ] Root access achieved through identified vector\n- [ ] Evidence documented (screenshots, command output)\n- [ ] Alternative escalation paths identified\n",{"cve":44,"cwe":51,"name":5,"tags":53,"capec":59,"model":60,"tools":61,"domain":36,"maxTurns":65,"nist_csf":66,"subdomain":70,"description":7,"mitre_attack":71,"d3fend_techniques":74},[45,46,47,48,49,50],"CVE-2021-3156","CVE-2016-5195","CVE-2022-0847","CVE-2021-4034","CVE-2023-2640","CVE-2023-32629",[52],"CWE-269",[54,38,32,55,56,57,58],"red-team","exploitation","post-exploitation","privilege-escalation","linux",[],"sonnet",[62,34,63,64],"Read","Glob","Grep",20,[67,68,69],"ID.RA-01","GV.OV-02","DE.AE-07","red-teaming",[72,73],"T1068","T1071",[75,76,77,78,79],"Restore Object","Network Traffic Policy Mapping","Restore Configuration","Access Modeling","Operational Activity Mapping","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Flinux\u002Fidentity\u002Fprivesc\u002Fkernel\u002Fescalate","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":88,"prompt":98,"zipAvailable":99},[89,92,95],{"tool":90,"command":91},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill identity-privesc-kernel-escalate",{"tool":93,"command":94},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill identity-privesc-kernel-escalate",{"tool":96,"command":97},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill identity-privesc-kernel-escalate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fidentity\u002Fprivesc\u002Fkernel\u002Fescalate\u002FSKILL.md",true,[101],{"path":102,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"index.json","REFERENCE","参考文档",707,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fidentity\u002Fprivesc\u002Fkernel\u002Fescalate\u002Findex.json",[108,132,150,170,190,206],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[115,116,117,118,119,30,120,121,122,123,124,125,126,127,128,129,130,36,131],"services","detect","services wmi persistence detect","wmi","persistence","cm","process","activescript","event","subscriptions","commandline-consumer","repository","subscription","event-subscription","t1546.003","forensics","process-forensics",{"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":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[26,115,139,118,140,141,37,36,34,142,33,143,144,145,30,146,147,28,148,149],"services wmi exec exploit","exec","remote","analysis","across","crackmapexec","native","command","lateral movement","lateral-movement","Impacket",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[157,158,159,160,161,162,36,34,163,142,164,165,30,28,166,24,167,168,169,60],"artifact","registry","registry artifact extract","extract","evidence-collection","artifact-analysis","collection","analyze","uncover","software","digital-forensics","windows-registry","regripper",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[116,177,178,179,180,181,182,120,183,36,131,57,184,185,186,55,187,188,189,30],"processes token impersonate detect","token","processes","attacks","windows","escalation","techniques","seimpersonate","token-impersonation","printspoofer","potato","impersonation","via",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[197,198,116,199,179,181,200,120,201,183,36,131,142,202,203,204,205,189,30,121],"thread","processes thread injection detect","injection","memory","process-injection","api","apc-injection","thread-injection","nt-api",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":39},"01M71HA7H311V5G14WMX58HQSS","processes-hollow-technique-detect","Detect process hollowing (RunPE) by identifying processes with mismatched image paths between PEB and VAD tree, or unmapped PE headers in memory.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fhollow\u002Ftechnique\u002Fdetect\u002FSKILL.md",[],[213,116,179,214,200,120,215,216,36,131,217,218,219,220,221,222,30,121,223,224],"processes hollow technique detect","tree","memory-forensics","process-hollow","peb","runpe","image","pe-header","in memory","with","mismatched","headers"]