mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 16:24:13 +02:00
Added NETW-3032 to test for ARP monitoring software like arpwatch
This commit is contained in:
parent
31b5c0bb42
commit
6b3c32b61f
@ -492,22 +492,6 @@
|
|||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
|
||||||
# Test : NETW-3032
|
|
||||||
# Description : Checking for ARP-Spoofing monitoring software
|
|
||||||
Register --test-no NETW-3032 --os Linux --weight L --network NO --description "Checking for ARP-Spoofing monitoring software"
|
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
|
||||||
IsRunning arpwatch
|
|
||||||
if [ ${RUNNING} -eq 1 ]; then
|
|
||||||
ARPWATCH_RUNNING=1
|
|
||||||
Display --indent 2 --text "Checking for ARP-Spoofing monitoring software" --result RUNNING --color GREEN
|
|
||||||
else
|
|
||||||
Display --indent 2 --text "Checking for ARP-Spoofing monitoring software" --result "NOT FOUND" --color RED
|
|
||||||
ReportSuggestion ${TEST_NO} "Install ARP-Spoofing attack monitoring software like 'arpwatch'"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
#
|
|
||||||
#################################################################################
|
|
||||||
#
|
#
|
||||||
# Test : NETW-3030
|
# Test : NETW-3030
|
||||||
# Description : Checking for DHCP client
|
# Description : Checking for DHCP client
|
||||||
@ -523,6 +507,22 @@
|
|||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
#
|
||||||
|
# Test : NETW-3032
|
||||||
|
# Description : Checking for ARP spoofing and related monitoring software
|
||||||
|
Register --test-no NETW-3032 --os Linux --weight L --network NO --description "Checking for ARP monitoring software"
|
||||||
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
|
IsRunning arpwatch
|
||||||
|
if [ ${RUNNING} -eq 1 ]; then
|
||||||
|
ARPWATCH_RUNNING=1
|
||||||
|
Display --indent 2 --text "Checking for ARP monitoring software" --result RUNNING --color GREEN
|
||||||
|
else
|
||||||
|
Display --indent 2 --text "Checking for ARP monitoring software" --result "NOT FOUND" --color YELLOW
|
||||||
|
ReportSuggestion ${TEST_NO} "Install ARP monitoring software like arpwatch"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
#
|
||||||
|
#################################################################################
|
||||||
#
|
#
|
||||||
|
|
||||||
report "dhcp_client_running=${DHCP_CLIENT_RUNNING}"
|
report "dhcp_client_running=${DHCP_CLIENT_RUNNING}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user