2025-08-19 18:03:12 +05:30
id : talk-client
2025-06-18 23:58:37 -07:00
info :
name : Ensure Talk Client is Not Installed
author : Th3l0newolf
2025-08-19 18:03:12 +05:30
severity : info
2025-06-18 23:58:37 -07:00
description : |
2025-08-19 18:03:12 +05:30
The talk package provides a client for user-to-user messaging on local or remote systems.Since it uses unencrypted communication, it should be removed to minimize security risks.
2025-06-18 23:58:37 -07:00
remediation : |
2025-08-19 18:38:32 +05:30
Ensure the talk package is not installed unless explicitly required.To remove the package, run : sudo apt-get remove talk -y
2025-06-18 23:58:37 -07:00
reference :
- https://www.cisecurity.org/benchmark/ubuntu_linux
metadata :
verified : true
2025-08-28 23:41:32 +05:30
tags : cis,local,cisecurity,audit,linux,ubuntu,talk
2025-06-18 23:58:37 -07:00
self-contained : true
code :
- engine :
- bash
args :
- "-c"
- |
# Check if the talk package is installed
if dpkg-query -W -f='${Status}' talk 2>/dev/null | grep -q "install ok installed"; then
2025-08-19 18:03:12 +05:30
echo "[cis-talk-client-check:Policy-Fail] [talk is installed] [CIS_FAIL]"
2025-06-18 23:58:37 -07:00
else
2025-08-19 18:03:12 +05:30
echo "[cis-talk-client-check:Policy-Pass] [talk is not installed] [CIS_PASS]"
2025-06-18 23:58:37 -07:00
fi
matchers :
- type : word
name : policy-pass
words :
- "Policy-Pass"
- type : word
name : policy-fail
words :
2025-08-21 12:45:03 +00:00
- "Policy-Fail"
2025-08-29 10:06:03 +00:00
# digest: 490a0046304402201c824ba110feb30361f8e6b4084b712b8a4efcc1be7f11097fff3afd3a0018d102202224c841dd09c1e2eb771ab5a730dc6a9cc06e21a5fb5766591d0efd3ffd2475:922c64590222798bb761d5b6d8e72950