[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A3YSCQV17938GPCX5N61XR":3,"skill-same:01M7A3YSCQV17938GPCX5N61XR":90},{"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":53,"commitSha":54,"skillDirectory":55,"forksCount":14,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M7A3YSCQV17938GPCX5N61XR","analyzing-persistence-mechanisms-in-linux",null,"Scan Linux systems for persistence mechanisms including crontab\u002Fsystemd entries, LD_PRELOAD injection, shell profile modifications (.bashrc, .profile), and SSH authorized_keys backdoors, then correlate findings with auditd logs into an installation timeline. Use during incident response or threat hunting to detect or confirm how an adversary maintained access to a compromised Linux host.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analyzing-persistence-mechanisms-in-linux\ndescription: Scan Linux systems for persistence mechanisms including crontab\u002Fsystemd entries, LD_PRELOAD injection, shell profile modifications (.bashrc, .profile), and SSH authorized_keys backdoors, then correlate findings with auditd logs into an installation timeline. Use during incident response or threat hunting to detect or confirm how an adversary maintained access to a compromised Linux host.\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags:\n- linux-persistence\n- crontab\n- systemd\n- ld-preload\n- auditd\n- threat-hunting\n- incident-response\nmitre_attack:\n- T1053.003\n- T1543.002\n- T1574.006\n- T1546.004\n- T1098.004\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- Executable Denylisting\n- Execution Isolation\n- File Metadata Consistency Validation\n- Process Termination\n- Content Format Conversion\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- DE.AE-07\n- ID.RA-05\n---\n\n# Analyzing Persistence Mechanisms in Linux\n\n## Overview\n\nAdversaries establish persistence on Linux systems through crontab jobs, systemd service\u002Ftimer units, LD_PRELOAD library injection, shell profile modifications (.bashrc, .profile), SSH authorized_keys backdoors, and init script manipulation. This skill scans for all known persistence vectors, checks file timestamps and integrity, and correlates findings with auditd logs to build a timeline of persistence installation.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing persistence mechanisms in linux\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Root or sudo access on target Linux system (or forensic image)\n- auditd configured with file watch rules on persistence paths\n- Python 3.8+ with standard library (os, subprocess, json)\n- Optional: OSSEC\u002FWazuh agent for file integrity monitoring alerts\n\n## Steps\n\n1. **Scan Crontab Entries** — Enumerate all user crontabs, \u002Fetc\u002Fcron.d\u002F, \u002Fetc\u002Fcron.daily\u002F, and anacron jobs for suspicious commands\n2. **Audit Systemd Units** — Check \u002Fetc\u002Fsystemd\u002Fsystem\u002F and ~\u002F.config\u002Fsystemd\u002Fuser\u002F for non-package-managed service and timer units\n3. **Detect LD_PRELOAD Hijacking** — Check \u002Fetc\u002Fld.so.preload and LD_PRELOAD environment variable for injected shared libraries\n4. **Inspect Shell Profiles** — Scan .bashrc, .bash_profile, .profile, \u002Fetc\u002Fprofile.d\u002F for injected commands or reverse shells\n5. **Check SSH Authorized Keys** — Audit all authorized_keys files for unauthorized public keys with command restrictions\n6. **Correlate Auditd Logs** — Search auditd logs for file modification events on persistence paths to build an installation timeline\n7. **Generate Persistence Report** — Produce a risk-scored report of all discovered persistence mechanisms\n\n## Expected Output\n\n- JSON report of all persistence mechanisms found with risk scores\n- Timeline of persistence installation from auditd correlation\n- MITRE ATT&CK technique mapping (T1053, T1543, T1574, T1546)\n- Remediation commands for each detected persistence mechanism\n","# Analyzing Persistence Mechanisms in Linux\n\n## Overview\n\nAdversaries establish persistence on Linux systems through crontab jobs, systemd service\u002Ftimer units, LD_PRELOAD library injection, shell profile modifications (.bashrc, .profile), SSH authorized_keys backdoors, and init script manipulation. This skill scans for all known persistence vectors, checks file timestamps and integrity, and correlates findings with auditd logs to build a timeline of persistence installation.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing persistence mechanisms in linux\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Root or sudo access on target Linux system (or forensic image)\n- auditd configured with file watch rules on persistence paths\n- Python 3.8+ with standard library (os, subprocess, json)\n- Optional: OSSEC\u002FWazuh agent for file integrity monitoring alerts\n\n## Steps\n\n1. **Scan Crontab Entries** — Enumerate all user crontabs, \u002Fetc\u002Fcron.d\u002F, \u002Fetc\u002Fcron.daily\u002F, and anacron jobs for suspicious commands\n2. **Audit Systemd Units** — Check \u002Fetc\u002Fsystemd\u002Fsystem\u002F and ~\u002F.config\u002Fsystemd\u002Fuser\u002F for non-package-managed service and timer units\n3. **Detect LD_PRELOAD Hijacking** — Check \u002Fetc\u002Fld.so.preload and LD_PRELOAD environment variable for injected shared libraries\n4. **Inspect Shell Profiles** — Scan .bashrc, .bash_profile, .profile, \u002Fetc\u002Fprofile.d\u002F for injected commands or reverse shells\n5. **Check SSH Authorized Keys** — Audit all authorized_keys files for unauthorized public keys with command restrictions\n6. **Correlate Auditd Logs** — Search auditd logs for file modification events on persistence paths to build an installation timeline\n7. **Generate Persistence Report** — Produce a risk-scored report of all discovered persistence mechanisms\n\n## Expected Output\n\n- JSON report of all persistence mechanisms found with risk scores\n- Timeline of persistence installation from auditd correlation\n- MITRE ATT&CK technique mapping (T1053, T1543, T1574, T1546)\n- Remediation commands for each detected persistence mechanism\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":31,"description":7,"mitre_attack":41,"d3fend_techniques":47},[26,27,28,29,30,31,32],"linux-persistence","crontab","systemd","ld-preload","auditd","threat-hunting","incident-response","mahipal","cybersecurity","1.0",[37,38,39,40],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[42,43,44,45,46],"T1053.003","T1543.002","T1574.006","T1546.004","T1098.004",[48,49,50,51,52],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Process Termination","Content Format Conversion","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add NeelakshSaxena\u002FVayu --skill analyzing-persistence-mechanisms-in-linux",{"tool":66,"command":67},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill analyzing-persistence-mechanisms-in-linux",{"tool":69,"command":70},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill analyzing-persistence-mechanisms-in-linux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux\u002FSKILL.md",true,[74,78,84],{"path":75,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fapi-reference.md","REFERENCE","参考文档",2763,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux\u002Freferences\u002Fapi-reference.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fagent.py","SCRIPT","脚本",10488,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fanalyzing-persistence-mechanisms-in-linux\u002Fscripts\u002Fagent.py",[91,98,105,112,119,126],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\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":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\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":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\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":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\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":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]