Continuously capture screenshotsCollectionmacOSThe following command demonstrates how an attacker can use the tool to capture screenshots every 10 seconds. The -x flag prevents snapshot sounds from being played.while true; do ts=$(date +"%Y%m%d-%H%M%S"); o="/tmp/screenshots"; screencapture -x "$o/ss-$ts.png"; sleep 10; donecopyEvidenceUpstream referenceEnvironmentLocal hostCompatibilityImported from LOOBins; availability and behaviour depend on macOS version, privacy permissions and installed components. Not lab tested here.NativeCollectionDetectionSigma: Screen Capture - macOS: github.com/SigmaHQ/sigma/blob/master/rules/macos/process_creation/proc_creation_macos_screencapture.ymlRefsgithub.com/infosecB/LOOBins/blob/399e3c4bdddb55c7dc49beb20bfe43490eac1184/LOOBins/screencapture.ymlss64.com/osx/screencapture.html