Questions tagged [auditd]
auditd is the userspace component to the Linux Auditing System.
166 questions
0
votes
1
answer
277
views
journald is suppressing auditd events sent out by rsyslogd
I've encounterd an odd behavior I do not fully understand. Journald is supressing auditd messages being send out by rsyslog to a remote server for some reason on my centos 7-x64 VM:
Thats the ...
2
votes
0
answers
264
views
Prevent log message about ALLOWED apparmor events
On some Ubuntu 22 and 24 systems, syslog is being cluttered with messages like this which is completely uninteresting:
Feb 05 16:17:01 myhost.example.com audit[353829]: AVC apparmor="ALLOWED"...
1
vote
1
answer
407
views
Why is auditctl -l output not as expected?
I have an /etc/audit/rules.d/audit.rules file with the following:
-a always,exit -F arch=b32 -S chown,fchown,fchownat,lchown -F auid>=1000 ...etc...
-a always,exit -F arch=b64 -S chown,fchown,...
0
votes
1
answer
113
views
Using destination file name vs destination directory when moving a file creates auditd logging dilemma
I am trying to log file operations using auditd (audit 4.0.1) and came across an issue with moving files. If I include the filename in the destination:
mv /mnt/user/home/file.txt /mnt/user/home/...
1
vote
0
answers
25
views
Watch a lwp-download activity in the audit.log
I've installed the lwp-download package on Debian 11 and add some rules into auditd custom.rules file.
-i
--reset-lost
-a always,exit -F arch=b64 -S execve -F exe=/usr/bin/lwp-download -k github_bash
...
0
votes
1
answer
242
views
Is there a way to prevent log spamming with rsyslog?
I have AuditD running and one process like to constantly spawn children processes that do the same activity. Is there a way to have rsyslog not send in the same log message again? The hard part is the ...
0
votes
0
answers
541
views
SELinux silently blocking PHP process listing
I have a system where we use PHP to run some rudimentary health checks on the server. When hitting a status page, it verifies that certain processes are running, and returns an error message if ...
1
vote
0
answers
720
views
How to set proctitle to ascii in auditd?
I configured auditd to send the logs to SIEM through rsyslog.
But when I get those logs the proctitle is in hex.
Ex.:
<134>Aug 25 17:08:44 vmauditd tag_audit_log: node=vmauditd type=PROCTITLE ...
1
vote
1
answer
240
views
auditd.conf - when is "verify_email" actually checked?
When using an email address in /etc/audit/auditd.conf, there is an option verify_email which is defined as,
This option determines if the email address given in action_mail_acct is checked to see if ...
3
votes
1
answer
8k
views
Linux Auditd: Error receiving audit netlink packet (No buffer space available)
I have some Linux servers that are getting errors like the below in the logs...
auditd[1074]: Error receiving audit netlink packet (No buffer space available)
I know HOW to resolve the issue (tweak ...
1
vote
1
answer
895
views
Audit log emails not going to the correct address
On Ubuntu 20, I'm trying to send audit logs to [email protected]. I do have a real domain and email server but I'm redacting them here. When I trigger an audit event, the email is instead sent ...
2
votes
2
answers
3k
views
What can you do when auditd halts the system?
I recently had an issue where my server powered off in the middle of running a script, seemingly randomly, but at about the same point each time, and then whenever I tried to power the server on again ...
1
vote
1
answer
228
views
Auditd - Don't log events from salt-minion
I'm updating our Auditd rules (Red Hat Linux) to log all tty/interactive commands from all users. That part works no problem.
What I'm trying to do now is to exclude commands issued by our salt-...
0
votes
1
answer
462
views
Audit Log Partition keeps getting corrupted. How to prevent or boot anyway?
I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...
1
vote
2
answers
1k
views
Find process that makes outbound HTTP calls, trying auditd with syslog-ng
Some of application (it's unknown) makes sporadic nonregular rare short outbound HTTP(S) requests to a known host/port/url (this is a WAF honeypot, host/url/port is known) using HTTPS protocol.
...