{"id":502,"date":"2018-11-16T18:36:27","date_gmt":"2018-11-16T18:36:27","guid":{"rendered":"http:\/\/unordnung.net\/misc\/?p=4"},"modified":"2018-11-16T18:36:27","modified_gmt":"2018-11-16T18:36:27","slug":"auditd","status":"publish","type":"post","link":"https:\/\/unordnung.net\/misc\/2018\/11\/auditd\/","title":{"rendered":"auditd"},"content":{"rendered":"<p>Mit auditd kann man unter anderm \u00c4nderungen an bestimmten Dateien \u00fcberwachen lassen<\/p>\n<blockquote><p><em>auditctl -w \/file\/path -p rwxa -k filter_key_in_aureport<\/em><\/p><\/blockquote>\n<p>Report ausgeben:<\/p>\n<blockquote><p><em>aureport -f \/file\/path<\/em><\/p><\/blockquote>\n<p>Mit aureport kann man sich z.B. auch Login und Auth-Versuche anzeigen lassen:<\/p>\n<blockquote><p><em># aureport -au<\/em><br \/>\n<em>Authentication Report<\/em><br \/>\n<em>============================================<\/em><br \/>\n<em># date time acct host term exe success event<\/em><br \/>\n<em>============================================<\/em><br \/>\n<em>1. 11\/16\/2018 19:15:46 dexter x.x.x.x ssh \/usr\/sbin\/sshd no 40<\/em><br \/>\n<em>2. 11\/16\/2018 19:16:47 viper x.x.x.x ssh \/usr\/sbin\/sshd no 51<\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mit auditd kann man unter anderm \u00c4nderungen an bestimmten Dateien \u00fcberwachen lassen auditctl -w \/file\/path -p rwxa -k filter_key_in_aureport Report ausgeben: aureport -f \/file\/path Mit aureport kann man sich z.B. auch Login und Auth-Versuche anzeigen lassen: # aureport -au Authentication Report ============================================ # date time acct host term exe success event ============================================ 1. 11\/16\/2018 19:15:46 &#8230; <a title=\"auditd\" class=\"read-more\" href=\"https:\/\/unordnung.net\/misc\/2018\/11\/auditd\/\">Read more<span class=\"screen-reader-text\">auditd<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[4],"tags":[9,46,64],"class_list":["post-502","post","type-post","status-publish","format-aside","hentry","category-to_remember","tag-audit","tag-linux","tag-security","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}