# 使用 Homebrew, apt, dnf, MacPorts 安装 chkrootkit

查看 chkrootkit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:chkrootkit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install chkrootkit
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install chkrootkit
```

  证据: MacPorts ports tree: sysutils/chkrootkit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install chkrootkit
```

  证据: Debian stable package indexes: chkrootkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install chkrootkit
```

  证据: Fedora Rawhide package metadata: chkrootkit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:chkrootkit
- **软件包管理器:** Homebrew
- **版本:** 0.59
- **来源摘要:** Rootkit detector
- **主页:** <https://www.chkrootkit.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- check_wtmpx (别名)
- chkdirs (别名)
- chklastlog (别名)
- chkproc (别名)
- chkrootkit (别名)
- chkutmp (别名)
- chkwtmp (别名)
- ifpromisc (别名)
- strings-static (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.59
## 项目历史与用法

chkrootkit is a long-running Unix rootkit detector that locally checks for signs of modified system binaries, log tampering, promiscuous interfaces, and kernel-module trojans.

### 项目历史

The official README for version 0.59 credits Nelson Murilo as main author and Klaus Steding-Jessen as co-author. It describes chkrootkit as a shell-script front end plus C helpers including ifpromisc, chklastlog, chkwtmp, chkproc, chkdirs, check_wtmpx, chkutmp, and a strings replacement.

### 采用历史

The README lists testing across Linux, FreeBSD, OpenBSD, NetBSD, Solaris, HP-UX, Tru64, BSDI, and Mac OS X, which explains why it became common in Unix security packaging. The input package facts show it in Homebrew, Debian, Ubuntu, Fedora/DNF, and MacPorts.

### 使用方式

chkrootkit is intended to be run as root, either as ./chkrootkit for all tests or with named tests such as ps, ls, and sniffer. Options include quiet mode, expert mode, an alternate root directory, and an alternate command path for checking mounted disks or avoiding possibly compromised system binaries.

### 为什么软件包爱好者会关心

For package nerds, chkrootkit is a classic security-admin utility: small, scriptable, portable, and old enough to appear in many Unix package collections. It also shows why some security tools remain tarball-first rather than source-control-first in package metadata.

### 时间线

- 2000s: README documents support for Linux 2.0 through 2.6, early BSD releases, Solaris, HP-UX, Tru64, BSDI, and Mac OS X.
- 2026: Official README identifies version 0.59.
- 2026: Homebrew packages chkrootkit 0.59 from the official chkrootkit.org FTP tarball.

### Related projects

- The README credits DFN-CERT tools chklastlog and chkwtmp and small portions of ifconfig by Fred N. van Kempen. It is often compared with other host compromise scanners, but its official documentation focuses on its bundled tests.

### 来源

- <https://www.chkrootkit.org/README>
- <https://www.chkrootkit.org/>
- <https://formulae.brew.sh/api/formula/chkrootkit.json>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - chkrootkit - 0.58b-5+b7: normalized package name match | Debian stable package indexes: chkrootkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | rootkit detector | https://www.chkrootkit.org/
- Ubuntu apt - chkrootkit - 0.58b-1: normalized package name match | Ubuntu 24.04 LTS package indexes: chkrootkit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | rootkit detector | https://www.chkrootkit.org/
- dnf - chkrootkit - 0.58-4b.fc45: normalized package name match | Fedora Rawhide package metadata: chkrootkit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool to locally check for signs of a rootkit | http://www.chkrootkit.org
- MacPorts - chkrootkit: normalized package name match | MacPorts ports tree: sysutils/chkrootkit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/chkrootkit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chkrootkit.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
