[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74N8GWZQ8GWDMQ2DDSVCQXH":3,"skill-same:01M74N8GWZQ8GWDMQ2DDSVCQXH":71},{"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":35,"commitSha":36,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M74N8GWZQ8GWDMQ2DDSVCQXH","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.","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\u002Fanalyzing-windows-prefetch-with-python\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-windows-prefetch-with-python\u002FSKILL.md",[],[],"2026-11-11 15:11:14",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: [digital-forensics, windows, prefetch, execution-history, incident-response, malware-analysis]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\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":25,"author":32,"domain":33,"license":15,"version":34,"subdomain":26,"description":7},[26,27,28,29,30,31],"digital-forensics","windows","prefetch","execution-history","incident-response","malware-analysis","mahipal","cybersecurity","1.0","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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-windows-prefetch-with-python",{"tool":47,"command":48},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-windows-prefetch-with-python",{"tool":50,"command":51},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill analyzing-windows-prefetch-with-python","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-windows-prefetch-with-python\u002FSKILL.md",true,[55,59,65],{"path":56,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fapi-reference.md","REFERENCE","参考文档",1769,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-windows-prefetch-with-python\u002Freferences\u002Fapi-reference.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fagent.py","SCRIPT","脚本",7169,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fanalyzing-windows-prefetch-with-python\u002Fscripts\u002Fagent.py",[72,81,88,95,102,109],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"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",[],[],"2026-11-12 13:55:43",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":80},"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":80},"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":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":80},"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",[],[]]