[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71EPA8ZJGA28CM9DJQ8W41J":3,"skill-same:01M71EPA8ZJGA28CM9DJQ8W41J":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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":14,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":6,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M71EPA8ZJGA28CM9DJQ8W41J","hardware-usb-policy-create-configure",null,"Implements USB device control policies to restrict unauthorized removable media access on endpoints, preventing data exfiltration and malware introduction via USB devices. Use when deploying device control via Group Policy, Intune, or EDR platforms to enforce USB restrictions. Activates for requests involving USB control, removable media policy, device control, or data loss prevention via USB.","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\u002Flinux\u002Fhardware\u002Fusb\u002Fpolicy\u002Fcreate\u002Fconfigure\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"usb","create","policy","hardware usb policy create configure","hardware","configure","de","intune","exfiltration","Bash","when","access","cybersecurity","edr","removable-media","data-loss-prevention","endpoint-security","cm","Media","data loss prevention","2026-11-10 10:12:30",false,"---\nname: hardware-usb-policy-create-configure\ndescription: Implements USB device control policies to restrict unauthorized removable media access on endpoints, preventing data exfiltration and malware introduction via USB devices. Use when deploying device control via Group Policy, Intune, or EDR platforms to enforce USB restrictions. Activates for requests involving USB control, removable media policy, device control, or data loss prevention via USB.\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- USB-control\n- device-control\n- data-loss-prevention\n- removable-media\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1041\ncapec: []\n---\n\n# Implementing USB Device Control Policy\n\n## When to Use\n\nUse this skill when:\n- Restricting USB storage devices to prevent data exfiltration or malware introduction\n- Implementing device control policies via GPO, Intune, or EDR device control modules\n- Creating USB whitelists for authorized devices while blocking all others\n- Meeting compliance requirements for removable media control (PCI DSS, HIPAA)\n\n**Do not use** for network-based DLP or cloud storage restrictions.\n\n## Prerequisites\n\n- Active Directory GPO or Microsoft Intune for policy deployment\n- Device Instance IDs of authorized USB devices\n- EDR with device control module (CrowdStrike, Microsoft Defender for Endpoint)\n- Understanding of USB device classes (mass storage, HID, printer, etc.)\n\n## Workflow\n\n### Step 1: Inventory Current USB Usage\n\n```powershell\n# Enumerate currently connected USB devices\nGet-PnpDevice -Class USB | Select-Object InstanceId, FriendlyName, Status\n\n# Query USB storage history from registry\nGet-ItemProperty \"HKLM:\\SYSTEM\\CurrentControlSet\\Enum\\USBSTOR\\*\\*\" |\n  Select-Object FriendlyName, ContainerID, HardwareID\n\n# Collect USB usage across fleet (via EDR or scripts)\n# CrowdStrike: Investigate → USB Device Activity\n# MDE: DeviceEvents | where ActionType == \"UsbDriveMounted\"\n```\n\n### Step 2: Configure GPO Device Control\n\n```\nComputer Configuration → Administrative Templates → System → Removable Storage Access\n\n- All Removable Storage classes: Deny all access → Enabled\n  (Block read AND write for all removable storage)\n\nOR for granular control:\n- CD and DVD: Deny read access → Enabled\n- Removable Disks: Deny write access → Enabled (read-only USB)\n- Tape Drives: Deny all access → Enabled\n- WPD Devices: Deny all access → Enabled\n\nTo allow specific approved USB devices:\nComputer Configuration → Administrative Templates → System → Device Installation\n  → Device Installation Restrictions\n\n- Prevent installation of devices not described by other policy settings → Enabled\n- Allow installation of devices that match any of these device IDs → Enabled\n  Add approved Device IDs: USB\\VID_0781&PID_5583 (example: SanDisk Cruzer)\n```\n\n### Step 3: Deploy via Microsoft Defender for Endpoint\n\n```xml\n\u003C!-- MDE Device Control policy (XML format) -->\n\u003CPolicyGroups>\n  \u003CGroup Id=\"{d9a81dc0-1234-5678-9abc-def012345678}\"\n    Type=\"Device\" Name=\"Approved USB Devices\">\n    \u003CMatchClause>\n      \u003CMatchType>VID_PID\u003C\u002FMatchType>\n      \u003CMatchData>0781_5583\u003C\u002FMatchData> \u003C!-- SanDisk -->\n    \u003C\u002FMatchClause>\n  \u003C\u002FGroup>\n\u003C\u002FPolicyGroups>\n\n\u003CPolicyRules>\n  \u003CRule Id=\"{rule-guid}\" Name=\"Block unapproved USB storage\">\n    \u003CIncludedIdList>\n      \u003CPrimaryId>RemovableMediaDevices\u003C\u002FPrimaryId>\n    \u003C\u002FIncludedIdList>\n    \u003CExcludedIdList>\n      \u003CGroupId>{d9a81dc0-1234-5678-9abc-def012345678}\u003C\u002FGroupId>\n    \u003C\u002FExcludedIdList>\n    \u003CEntry>\n      \u003CType>Deny\u003C\u002FType>\n      \u003CAccessMask>63\u003C\u002FAccessMask> \u003C!-- All access -->\n      \u003COptions>4\u003C\u002FOptions> \u003C!-- Show notification -->\n    \u003C\u002FEntry>\n  \u003C\u002FRule>\n\u003C\u002FPolicyRules>\n```\n\n### Step 4: Audit and Monitor\n\n```\n# Monitor USB events in SIEM:\n# Windows Event ID 6416 - New external device recognized\n# Windows Event ID 4663 - File access on removable media\n# MDE: DeviceEvents where ActionType contains \"Usb\"\n\n# Generate USB activity reports monthly\n# Track: blocked attempts, approved device usage, exception requests\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **VID\u002FPID** | Vendor ID and Product ID that uniquely identify USB device models |\n| **Device Instance ID** | Unique identifier for a specific physical USB device |\n| **Device Control** | EDR\u002Fendpoint feature restricting device access based on type, vendor, or serial number |\n| **USB Class** | USB device category (mass storage 08h, HID 03h, printer 07h) |\n\n## Tools & Systems\n\n- **Microsoft Defender Device Control**: MDE module for USB restriction policies\n- **CrowdStrike Falcon Device Control**: EDR-based USB policy enforcement\n- **Group Policy (Removable Storage Access)**: Built-in Windows USB restriction via GPO\n- **Endpoint Protector**: Third-party device control and DLP solution\n\n## Common Pitfalls\n\n- **Blocking all USB without exception**: Keyboards and mice are USB HID devices. Block only mass storage class, not all USB.\n- **Not communicating policy to users**: USB blocks without user notification generate helpdesk tickets. Display a notification explaining the policy.\n- **Ignoring USB-C and Thunderbolt**: Modern devices use USB-C for docking, charging, and storage. Policies must distinguish between USB storage and USB peripherals.\n- **No approved device process**: Users with legitimate USB needs (presentations, field data collection) require an exception process with approved, encrypted devices.\n","# Implementing USB Device Control Policy\n\n## When to Use\n\nUse this skill when:\n- Restricting USB storage devices to prevent data exfiltration or malware introduction\n- Implementing device control policies via GPO, Intune, or EDR device control modules\n- Creating USB whitelists for authorized devices while blocking all others\n- Meeting compliance requirements for removable media control (PCI DSS, HIPAA)\n\n**Do not use** for network-based DLP or cloud storage restrictions.\n\n## Prerequisites\n\n- Active Directory GPO or Microsoft Intune for policy deployment\n- Device Instance IDs of authorized USB devices\n- EDR with device control module (CrowdStrike, Microsoft Defender for Endpoint)\n- Understanding of USB device classes (mass storage, HID, printer, etc.)\n\n## Workflow\n\n### Step 1: Inventory Current USB Usage\n\n```powershell\n# Enumerate currently connected USB devices\nGet-PnpDevice -Class USB | Select-Object InstanceId, FriendlyName, Status\n\n# Query USB storage history from registry\nGet-ItemProperty \"HKLM:\\SYSTEM\\CurrentControlSet\\Enum\\USBSTOR\\*\\*\" |\n  Select-Object FriendlyName, ContainerID, HardwareID\n\n# Collect USB usage across fleet (via EDR or scripts)\n# CrowdStrike: Investigate → USB Device Activity\n# MDE: DeviceEvents | where ActionType == \"UsbDriveMounted\"\n```\n\n### Step 2: Configure GPO Device Control\n\n```\nComputer Configuration → Administrative Templates → System → Removable Storage Access\n\n- All Removable Storage classes: Deny all access → Enabled\n  (Block read AND write for all removable storage)\n\nOR for granular control:\n- CD and DVD: Deny read access → Enabled\n- Removable Disks: Deny write access → Enabled (read-only USB)\n- Tape Drives: Deny all access → Enabled\n- WPD Devices: Deny all access → Enabled\n\nTo allow specific approved USB devices:\nComputer Configuration → Administrative Templates → System → Device Installation\n  → Device Installation Restrictions\n\n- Prevent installation of devices not described by other policy settings → Enabled\n- Allow installation of devices that match any of these device IDs → Enabled\n  Add approved Device IDs: USB\\VID_0781&PID_5583 (example: SanDisk Cruzer)\n```\n\n### Step 3: Deploy via Microsoft Defender for Endpoint\n\n```xml\n\u003C!-- MDE Device Control policy (XML format) -->\n\u003CPolicyGroups>\n  \u003CGroup Id=\"{d9a81dc0-1234-5678-9abc-def012345678}\"\n    Type=\"Device\" Name=\"Approved USB Devices\">\n    \u003CMatchClause>\n      \u003CMatchType>VID_PID\u003C\u002FMatchType>\n      \u003CMatchData>0781_5583\u003C\u002FMatchData> \u003C!-- SanDisk -->\n    \u003C\u002FMatchClause>\n  \u003C\u002FGroup>\n\u003C\u002FPolicyGroups>\n\n\u003CPolicyRules>\n  \u003CRule Id=\"{rule-guid}\" Name=\"Block unapproved USB storage\">\n    \u003CIncludedIdList>\n      \u003CPrimaryId>RemovableMediaDevices\u003C\u002FPrimaryId>\n    \u003C\u002FIncludedIdList>\n    \u003CExcludedIdList>\n      \u003CGroupId>{d9a81dc0-1234-5678-9abc-def012345678}\u003C\u002FGroupId>\n    \u003C\u002FExcludedIdList>\n    \u003CEntry>\n      \u003CType>Deny\u003C\u002FType>\n      \u003CAccessMask>63\u003C\u002FAccessMask> \u003C!-- All access -->\n      \u003COptions>4\u003C\u002FOptions> \u003C!-- Show notification -->\n    \u003C\u002FEntry>\n  \u003C\u002FRule>\n\u003C\u002FPolicyRules>\n```\n\n### Step 4: Audit and Monitor\n\n```\n# Monitor USB events in SIEM:\n# Windows Event ID 6416 - New external device recognized\n# Windows Event ID 4663 - File access on removable media\n# MDE: DeviceEvents where ActionType contains \"Usb\"\n\n# Generate USB activity reports monthly\n# Track: blocked attempts, approved device usage, exception requests\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **VID\u002FPID** | Vendor ID and Product ID that uniquely identify USB device models |\n| **Device Instance ID** | Unique identifier for a specific physical USB device |\n| **Device Control** | EDR\u002Fendpoint feature restricting device access based on type, vendor, or serial number |\n| **USB Class** | USB device category (mass storage 08h, HID 03h, printer 07h) |\n\n## Tools & Systems\n\n- **Microsoft Defender Device Control**: MDE module for USB restriction policies\n- **CrowdStrike Falcon Device Control**: EDR-based USB policy enforcement\n- **Group Policy (Removable Storage Access)**: Built-in Windows USB restriction via GPO\n- **Endpoint Protector**: Third-party device control and DLP solution\n\n## Common Pitfalls\n\n- **Blocking all USB without exception**: Keyboards and mice are USB HID devices. Block only mass storage class, not all USB.\n- **Not communicating policy to users**: USB blocks without user notification generate helpdesk tickets. Display a notification explaining the policy.\n- **Ignoring USB-C and Thunderbolt**: Modern devices use USB-C for docking, charging, and storage. Policies must distinguish between USB storage and USB peripherals.\n- **No approved device process**: Users with legitimate USB needs (presentations, field data collection) require an exception process with approved, encrypted devices.\n",{"name":5,"tags":44,"capec":48,"model":49,"tools":50,"domain":31,"maxTurns":54,"nist_csf":55,"subdomain":35,"description":7,"mitre_attack":60},[45,46,47,34,33],"endpoint","USB-control","device-control",[],"sonnet",[51,28,52,53],"Read","Glob","Grep",20,[56,57,58,59],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01",[61],"T1041","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Flinux\u002Fhardware\u002Fusb\u002Fpolicy\u002Fcreate\u002Fconfigure","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill hardware-usb-policy-create-configure",{"tool":75,"command":76},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill hardware-usb-policy-create-configure",{"tool":78,"command":79},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill hardware-usb-policy-create-configure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fhardware\u002Fusb\u002Fpolicy\u002Fcreate\u002Fconfigure\u002FSKILL.md",true,[83],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"index.json","REFERENCE","参考文档",719,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fhardware\u002Fusb\u002Fpolicy\u002Fcreate\u002Fconfigure\u002Findex.json",[90,100,123,145,166,188],{"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":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[107,108,109,110,111,112,113,31,114,115,116,117,118,119,120,121,122,36,25],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"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},"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",[],[130,110,131,107,132,133,28,134,135,31,136,137,138,139,140,141,142,143,25,144],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"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",[],[152,153,154,155,156,49,157,158,159,160,141,25,161,162,134,163,28,31,164,165],"extract","registry artifact extract","registry","artifact","digital-forensics","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,108,31,176,36,177,178,179,112,25,180,181,182,183,184,185,186,187],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"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",[],[195,173,196,108,197,198,113,25,180,199,200,201,134,112,31,176,202,36,203,178],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]