Skip to content

Commit 9a19aa6

Browse files
authored
Merge pull request #1404 from avenjamin/sentinelone-malware
Add malware detection support for SentinelOne
2 parents 7b98ad4 + 1bfcc9b commit 9a19aa6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

include/tests_malware

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
MALWARE_SCANNER_INSTALLED=0
4040
MALWARE_DAEMON_RUNNING=0
4141
ROOTKIT_SCANNER_FOUND=0
42+
SENTINELONE_SCANNER_RUNNING=0
4243
SOPHOS_SCANNER_RUNNING=0
4344
SYMANTEC_SCANNER_RUNNING=0
4445
SYNOLOGY_DAEMON_RUNNING=0
@@ -231,6 +232,20 @@
231232
Report "malware_scanner[]=mcafee"
232233
fi
233234

235+
# SentinelOne
236+
LogText "Text: checking process sentineld (SentinelOne)"
237+
if isRunning "sentineld"; then SENTINELONE_SCANNER_RUNNING=1; fi # macOS
238+
if isRunning "s1-agent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Linux
239+
if isRunning "SentinelAgent"; then SENTINELONE_SCANNER_RUNNING=1; fi # Windows
240+
if [ ${SENTINELONE_SCANNER_RUNNING} -eq 1 ]; then
241+
FOUND=1
242+
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} SentinelOne" --result "${STATUS_FOUND}" --color GREEN; fi
243+
LogText "Result: Found SentinelOne"
244+
MALWARE_DAEMON_RUNNING=1
245+
MALWARE_SCANNER_INSTALLED=1
246+
Report "malware_scanner[]=sentinelone"
247+
fi
248+
234249
# Sophos savscand/SophosScanD
235250
LogText "Test: checking process savscand"
236251
if IsRunning "savscand"; then

0 commit comments

Comments
 (0)