Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Which parts of system changed and by who?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Which parts of system changed and by who?

#1 Post by hack3rcon »

Hello,
How can I find which parts of system changed and by who? For example, the IP address of a NIC or content of a file.

Thank you.

User avatar
ruwolf
Posts: 640
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 40 times
Been thanked: 29 times

Re: Which parts of system changed and by who?

#2 Post by ruwolf »

You probably want something like auditd.

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Which parts of system changed and by who?

#3 Post by hack3rcon »

ruwolf wrote:You probably want something like auditd.
I guess it is installed by default? A log file like "audit" under "var" directory never tell me that which parts of system changed. For example, the IP address of eth0 was 192.168.0.1 and "jason" user changed it to "192.168.0.2" .

User avatar
ruwolf
Posts: 640
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 40 times
Been thanked: 29 times

Re: Which parts of system changed and by who?

#4 Post by ruwolf »

I do not think, it is installed by default.
You should install it and configure it for which file(s) you want to monitor...

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Which parts of system changed and by who?

#5 Post by hack3rcon »

I installed it and did a test as below:

Code: Select all

# auditctl -w "/etc/networks" -k "network_log"
Then open that file with "nano" and added a comment line then:

Code: Select all

# ausearch -k "network_log" | aureport -f -i
But it can't show me the line that I added.
Any idea?

Post Reply