"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/tests_malware" between
lynis-3.0.1.tar.gz and lynis-3.0.2.tar.gz

About: Lynis is a security and system auditing tool.

tests_malware  (lynis-3.0.1):tests_malware  (lynis-3.0.2)
skipping to change at line 25 skipping to change at line 25
# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are # Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
# welcome to redistribute it under the terms of the GNU General Public License. # welcome to redistribute it under the terms of the GNU General Public License.
# See LICENSE file for usage of this software. # See LICENSE file for usage of this software.
# #
################################################################################ # ################################################################################ #
# #
# Malware scanners # Malware scanners
# #
################################################################################ # ################################################################################ #
# #
InsertSection "Software: ${SECTION_MALWARE}" InsertSection "${SECTION_MALWARE}"
# #
################################################################################ # ################################################################################ #
# #
AVAST_DAEMON_RUNNING=0 AVAST_DAEMON_RUNNING=0
AVIRA_DAEMON_RUNNING=0 AVIRA_DAEMON_RUNNING=0
BITDEFENDER_DAEMON_RUNNING=0 BITDEFENDER_DAEMON_RUNNING=0
CLAMD_RUNNING=0 CLAMD_RUNNING=0
CLAMSCAN_INSTALLED=0 CLAMSCAN_INSTALLED=0
CROWDSTRIKE_FALCON_SENSOR_RUNNING=0 CROWDSTRIKE_FALCON_SENSOR_RUNNING=0
ESET_DAEMON_RUNNING=0 ESET_DAEMON_RUNNING=0
FRESHCLAM_DAEMON_RUNNING=0 FRESHCLAM_DAEMON_RUNNING=0
KASPERSKY_SCANNER_RUNNING=0 KASPERSKY_SCANNER_RUNNING=0
MCAFEE_SCANNER_RUNNING=0 MCAFEE_SCANNER_RUNNING=0
MALWARE_SCANNER_INSTALLED=0 MALWARE_SCANNER_INSTALLED=0
SOPHOS_SCANNER_RUNNING=0 SOPHOS_SCANNER_RUNNING=0
SYMANTEC_SCANNER_RUNNING=0 SYMANTEC_SCANNER_RUNNING=0
SYNOLOGY_DAEMON_RUNNING=0
# #
################################################################################ # ################################################################################ #
# #
# Test : MALW-3275 # Test : MALW-3275
# Description : Check for installed tool (chkrootkit) # Description : Check for installed tool (chkrootkit)
Register --test-no MALW-3275 --weight L --network NO --category security --d escription "Check for chkrootkit" Register --test-no MALW-3275 --weight L --network NO --category security --d escription "Check for chkrootkit"
if [ ${SKIPTEST} -eq 0 ]; then if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: checking presence chkrootkit" LogText "Test: checking presence chkrootkit"
if [ -n "${CHKROOTKITBINARY}" ]; then if [ -n "${CHKROOTKITBINARY}" ]; then
Display --indent 2 --text "- ${GEN_CHECKING} chkrootkit" --result "$ {STATUS_FOUND}" --color GREEN Display --indent 2 --text "- ${GEN_CHECKING} chkrootkit" --result "$ {STATUS_FOUND}" --color GREEN
skipping to change at line 242 skipping to change at line 243
SYMANTEC_SCANNER_RUNNING=1 SYMANTEC_SCANNER_RUNNING=1
fi fi
if [ ${SYMANTEC_SCANNER_RUNNING} -eq 1 ]; then if [ ${SYMANTEC_SCANNER_RUNNING} -eq 1 ]; then
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Syma ntec" --result "${STATUS_FOUND}" --color GREEN; fi if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Syma ntec" --result "${STATUS_FOUND}" --color GREEN; fi
LogText "Result: found one or more Symantec components" LogText "Result: found one or more Symantec components"
MALWARE_SCANNER_INSTALLED=1 MALWARE_SCANNER_INSTALLED=1
FOUND=1 FOUND=1
Report "malware_scanner[]=symantec" Report "malware_scanner[]=symantec"
fi fi
# Synology Antivirus Essential
LogText "Test: checking process synoavd"
if IsRunning "synoavd"; then
FOUND=1
SYNOLOGY_DAEMON_RUNNING=1
MALWARE_SCANNER_INSTALLED=1
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Syno
logy Antivirus Essential" --result "${STATUS_FOUND}" --color GREEN; fi
LogText "Result: found Synology Antivirus Essential"
Report "malware_scanner[]=synoavd"
fi
# TrendMicro (macOS) # TrendMicro (macOS)
LogText "Test: checking process TmccMac to test for Trend Micro anti-vir us (macOS)" LogText "Test: checking process TmccMac to test for Trend Micro anti-vir us (macOS)"
if IsRunning "TmccMac"; then if IsRunning "TmccMac"; then
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Tren d Micro anti-virus" --result "${STATUS_FOUND}" --color GREEN; fi if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Tren d Micro anti-virus" --result "${STATUS_FOUND}" --color GREEN; fi
LogText "Result: found Trend Micro component" LogText "Result: found Trend Micro component"
FOUND=1 FOUND=1
MALWARE_SCANNER_INSTALLED=1 MALWARE_SCANNER_INSTALLED=1
Report "malware_scanner[]=trend-micro-av" Report "malware_scanner[]=trend-micro-av"
fi fi
 End of changes. 3 change blocks. 
1 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)