Skip to content
Threat Feed
medium advisory

Detection of Registry Modifications to Disable Hidden File Visibility

Adversaries frequently modify Windows registry keys to prevent users from viewing hidden and system files, a technique used to maintain persistence and camouflage malicious artifacts.

Adversaries often modify specific registry keys within the Windows Explorer configuration to alter how the operating system handles file visibility. By setting the 'Hidden' and 'ShowSuperHidden' registry values to zero (DWORD 0), attackers can suppress the display of hidden and protected operating system files. This modification effectively hides malicious payloads, dropped tools, and configuration files from a user's view in Windows Explorer, facilitating stealth during post-exploitation activities. This technique is commonly observed in various malware families aiming to evade manual discovery by local users. Security teams should monitor for unauthorized changes to these specific registry locations to detect potential attempts to manipulate file visibility settings as part of an attacker's evasion strategy.

Impact

Successful exploitation of this technique allows attackers to persist and maintain a low profile on compromised systems by obscuring malicious files. This reduces the likelihood of detection by non-technical users and complicates manual incident response efforts by hiding the presence of secondary staging directories or malware binaries.

Recommendation

Deploy detection rules to monitor for unauthorized modifications to registry keys governing hidden file display settings.

  • Implement the provided Sigma rule to alert on registry set events targeting 'Hidden' and 'ShowSuperHidden' values.
  • Audit endpoints for existing configurations where hidden file visibility has been globally disabled through these registry keys.
  • Correlate these registry modifications with other suspicious activities, such as unusual process creation or file system changes, to confirm malicious intent.

Immediate actions

Deploy the Sigma rule to monitor for registry-based hiding of files

Detection Engineering 48h

Threat Hunt

Search for historical registry set events where 'Hidden' or 'ShowSuperHidden' were set to 0

T1564.001 medium medium confidence hunt now

Data: Windows event logs (Registry)

Mitigations

Enforce visibility settings via Group Policy (GPO) to prevent unauthorized registry modification

medium_term IT Operations

T1564.001

Detection coverage 1

Detect Registry Modification to Disable Hidden File Visibility

medium

Detects modifications to the 'Hidden' and 'ShowSuperHidden' explorer registry values used to prevent displaying hidden files and system files.

sigma tactics: stealth techniques: T1564.001 sources: registry_set, windows

Detection queries are available on the platform. Get full rules →