[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HBZ83SEZ9HGDZ342Q97FFW":3,"skill-same:01M6HBZ83SEZ9HGDZ342Q97FFW":98},{"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":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":6,"ownerHtmlUrl":64,"ownerBlogUrl":6,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6HBZ83SEZ9HGDZ342Q97FFW","analyzing-windows-prefetch-with-python",null,"Parse Windows Prefetch files using the windowsprefetch Python library to reconstruct application execution history, detect renamed or masquerading binaries, and identify suspicious program execution patterns.","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-windows-prefetch-with-python\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"python","with","analyzing windows prefetch with python","prefetch","analyzing","windows","malware","malware-analysis","incident-response","forensics","execution-history","cybersecurity","execution","analysis","history","files","incident","de","detect","suspicious","2026-11-10 10:12:30",false,"---\nname: analyzing-windows-prefetch-with-python\ndescription: Parse Windows Prefetch files using the windowsprefetch Python library to reconstruct application execution history, detect renamed or masquerading binaries, and identify suspicious program execution patterns.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags:\n- digital-forensics\n- windows\n- prefetch\n- execution-history\n- incident-response\n- malware-analysis\nmitre_attack:\n- T1036.005\n- T1070.004\n- T1070\n- T1003.001\n- T1057\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- RS.AN-01\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\ncategory: analyzing-windows-prefetch-with-python\n---\n# Analyzing Windows Prefetch with Python\n\n## Overview\n\nWindows Prefetch files (.pf) record application execution data including executable names, run counts, timestamps, loaded DLLs, and accessed directories. This skill covers parsing Prefetch files using the windowsprefetch Python library to reconstruct execution timelines, detect renamed or masquerading binaries by comparing executable names with loaded resources, and identifying suspicious programs that may indicate malware execution or lateral movement.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing windows prefetch with python\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- Python 3.9+ with `windowsprefetch` library (pip install windowsprefetch)\n- Windows Prefetch files from C:\\Windows\\Prefetch\\ (versions 17-30 supported)\n- Understanding of Windows Prefetch file naming conventions (EXECUTABLE-HASH.pf)\n\n## Steps\n\n### Step 1: Collect Prefetch Files\nGather .pf files from target system's C:\\Windows\\Prefetch\\ directory.\n\n### Step 2: Parse Execution History\nExtract executable name, run count, last execution timestamps, and volume information.\n\n### Step 3: Detect Suspicious Execution\nFlag known attack tools (mimikatz, psexec, etc.), renamed binaries, and unusual execution patterns.\n\n### Step 4: Build Execution Timeline\nReconstruct chronological execution timeline from all Prefetch files.\n\n## Expected Output\n\nJSON report with execution history, suspicious executables, renamed binary indicators, and timeline reconstruction.\n\n## Example Output\n\n```text\n$ python3 prefetch_analyzer.py --dir \u002Fevidence\u002FWindows\u002FPrefetch --output \u002Fanalysis\u002Fprefetch_report\n\nWindows Prefetch Analyzer v2.1\n================================\nSource: \u002Fevidence\u002FWindows\u002FPrefetch\u002F\nPrefetch Format: Windows 10 (MAM compressed, version 30)\nFiles Found: 234\n\n--- Execution Timeline (Incident Window: 2024-01-15 to 2024-01-18) ---\nLast Executed (UTC)     | Run Count | Filename                    | Hash     | Path\n------------------------|-----------|-----------------------------|----------|------------------------------------------\n2024-01-15 14:33:15     | 1         | Q4_REPORT.XLSM-2A1B3C4D.pf | 2A1B3C4D | C:\\Users\\jsmith\\Downloads\\Q4_Report.xlsm\n2024-01-15 14:35:44     | 1         | POWERSHELL.EXE-A2B3C4D5.pf  | A2B3C4D5 | C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\n2024-01-15 14:36:30     | 3         | UPDATE_CLIENT.EXE-B3C4D5E6.pf| B3C4D5E6| C:\\ProgramData\\Updates\\update_client.exe\n2024-01-15 15:10:22     | 1         | NETSCAN.EXE-C4D5E6F7.pf     | C4D5E6F7 | C:\\Users\\jsmith\\Downloads\\netscan.exe\n2024-01-16 02:28:00     | 1         | PROCDUMP64.EXE-D5E6F7A8.pf  | D5E6F7A8 | C:\\Windows\\Temp\\procdump64.exe\n2024-01-16 02:30:15     | 2         | MIMIKATZ.EXE-E6F7A8B9.pf    | E6F7A8B9 | C:\\Windows\\Temp\\mimikatz.exe\n2024-01-16 02:40:00     | 4         | PSEXEC.EXE-F7A8B9C0.pf      | F7A8B9C0 | C:\\Users\\jsmith\\AppData\\Local\\Temp\\psexec.exe\n2024-01-17 02:45:00     | 1         | SDELETE64.EXE-A8B9C0D1.pf   | A8B9C0D1 | C:\\Windows\\Temp\\sdelete64.exe\n2024-01-18 03:00:45     | 1         | WEVTUTIL.EXE-B9C0D1E2.pf    | B9C0D1E2 | C:\\Windows\\System32\\wevtutil.exe\n\n--- Renamed Binary Detection ---\nALERT: UPDATE_CLIENT.EXE loaded DLLs consistent with Cobalt Strike beacon:\n  Referenced DLLs: wininet.dll, ws2_32.dll, advapi32.dll, dnsapi.dll, netapi32.dll\n  Volume: \\VOLUME{01d94f2a3b5c7d8e-A4E73F21} (C:)\n  Directories referenced:\n    C:\\ProgramData\\Updates\\\n    C:\\Windows\\System32\\\n\n--- Execution Frequency Analysis ---\nMost Executed (Top 5):\n  1. SVCHOST.EXE          (267 runs)\n  2. CHROME.EXE           (189 runs)\n  3. EXPLORER.EXE         (156 runs)\n  4. RUNTIMEBROKER.EXE    (134 runs)\n  5. OUTLOOK.EXE          (98 runs)\n\nFirst-Time Executions (Never seen before incident window):\n  6 executables first run between 2024-01-15 and 2024-01-18\n\nSummary:\n  Total prefetch files:         234\n  Suspicious executables:       6\n  Renamed binary indicators:    1 (update_client.exe)\n  Anti-forensics tools:         2 (sdelete64.exe, wevtutil.exe)\n  JSON report: \u002Fanalysis\u002Fprefetch_report\u002Fprefetch_timeline.json\n```\n","# Analyzing Windows Prefetch with Python\n\n## Overview\n\nWindows Prefetch files (.pf) record application execution data including executable names, run counts, timestamps, loaded DLLs, and accessed directories. This skill covers parsing Prefetch files using the windowsprefetch Python library to reconstruct execution timelines, detect renamed or masquerading binaries by comparing executable names with loaded resources, and identifying suspicious programs that may indicate malware execution or lateral movement.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing windows prefetch with python\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- Python 3.9+ with `windowsprefetch` library (pip install windowsprefetch)\n- Windows Prefetch files from C:\\Windows\\Prefetch\\ (versions 17-30 supported)\n- Understanding of Windows Prefetch file naming conventions (EXECUTABLE-HASH.pf)\n\n## Steps\n\n### Step 1: Collect Prefetch Files\nGather .pf files from target system's C:\\Windows\\Prefetch\\ directory.\n\n### Step 2: Parse Execution History\nExtract executable name, run count, last execution timestamps, and volume information.\n\n### Step 3: Detect Suspicious Execution\nFlag known attack tools (mimikatz, psexec, etc.), renamed binaries, and unusual execution patterns.\n\n### Step 4: Build Execution Timeline\nReconstruct chronological execution timeline from all Prefetch files.\n\n## Expected Output\n\nJSON report with execution history, suspicious executables, renamed binary indicators, and timeline reconstruction.\n\n## Example Output\n\n```text\n$ python3 prefetch_analyzer.py --dir \u002Fevidence\u002FWindows\u002FPrefetch --output \u002Fanalysis\u002Fprefetch_report\n\nWindows Prefetch Analyzer v2.1\n================================\nSource: \u002Fevidence\u002FWindows\u002FPrefetch\u002F\nPrefetch Format: Windows 10 (MAM compressed, version 30)\nFiles Found: 234\n\n--- Execution Timeline (Incident Window: 2024-01-15 to 2024-01-18) ---\nLast Executed (UTC)     | Run Count | Filename                    | Hash     | Path\n------------------------|-----------|-----------------------------|----------|------------------------------------------\n2024-01-15 14:33:15     | 1         | Q4_REPORT.XLSM-2A1B3C4D.pf | 2A1B3C4D | C:\\Users\\jsmith\\Downloads\\Q4_Report.xlsm\n2024-01-15 14:35:44     | 1         | POWERSHELL.EXE-A2B3C4D5.pf  | A2B3C4D5 | C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\n2024-01-15 14:36:30     | 3         | UPDATE_CLIENT.EXE-B3C4D5E6.pf| B3C4D5E6| C:\\ProgramData\\Updates\\update_client.exe\n2024-01-15 15:10:22     | 1         | NETSCAN.EXE-C4D5E6F7.pf     | C4D5E6F7 | C:\\Users\\jsmith\\Downloads\\netscan.exe\n2024-01-16 02:28:00     | 1         | PROCDUMP64.EXE-D5E6F7A8.pf  | D5E6F7A8 | C:\\Windows\\Temp\\procdump64.exe\n2024-01-16 02:30:15     | 2         | MIMIKATZ.EXE-E6F7A8B9.pf    | E6F7A8B9 | C:\\Windows\\Temp\\mimikatz.exe\n2024-01-16 02:40:00     | 4         | PSEXEC.EXE-F7A8B9C0.pf      | F7A8B9C0 | C:\\Users\\jsmith\\AppData\\Local\\Temp\\psexec.exe\n2024-01-17 02:45:00     | 1         | SDELETE64.EXE-A8B9C0D1.pf   | A8B9C0D1 | C:\\Windows\\Temp\\sdelete64.exe\n2024-01-18 03:00:45     | 1         | WEVTUTIL.EXE-B9C0D1E2.pf    | B9C0D1E2 | C:\\Windows\\System32\\wevtutil.exe\n\n--- Renamed Binary Detection ---\nALERT: UPDATE_CLIENT.EXE loaded DLLs consistent with Cobalt Strike beacon:\n  Referenced DLLs: wininet.dll, ws2_32.dll, advapi32.dll, dnsapi.dll, netapi32.dll\n  Volume: \\VOLUME{01d94f2a3b5c7d8e-A4E73F21} (C:)\n  Directories referenced:\n    C:\\ProgramData\\Updates\\\n    C:\\Windows\\System32\\\n\n--- Execution Frequency Analysis ---\nMost Executed (Top 5):\n  1. SVCHOST.EXE          (267 runs)\n  2. CHROME.EXE           (189 runs)\n  3. EXPLORER.EXE         (156 runs)\n  4. RUNTIMEBROKER.EXE    (134 runs)\n  5. OUTLOOK.EXE          (98 runs)\n\nFirst-Time Executions (Never seen before incident window):\n  6 executables first run between 2024-01-15 and 2024-01-18\n\nSummary:\n  Total prefetch files:         234\n  Suspicious executables:       6\n  Renamed binary indicators:    1 (update_client.exe)\n  Anti-forensics tools:         2 (sdelete64.exe, wevtutil.exe)\n  JSON report: \u002Fanalysis\u002Fprefetch_report\u002Fprefetch_timeline.json\n```\n",{"name":5,"tags":44,"author":46,"domain":30,"license":15,"version":47,"category":5,"nist_csf":48,"subdomain":45,"description":7,"mitre_attack":53},[45,24,22,29,27,26],"digital-forensics","mahipal","1.0",[49,50,51,52],"RS.AN-01","RS.AN-03","DE.AE-02","RS.MA-01",[54,55,56,57,58],"T1036.005","T1070.004","T1070","T1003.001","T1057","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fanalyzing-windows-prefetch-with-python",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill analyzing-windows-prefetch-with-python",{"tool":73,"command":74},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill analyzing-windows-prefetch-with-python",{"tool":76,"command":77},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill analyzing-windows-prefetch-with-python","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-windows-prefetch-with-python\u002FSKILL.md",true,[81,86,92],{"path":82,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-windows-prefetch-with-python\u002FLICENSE",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fapi-reference.md","REFERENCE","参考文档",1769,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-windows-prefetch-with-python\u002Freferences\u002Fapi-reference.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fagent.py","SCRIPT","脚本",7169,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fanalyzing-windows-prefetch-with-python\u002Fscripts\u002Fagent.py",[99,123,148,170,186,206],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[106,107,108,109,110,111,30,112,113,114,27,115,116,117,118,119,120,35,121,122],"integrity","backup","recovery","validating backup integrity for recovery","for","testing","validate","verification","hash-verification","ransomware","detection","t1078","t1490","disaster-recovery","restore","disaster recovery","ransomware response",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[130,131,132,133,20,30,134,135,136,137,138,139,140,141,142,143,144,145,146,147],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[155,156,35,30,157,158,159,117,118,32,160,161,162,163,164,165,166,167,168,169],"security","triaging security incident","actions","soc","NIST","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"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},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[155,177,178,156,35,20,30,179,158,27,180,181,117,118,182,160,143,183,184,185],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[155,193,194,195,196,197,30,198,199,200,158,201,117,202,203,204,163,205,35,36],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review","cm",{"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},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[213,214,215,216,30,217,218,219,220,221,222,202,223,224,205,225,36,226,227,228],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]