Add "Find deleted files from disk" to Standard query library (#1481)

This commit is contained in:
AndrewB 2021-07-27 09:33:33 -04:00 committed by GitHub
parent cb10659277
commit 1decb2a56f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -436,3 +436,13 @@ spec:
query: SELECT uid, username, type, groupname FROM users u JOIN groups g ON g.gid = u.gid;
purpose: Informational
contributors: noahtalerman
---
apiVersion: v1
kind: query
spec:
name: Find deleted files from disk
platforms: Linux, macOS, Windows
description: Lists all processes of which the binary which launched them no longer exists on disk. Attackers often delete files from disk after launching process to mask presence.
query: SELECT name, path, pid FROM processes WHERE on_disk = 0;
purpose: Incident response
contributors: alphabrevity