From 4f5eedabfcc6eb015ef0c184e6ec829cc0cf7867 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 24 Sep 2015 16:45:03 +0200 Subject: Added the detection of LMD, or Linux Malware Detect tooling --- include/tests_malware | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'include/tests_malware') diff --git a/include/tests_malware b/include/tests_malware index 75517156..5903826b 100644 --- a/include/tests_malware +++ b/include/tests_malware @@ -62,6 +62,23 @@ fi # ################################################################################# +# + # Test : MALW-3278 + # Description : Check for installed tool (Linux Malware Detect or LMD) + Register --test-no MALW-3278 --weight L --network NO --description "Check for LMD" + if [ ${SKIPTEST} -eq 0 ]; then + logtext "Test: checking presence LMD" + if [ ! "${LMDBINARY}" = "" ]; then + Display --indent 2 --text "- Checking LMD (Linux Malware Detect)" --result "FOUND" --color GREEN + logtext "Result: Found ${LMDBINARY}" + MALWARE_SCANNER_INSTALLED=1 + AddHP 2 2 + else + logtext "Result: LMD not found" + fi + fi +# +################################################################################# # # Test : MALW-3280 # Description : Check if an anti-virus tool is installed @@ -184,11 +201,6 @@ fi # ################################################################################# -# - # Test : MALW-3204 - # Description : Check for LMD -# -################################################################################# # report "malware_scanner_installed=${MALWARE_SCANNER_INSTALLED}" -- cgit v1.2.3