[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H8RZXJ7SSNKKB3CQTA11W":3,"skill-same:01M71H8RZXJ7SSNKKB3CQTA11W":91},{"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":64,"commitSha":65,"skillDirectory":66,"forksCount":14,"repositoryHtmlUrl":67,"repositoryHomepageUrl":6,"ownerHtmlUrl":68,"ownerBlogUrl":6,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M71H8RZXJ7SSNKKB3CQTA11W","filesystem-artifacts-prefetchpy-detect",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.","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\u002Fwindows\u002Ffilesystem\u002Fartifacts\u002Fprefetchpy\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"artifacts","detect","filesystem artifacts prefetchpy detect","filesystem","de","suspicious","program","analysis","Bash","cybersecurity","files","execution-history","t1059","execution","prefetch","python","incident","parse","history","windows","2026-11-10 10:12:30",false,"---\nname: filesystem-artifacts-prefetchpy-detect\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\nnist_csf:\n- RS.AN-01\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1204\n- T1036\ncapec: []\n---\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,"capec":48,"model":49,"tools":50,"domain":28,"maxTurns":54,"nist_csf":55,"subdomain":45,"description":7,"mitre_attack":60},[45,38,33,30,46,47],"digital-forensics","incident-response","malware-analysis",[],"sonnet",[51,27,52,53],"Read","Glob","Grep",20,[56,57,58,59],"RS.AN-01","RS.AN-03","DE.AE-02","RS.MA-01",[61,62,63],"T1059","T1204","T1036","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fwindows\u002Ffilesystem\u002Fartifacts\u002Fprefetchpy\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill filesystem-artifacts-prefetchpy-detect",{"tool":77,"command":78},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill filesystem-artifacts-prefetchpy-detect",{"tool":80,"command":81},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill filesystem-artifacts-prefetchpy-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Ffilesystem\u002Fartifacts\u002Fprefetchpy\u002Fdetect\u002FSKILL.md",true,[85],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"index.json","REFERENCE","参考文档",729,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Ffilesystem\u002Fartifacts\u002Fprefetchpy\u002Fdetect\u002Findex.json",[92,102,125,146,166,187],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"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":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",[],[109,20,110,111,112,113,114,28,115,116,117,118,119,120,121,122,123,124,23],"services","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"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",[],[132,111,133,109,134,135,27,26,136,28,137,138,139,140,141,142,143,144,23,145],"exec","services wmi exec exploit","exploit","across","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"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",[],[153,154,155,156,45,49,157,158,159,160,142,23,161,162,26,163,27,28,164,165],"extract","registry artifact extract","registry","artifact","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"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",[],[173,174,175,20,28,176,124,177,38,178,113,23,179,180,181,182,183,184,185,186],"processes","token","processes token impersonate detect","techniques","escalation","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"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",[],[194,173,195,20,196,197,114,23,179,198,199,200,26,113,28,176,201,124,202,38],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]