Got rkhunter working for HIDS; operational fixes for Sharingan

这个提交包含在:
2022-05-03 16:57:52 -05:00
父节点 d0146770a4
当前提交 01dde4008d
共有 40 个文件被更改,包括 299 次插入580 次删除

查看文件

@@ -1,14 +0,0 @@
[Unit]
Description=Sharingan-IDS | Freshclam service
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=freshclam
User=root
group=root
[Install]
WantedBy=multi-user.target

查看文件

@@ -1,11 +0,0 @@
[Unit]
Description=Sharingan-IDS | Update AV definitions
[Timer]
OnCalendar=14:00
Persistent=false
[Install]
WantedBy=timers.target
#EOF

查看文件

@@ -0,0 +1,16 @@
[Unit]
Description=Sharingan-IDS | Vulnerability scanning
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStartPre=clamscan -r / -i --exclude-dir="/srv/ygddrasil" --exclude-dir="/dev" --exclude-dir="/sys" --exclude-dir="/proc" --exclude-dir="/media/Infected/" --exclude-dir="/etc/snort/rules" --exclude-dir="/etc/suricata/rules"
ExecStart=lynis audit system
ExecStartPost=systemd-cat -t sharingan-vulns arch-audit
User=root
group=root
[Install]
WantedBy=multi-user.target

查看文件

@@ -1,5 +1,5 @@
[Unit]
Description=Sharingan-IDS | rkhunter timer
Description=Sharingan-IDS | Vulnerability scanning
[Timer]
OnCalendar=15:00

查看文件

@@ -1,14 +0,0 @@
[Unit]
Description=Sharingan-IDS | rkhunter HIDS
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=rkhunter --check --sk
User=root
group=root
[Install]
WantedBy=multi-user.target