Skip to content

Conversation

@Immortus1
Copy link

@Immortus1 Immortus1 commented Mar 29, 2025

Users can continuously add files to be monitored by updating allowed_files.json. Only the files listed in this JSON file will be actively monitored.

Tracepoints Implemented:
Five syscall tracepoints have been attached for monitoring:

  • sys_enter_write
  • sys_enter_renameat2
  • sys_enter_fchmodat
  • sys_enter_fchownat
  • sys_exit_close

File Monitoring Features:
The input format for allowed files has been changed to JSON for better structure and readability.

  • A function has been added to resolve full file paths based on the process PID.

Additional helper functions have been created to:

  1. Append new files to the allowed list.
    32 Remove files from the list when they are deleted or renamed.

These enhancements improve dynamic file tracking and ensure accurate monitoring of specified files.

@Immortus1 Immortus1 changed the title User-specified file monitoring with continuous file addition User-specified file monitoring with continuous file addition and tracepoints added. Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant