# 使用 Homebrew, Nix, zypper 安装 bkcrack

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

## 安装

```sh
sudo av install brew:bkcrack
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bkcrack
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bkcrack
```

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

- zypper (92%):

```sh
sudo zypper install bkcrack
```

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

## 软件包事实

- **软件包键:** brew:bkcrack
- **软件包管理器:** Homebrew
- **版本:** 1.8.1
- **来源摘要:** Crack legacy zip encryption with Biham and Kocher's known plaintext attack
- **主页:** <https://github.com/kimci86/bkcrack>
- **仓库:** <https://github.com/kimci86/bkcrack>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bkcrack (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

bkcrack is a command-line cryptanalysis tool for legacy ZIP encryption, specifically the traditional PKWARE/ZipCrypto scheme. Its package-manager identity is narrow and practical: a small utility installed when a user needs a known-plaintext attack workflow against old encrypted ZIP archives.

### 项目历史

The project was published on GitHub in 2016 and describes itself as an implementation of Eli Biham and Paul C. Kocher's known-plaintext attack on the PKZIP stream cipher. Its documentation explains the ZipCrypto keystream model and frames bkcrack as a way to recover internal keys, remove or change archive passwords, and attempt password recovery.

### 采用历史

bkcrack grew from a specialist security tool into a packaged CLI available through Homebrew, Nix, openSUSE/zypper, and upstream GitHub release artifacts for Ubuntu, macOS, and Windows. That distribution pattern reflects a tool useful enough for repeatable incident-response and recovery workflows but still niche compared with general password crackers.

### 使用方式

Typical use starts with a ciphertext entry and 12 or more bytes of known plaintext, often supplied from another ZIP entry or file. Users run bkcrack to recover the ZipCrypto internal state, then decrypt data, create an unencrypted copy of the archive, change the password, or search for the original password from recovered keys.

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

Package nerds care about bkcrack because it packages a classic academic break of legacy ZIP encryption into a reproducible CLI with cross-platform binaries. It is a reminder that 'ZIP password support' in archive tools historically meant weak ZipCrypto unless AES or another modern scheme was explicitly used.

### 时间线

- 1994: Biham and Kocher publish the known-plaintext attack on the PKZIP stream cipher.
- 2016: bkcrack repository is created on GitHub.
- 2020: v1.0.0 appears as the first GitHub release in the current release history.
- 2020s: bkcrack becomes available through Homebrew and other Unix package sets.

### Related projects

- Related tools include zip password recovery and auditing utilities, but bkcrack is specifically centered on ZipCrypto known-plaintext recovery rather than generic brute-force cracking.
- The underlying cryptanalytic reference is Biham and Kocher's PKZIP stream-cipher paper, which bkcrack cites directly from its README.

### 来源

- <https://doi.org/10.1007/3-540-60590-8_12>
- <https://github.com/kimci86/bkcrack#readme>
- <https://github.com/kimci86/bkcrack/releases>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - bkcrack: normalized package name match | nixpkgs package indexes: pkgs/by-name/bk/bkcrack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - bkcrack - 1.8.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bkcrack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Crack legacy zip encryption with Biham and Kocher's known plaintext attack | https://github.com/kimci86/bkcrack/


## Combined YAML source

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