Elastic medium deprecated eql
Deprecated - Remote File Creation on a Sensitive Directory
Discovery of files created by a remote host on sensitive directories and folders. Remote file creation in these directories could indicate a malicious binary or script trying to compromise the system.
Detection Logic
file where event.action in ("creation", "modification") and
not user.name:("SYSTEM", "root") and
process.name in ("System", "scp", "sshd", "smbd", "vsftpd", "sftp-server") and
(
file.path : (
"?:\\Users\\*\\AppData\\Roaming*", "?:\\Program Files*",
"?:\\Windows\\*", "?:\\Windows\\System\\*",
"?:\\Windows\\System32\\*", "/etc/*", "/tmp*",
"/var/tmp*", "/home/*/.*", "/home/.*", "/usr/bin/*",
"/sbin/*", "/bin/*", "/usr/lib/*", "/usr/sbin/*",
"/usr/share/*", "/usr/local/*", "/var/lib/dpkg/*",
"/lib/systemd/*"
)
) Field Validations
Loading…
Comments (0)
Loading comments...