Files
nuclei-templates/code/linux/audit/talk-client.yaml
2025-08-21 11:57:32 +05:30

42 lines
1.2 KiB
YAML

id: talk-client
info:
name: Ensure Talk Client is Not Installed
author: Th3l0newolf
severity: info
description: |
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.
remediation: |
Ensure the talk package is not installed unless explicitly required.To remove the package, run: sudo apt-get remove talk -y
reference:
- https://www.cisecurity.org/benchmark/ubuntu_linux
metadata:
verified: true
tags: cis,cisecurity,audit,linux,ubuntu,talk
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
echo "[cis-talk-client-check:Policy-Fail] [talk is installed] [CIS_FAIL]"
else
echo "[cis-talk-client-check:Policy-Pass] [talk is not installed] [CIS_PASS]"
fi
matchers:
- type: word
name: policy-pass
words:
- "Policy-Pass"
- type: word
name: policy-fail
words:
- "Policy-Fail"