HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

chkrootkit — Scan system for rootkits. More information: <https://manned.org/chkrootkit>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrootkitschkrootkitclimorescanforsystem

Problem

How to use the chkrootkit command: Scan system for rootkits. More information: <https://manned.org/chkrootkit>.

Solution

chkrootkit — Scan system for rootkits. More information: <https://manned.org/chkrootkit>.

Enable [q]uiet mode and suppress normal test results:
chkrootkit -q


Enable e[x]pert mode and produce additional outputs:
chkrootkit -x


Enable [d]ebug mode to show all output:
chkrootkit -d


Specify [e]xcluded files for some tests:
chkrootkit -e "{{path/to/file}}"


Specify a directory as the [r]oot for testing (e.g. mounted ext drives):
chkrootkit -r {{path/to/directory}}


Ignore [n]fs-mounted directories:
chkrootkit -n


Invoke [T]ests and ignore specific filesystem types:
chkrootkit -T {{filesystemtype}}


Generate [l]ist of available tests:
chkrootkit -l

Code Snippets

Enable [q]uiet mode and suppress normal test results

chkrootkit -q

Enable e[x]pert mode and produce additional outputs

chkrootkit -x

Enable [d]ebug mode to show all output

chkrootkit -d

Specify [e]xcluded files for some tests

chkrootkit -e "{{path/to/file}}"

Specify a directory as the [r]oot for testing (e.g. mounted `ext` drives)

chkrootkit -r {{path/to/directory}}

Context

tldr-pages: common/chkrootkit

Revisions (0)

No revisions yet.