LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-21-2018, 06:22 PM   #1
lucaslo
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
Setting a linux-audit rule to a ppid and all ppid's descendents


Hi,

I'm working on a honeypot and auditing it.
I have a server with several containers in it.

All the process from those containers are children of a process of id X

So if I use this rule

Quote:
auditctl -a always,exit -S all -F ppid X
I can see all the syscalls that have this ppid. FOr an example:

If I start the program "top" on a container, top is children of bash and bash is children of X. I need to see all the syscalls, but i'm only getting the ones from the bash, the first children.

Is there a way to set a rule to do this recursively to all it's children?

I really would rather continue using linux-audit instead of dtrace.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to see PPID of a sudo call? Hewson Linux - Software 2 02-12-2010 01:52 PM
why is the ppid is 1 for a user process? venkat_k Programming 5 04-11-2009 06:47 PM
PPID from /proc file system? sanjaykhuntia Linux - Enterprise 1 10-26-2007 03:40 PM
pidof -o %PPID program vanalex Linux - General 2 01-26-2004 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration