Langsung ke konten
Skillpedia
Keamanan35k Β· #8134

implementing-usb-device-control-policy

Fungsinya

Fitur ini membantu Anda mengatur perangkat USB mana saja yang boleh terhubung ke komputer. Fitur ini mencegah orang memasang perangkat yang tidak resmi, seperti flash disk, untuk mencegah pencurian data atau masuknya virus.

Kapan dipakai

  • βœ“Saat Anda ingin mencegah flash disk dipakai untuk mencuri informasi.
  • βœ“Saat membuat aturan yang hanya mengizinkan flash disk tertentu yang sudah resmi.
  • βœ“Untuk memenuhi regulasi keamanan yang membatasi penggunaan media yang dapat dilepas.

Link skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-usb-device-control-policy/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-usb-device-control-policy/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAtur komputer agar memblokir semua flash disk USB, kecuali flash disk SanDisk saya dengan ID USB\VID_0781&PID_5583.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Sistem akan memeriksa perangkat USB yang terhubung dan mencocokkannya dengan daftar yang diizinkan. Jika perangkat tidak ada dalam daftar, perangkat tersebut akan diblokir.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Implementing USB Device Control Policy

When to Use

Use this skill when:

  • Restricting USB storage devices to prevent data exfiltration or malware introduction
  • Implementing device control policies via GPO, Intune, or EDR device control modules
  • Creating USB whitelists for authorized devices while blocking all others
  • Meeting compliance requirements for removable media control (PCI DSS, HIPAA)

Do not use for network-based DLP or cloud storage restrictions.

Prerequisites

  • Active Directory GPO or Microsoft Intune for policy deployment
  • Device Instance IDs of authorized USB devices
  • EDR with device control module (CrowdStrike, Microsoft Defender for Endpoint)
  • Understanding of USB device classes (mass storage, HID, printer, etc.)

Workflow

Step 1: Inventory Current USB Usage

# Enumerate currently connected USB devices
Get-PnpDevice -Class USB | Select-Object InstanceId, FriendlyName, Status

# Query USB storage history from registry
Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Enum\USBSTOR\*\*" |
  Select-Object FriendlyName, ContainerID, HardwareID

# Collect USB usage across fleet (via EDR or scripts)
# CrowdStrike: Investigate β†’ USB Device Activity
# MDE: DeviceEvents | where ActionType == "UsbDriveMounted"

Step 2: Configure GPO Device Control

Computer Configuration β†’ Administrative Templates β†’ System β†’ Removable Storage Access

- All Removable Storage classes: Deny all access β†’ Enabled
  (Block read AND write for all removable storage)

OR for granular control:
- CD and DVD: Deny read access β†’ Enabled
- Removable Disks: Deny write access β†’ Enabled (read-only USB)
- Tape Drives: Deny all access β†’ Enabled
- WPD Devices: Deny all access β†’ Enabled

To allow specific approved USB devices:
Computer Configuration β†’ Administrative Templates β†’ System β†’ Device Installation
  β†’ Device Installation Restrictions

- Prevent installation of devices not described by other policy settings β†’ Enabled
- Allow installation of devices that match any of these device IDs β†’ Enabled
  Add approved Device IDs: USB\VID_0781&PID_5583 (example: SanDisk Cruzer)

Step 3: Deploy via Microsoft Defender for Endpoint

<!-- MDE Device Control policy (XML format) -->
<PolicyGroups>
  <Group Id="{d9a81dc0-1234-5678-9abc-def012345678}"
    Type="Device" Name="Approved USB Devices">
    <MatchClause>
      <MatchType>VID_PID</MatchType>
      <MatchData>0781_5583</MatchData> <!-- SanDisk -->
    </MatchClause>
  </Group>
</PolicyGroups>

<PolicyRules>
  <Rule Id="{rule-guid}" Name="Block unapproved USB storage">
    <IncludedIdList>
      <PrimaryId>RemovableMediaDevices</PrimaryId>
    </IncludedIdList>
    <ExcludedIdList>
      <GroupId>{d9a81dc0-1234-5678-9abc-def012345678}</GroupId>
    </ExcludedIdList>
    <Entry>
      <Type>Deny</Type>
      <AccessMask>63</AccessMask> <!-- All access -->
      <Options>4</Options> <!-- Show notification -->
    </Entry>
  </Rule>
</PolicyRules>

Step 4: Audit and Monitor

# Monitor USB events in SIEM:
# Windows Event ID 6416 - New external device recognized
# Windows Event ID 4663 - File access on removable media
# MDE: DeviceEvents where ActionType contains "Usb"

# Generate USB activity reports monthly
# Track: blocked attempts, approved device usage, exception requests

Key Concepts

Term Definition
VID/PID Vendor ID and Product ID that uniquely identify USB device models
Device Instance ID Unique identifier for a specific physical USB device
Device Control EDR/endpoint feature restricting device access based on type, vendor, or serial number
USB Class USB device category (mass storage 08h, HID 03h, printer 07h)

Tools & Systems

  • Microsoft Defender Device Control: MDE module for USB restriction policies
  • CrowdStrike Falcon Device Control: EDR-based USB policy enforcement
  • Group Policy (Removable Storage Access): Built-in Windows USB restriction via GPO
  • Endpoint Protector: Third-party device control and DLP solution

Common Pitfalls

  • Blocking all USB without exception: Keyboards and mice are USB HID devices. Block only mass storage class, not all USB.
  • Not communicating policy to users: USB blocks without user notification generate helpdesk tickets. Display a notification explaining the policy.

…

Pertanyaan umum

Apa itu VID dan PID?

VID dan PID adalah kode unik yang mengidentifikasi produsen (VID) dan model (PID) dari sebuah perangkat USB, misalnya flash disk.

Bisakah saya memblokir semua perangkat USB?

Sebaiknya jangan memblokir semua perangkat USB, karena keyboard dan mouse juga merupakan perangkat USB dan bisa ikut tidak berfungsi.

Bagaimana cara mengizinkan flash disk USB tertentu?

Anda perlu mengetahui VID dan PID flash disk tersebut, lalu menambahkannya ke daftar pengecualian (exception) di pengaturan kebijakan.

Detail

Deskripsi asli dari pembuat

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. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularitas

Bintang GitHub
35k
Peringkat
#8134
Lisensi
Apache-2.0
Diperbarui
31/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa