[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBH7FCRNYA4KB96FP6CPWJ":3,"skill-same:01M7EBH7FCRNYA4KB96FP6CPWJ":89},{"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":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M7EBH7FCRNYA4KB96FP6CPWJ","analyzing-malware-persistence-with-autoruns",null,"Use Sysinternals Autoruns to systematically enumerate and analyze malware persistence mechanisms across Windows registry run keys, scheduled tasks, services, drivers, and startup locations. Use when hunting for persistence during Windows incident response, triaging a compromised endpoint, or validating that malware autostart entries have been fully identified and removed.","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-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analyzing-malware-persistence-with-autoruns\ndescription: Use Sysinternals Autoruns to systematically enumerate and analyze malware\n  persistence mechanisms across Windows registry run keys, scheduled tasks, services,\n  drivers, and startup locations. Use when hunting for persistence during Windows\n  incident response, triaging a compromised endpoint, or validating that malware\n  autostart entries have been fully identified and removed.\ndomain: cybersecurity\nsubdomain: malware-analysis\ntags:\n- autoruns\n- persistence\n- malware-analysis\n- sysinternals\n- windows\n- registry\n- startup\n- incident-response\nmitre_attack:\n- T1547.001\n- T1543.003\n- T1053.005\n- T1574.001\n- T1037.001\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- Executable Denylisting\n- Execution Isolation\n- File Metadata Consistency Validation\n- Content Format Conversion\n- File Content Analysis\nnist_csf:\n- DE.AE-02\n- RS.AN-03\n- ID.RA-01\n- DE.CM-01\n---\n# Analyzing Malware Persistence with Autoruns\n\n## Overview\n\nSysinternals Autoruns extracts data from hundreds of Auto-Start Extensibility Points (ASEPs) on Windows, scanning 18+ categories including Run\u002FRunOnce keys, services, scheduled tasks, drivers, Winlogon entries, LSA providers, print monitors, WMI subscriptions, and AppInit DLLs. Digital signature verification filters Microsoft-signed entries. The compare function identifies newly added persistence via baseline diffing. VirusTotal integration checks hash reputation. Offline analysis via -z flag enables forensic disk image examination.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing malware persistence with autoruns\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- Sysinternals Autoruns (GUI) and Autorunsc (CLI)\n- Administrative privileges on target system\n- Python 3.9+ for automated analysis\n- VirusTotal API key for reputation checks\n- Clean baseline export for comparison\n\n## Workflow\n\n### Step 1: Automated Persistence Scanning\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Automate Autoruns-based persistence analysis.\"\"\"\nimport subprocess\nimport csv\nimport json\nimport sys\n\n\ndef scan_and_analyze(autorunsc_path=\"autorunsc64.exe\", csv_path=\"scan.csv\"):\n    cmd = [autorunsc_path, \"-a\", \"*\", \"-c\", \"-h\", \"-s\", \"-nobanner\", \"*\"]\n    result = subprocess.run(cmd, capture_output=True, text=True, timeout=600)\n    with open(csv_path, 'w') as f:\n        f.write(result.stdout)\n    return parse_and_flag(csv_path)\n\n\ndef parse_and_flag(csv_path):\n    suspicious = []\n    with open(csv_path, 'r', errors='replace') as f:\n        for row in csv.DictReader(f):\n            reasons = []\n            signer = row.get(\"Signer\", \"\")\n            if not signer or signer == \"(Not verified)\":\n                reasons.append(\"Unsigned binary\")\n            if not row.get(\"Description\") and not row.get(\"Company\"):\n                reasons.append(\"Missing metadata\")\n            path = row.get(\"Image Path\", \"\").lower()\n            for sp in [\"\\temp\\\\\", \"\\appdata\\local\\temp\", \"\\users\\public\\\\\"]:\n                if sp in path:\n                    reasons.append(f\"Suspicious path\")\n            launch = row.get(\"Launch String\", \"\").lower()\n            for kw in [\"powershell\", \"cmd \u002Fc\", \"wscript\", \"mshta\", \"regsvr32\"]:\n                if kw in launch:\n                    reasons.append(f\"LOLBin: {kw}\")\n            if reasons:\n                row[\"reasons\"] = reasons\n                suspicious.append(row)\n    return suspicious\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        results = parse_and_flag(sys.argv[1])\n        print(f\"[!] {len(results)} suspicious entries\")\n        for r in results:\n            print(f\"  {r.get('Entry','')} - {r.get('Image Path','')}\")\n            for reason in r.get('reasons', []):\n                print(f\"    - {reason}\")\n```\n\n## Validation Criteria\n\n- All ASEP categories scanned and cataloged\n- Unsigned entries flagged for investigation\n- Suspicious paths and LOLBin launch strings highlighted\n- Baseline comparison identifies new persistence mechanisms\n\n## References\n\n- [Sysinternals Autoruns](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fsysinternals\u002Fdownloads\u002Fautoruns)\n- [SANS - Offline Autoruns Revisited](https:\u002F\u002Fwww.sans.org\u002Fblog\u002Foffline-autoruns-revisited-auditing-malware-persistence\u002F)\n- [Hunting Malware with Autoruns](https:\u002F\u002Fnasbench.medium.com\u002Fhunting-malware-with-windows-sysinternals-autoruns-19cbfe4103c2)\n- [MITRE ATT&CK T1547 - Boot or Logon Autostart](https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1547\u002F)\n","# Analyzing Malware Persistence with Autoruns\n\n## Overview\n\nSysinternals Autoruns extracts data from hundreds of Auto-Start Extensibility Points (ASEPs) on Windows, scanning 18+ categories including Run\u002FRunOnce keys, services, scheduled tasks, drivers, Winlogon entries, LSA providers, print monitors, WMI subscriptions, and AppInit DLLs. Digital signature verification filters Microsoft-signed entries. The compare function identifies newly added persistence via baseline diffing. VirusTotal integration checks hash reputation. Offline analysis via -z flag enables forensic disk image examination.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing malware persistence with autoruns\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- Sysinternals Autoruns (GUI) and Autorunsc (CLI)\n- Administrative privileges on target system\n- Python 3.9+ for automated analysis\n- VirusTotal API key for reputation checks\n- Clean baseline export for comparison\n\n## Workflow\n\n### Step 1: Automated Persistence Scanning\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Automate Autoruns-based persistence analysis.\"\"\"\nimport subprocess\nimport csv\nimport json\nimport sys\n\n\ndef scan_and_analyze(autorunsc_path=\"autorunsc64.exe\", csv_path=\"scan.csv\"):\n    cmd = [autorunsc_path, \"-a\", \"*\", \"-c\", \"-h\", \"-s\", \"-nobanner\", \"*\"]\n    result = subprocess.run(cmd, capture_output=True, text=True, timeout=600)\n    with open(csv_path, 'w') as f:\n        f.write(result.stdout)\n    return parse_and_flag(csv_path)\n\n\ndef parse_and_flag(csv_path):\n    suspicious = []\n    with open(csv_path, 'r', errors='replace') as f:\n        for row in csv.DictReader(f):\n            reasons = []\n            signer = row.get(\"Signer\", \"\")\n            if not signer or signer == \"(Not verified)\":\n                reasons.append(\"Unsigned binary\")\n            if not row.get(\"Description\") and not row.get(\"Company\"):\n                reasons.append(\"Missing metadata\")\n            path = row.get(\"Image Path\", \"\").lower()\n            for sp in [\"\\temp\\\\\", \"\\appdata\\local\\temp\", \"\\users\\public\\\\\"]:\n                if sp in path:\n                    reasons.append(f\"Suspicious path\")\n            launch = row.get(\"Launch String\", \"\").lower()\n            for kw in [\"powershell\", \"cmd \u002Fc\", \"wscript\", \"mshta\", \"regsvr32\"]:\n                if kw in launch:\n                    reasons.append(f\"LOLBin: {kw}\")\n            if reasons:\n                row[\"reasons\"] = reasons\n                suspicious.append(row)\n    return suspicious\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        results = parse_and_flag(sys.argv[1])\n        print(f\"[!] {len(results)} suspicious entries\")\n        for r in results:\n            print(f\"  {r.get('Entry','')} - {r.get('Image Path','')}\")\n            for reason in r.get('reasons', []):\n                print(f\"    - {reason}\")\n```\n\n## Validation Criteria\n\n- All ASEP categories scanned and cataloged\n- Unsigned entries flagged for investigation\n- Suspicious paths and LOLBin launch strings highlighted\n- Baseline comparison identifies new persistence mechanisms\n\n## References\n\n- [Sysinternals Autoruns](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fsysinternals\u002Fdownloads\u002Fautoruns)\n- [SANS - Offline Autoruns Revisited](https:\u002F\u002Fwww.sans.org\u002Fblog\u002Foffline-autoruns-revisited-auditing-malware-persistence\u002F)\n- [Hunting Malware with Autoruns](https:\u002F\u002Fnasbench.medium.com\u002Fhunting-malware-with-windows-sysinternals-autoruns-19cbfe4103c2)\n- [MITRE ATT&CK T1547 - Boot or Logon Autostart](https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1547\u002F)\n",{"name":5,"tags":24,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":27,"description":7,"mitre_attack":41,"d3fend_techniques":47},[25,26,27,28,29,30,31,32],"autoruns","persistence","malware-analysis","sysinternals","windows","registry","startup","incident-response","mahipal","cybersecurity","1.0",[37,38,39,40],"DE.AE-02","RS.AN-03","ID.RA-01","DE.CM-01",[42,43,44,45,46],"T1547.001","T1543.003","T1053.005","T1574.001","T1037.001",[48,49,50,51,52],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Content Format Conversion","File Content Analysis","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns",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":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malware-persistence-with-autoruns",{"tool":67,"command":68},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malware-persistence-with-autoruns",{"tool":70,"command":71},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malware-persistence-with-autoruns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns\u002FSKILL.md",true,[75,81,85],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fapi-reference.md","REFERENCE","参考文档",1835,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns\u002Freferences\u002Fapi-reference.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fstandards.md",312,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns\u002Freferences\u002Fstandards.md",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fworkflows.md",471,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malware-persistence-with-autoruns\u002Freferences\u002Fworkflows.md",[90,99,104,111,118,125],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"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":100,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":98},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":98},"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":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":98},"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":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":98},"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":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":98},"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",[],[]]