info: name: Hard Disk Default Share Removal Check author: nukunga[SungHyunJeon] severity: medium description: | Ensure default administrative shares (e.g., C$, D$, Admin$) are disabled by verifying that the AutoShareServer registry value is set to 0. Leaving these shares enabled can expose system resources to unauthorized access. impact: | If the AutoShareServer registry value is set to 1 or default administrative shares (excluding IPC$) are present, attackers may exploit them to gain unauthorized access to system resources. remediation: | Permanently disable default administrative shares by setting the AutoShareServer registry value to 0 at: - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters - Additionally, remove any non-essential default shares using the appropriate system management tools. reference: - https://isms.kisa.or.kr/main/csap/notice/?boardId=bbs_0000000000000004&mode=view&cntId=85 tags: ftp,iis,code,windows-audit,kisa,share-permissions