Skip to content

Enhance runtime monitoring with three new detectors for FIFO files, hardlinks, and expanded permission controls#16

Merged
kuzyka merged 6 commits into
release-0.2from
expertise-update
Jun 2, 2026
Merged

Enhance runtime monitoring with three new detectors for FIFO files, hardlinks, and expanded permission controls#16
kuzyka merged 6 commits into
release-0.2from
expertise-update

Conversation

@kuzyka
Copy link
Copy Markdown
Collaborator

@kuzyka kuzyka commented Apr 19, 2026

Add new CS_RT_FIFO_FILE_CREATE, CS_RT_HARDLINK_CREATE detectors, enhance CS_RT_BIN_PERM_RAISE with kprobe support, and update tracing policies for improved threat coverage.

Detector Enhancements:

  • CS_RT_BIN_PERM_RAISE (v3): Extended to detect chmod operations via kprobe (security_path_chmod), now monitors execution permission grants on boot, dev, home, media, mnt, run, sys, tmp, and var directories
  • CS_RT_HARDLINK_CREATE (new): Detects hardlink creation to sensitive system files via security_path_link kprobe
  • CS_RT_FIFO_FILE_CREATE (new): Identifies potential reverse shell establishment via named pipe file or audit policy bypass attempts

Monitoring Policy Updates:

  • Renamed process-credentialspermissions: Now tracks both commit_creds() privilege escalation and security_path_chmod() with execute permissions
  • Renamed dupio-streams: Monitors do_dup2() calls (STDIN copying) and FIFO pipe creation via security_path_mknod() for reverse shell detection
  • Enhanced file-monitoring.yaml: Updated with new hardlink monitoring and refined file access rules

@kuzyka kuzyka requested a review from torkel-hoge April 19, 2026 15:54
@kuzyka kuzyka self-assigned this Apr 19, 2026
@kuzyka kuzyka added the expertise New detection rules or sources label May 8, 2026
@nikiladonya nikiladonya changed the base branch from main to release-0.2 June 2, 2026 11:03
@kuzyka kuzyka merged commit c8f2f5c into release-0.2 Jun 2, 2026
4 checks passed
@nikiladonya nikiladonya deleted the expertise-update branch June 3, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

expertise New detection rules or sources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant