chflags

Created by demonduck

Description

The chflags utility modifies the file flags of the listed files as specified by the flags operand.

CreatedTacticsTags
2024-07-25Defense Evasionfinder

Paths

  • /usr/bin/chflags

Use Cases

Hide a file

Add the hidden flag to a file or directory to prevent it from being visible in Finder and Terminal.

chflags hidden ~/evil

Remove hidden flag

Remove the hidden flag to a file or directory to make it visible in Finder and Terminal.

chflags nohidden ~/evil

Detections

  • No detections at time of publishing

Resources