Postgres Process Creating Cron Jobs or Scheduled Tasks (Persistence)
Detects when the Postgres service process or account attempts to modify system-level persistence mechanisms, such as scheduled tasks (cron/schtasks) or system services (systemd/startup folders), which are typical behaviors for an adversary using database service context to maintain persistence.
Microsoft Sentinel (KQL)

