# 使用 Homebrew, Nix, zypper 安装 chainsaw

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

## 安装

```sh
sudo av install brew:chainsaw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install chainsaw
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#chainsaw
```

  证据: nixpkgs package indexes: pkgs/by-name/ch/chainsaw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install apache-chainsaw
```

  证据: openSUSE Tumbleweed package metadata: apache-chainsaw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:chainsaw
- **软件包管理器:** Homebrew
- **版本:** 2.16.2
- **来源摘要:** Rapidly Search and Hunt through Windows Forensic Artefacts
- **主页:** <https://github.com/WithSecureLabs/chainsaw>
- **仓库:** <https://github.com/WithSecureLabs/chainsaw>
- **最后更新:** 2026-07-09T10:07:08Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- chainsaw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Chainsaw is a WithSecure Labs command-line tool for rapid Windows forensic triage. It searches event logs and other Windows artefacts, applies Sigma and custom detection rules, and emits investigator-friendly output formats.

### 项目历史

WithSecure Countercept created Chainsaw for incident-response cases where endpoint telemetry or a SIEM was not available, so analysts needed fast standalone processing of Windows artefacts. The public GitHub repository was created in August 2021 and v1.0.0 was released later that month.

The project evolved from an all-in-one threat-hunting bundle toward a tool that expects users to keep Sigma rules and sample event logs separately. The README notes that Chainsaw v2 stopped including Sigma Rules and EVTX-Attack-Samples as submodules so users could track those projects independently.

### 采用历史

Chainsaw is distributed through GitHub releases, Nix, and the Homebrew formula named chainsaw. That packaging path matters because the tool is useful as a portable first-response binary on analyst workstations and ephemeral response systems.

GitHub release metadata shows active maintenance from v1.0.0 in 2021 through v2 releases in 2026.

### 使用方式

Typical use is to run chainsaw against Windows event-log collections, optionally supplying a Sigma rules directory and a mapping file such as mappings/sigma-event-logs-all.yml. The README documents output formats including table, CSV, and JSON, plus timeline generation from Shimcache enriched with Amcache data.

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

Chainsaw is notable in package-manager culture because it packages modern Rust DFIR tooling for a workflow that often used heavier SIEM stacks such as Splunk or ELK. It also shows the Sigma ecosystem becoming something local CLIs can consume directly.

### 时间线

- 2021: GitHub repository created by WithSecureLabs.
- 2021: v1.0.0 published on GitHub releases.
- 2023: v2 line documented removal of bundled Sigma and EVTX sample submodules.
- 2026: v2.16.0 published on GitHub releases.

### Related projects

- SigmaHQ/sigma provides the Sigma detection rules Chainsaw can run.
- omerbenamram/evtx is the Rust EVTX parser wrapped by Chainsaw.
- sbousseaden/EVTX-ATTACK-SAMPLES is used in the README example dataset workflow.

### 来源

- <https://github.com/WithSecureLabs/chainsaw#readme>
- <https://github.com/WithSecureLabs/chainsaw/releases>
- <https://api.github.com/repos/WithSecureLabs/chainsaw>


## 安全说明

没有找到 chainsaw 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - chainsaw: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chainsaw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - apache-chainsaw - 2.1.0-5.10: normalized package name match | openSUSE Tumbleweed package metadata: apache-chainsaw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache Chainsaw | https://logging.apache.org/chainsaw


## Combined YAML source

View the package source record on GitHub. [combined/chainsaw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chainsaw.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
