Automic VaultAutomic Vault

brew

yara を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

yara のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install yara

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install yara

MacPorts ports tree · security/yara/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add yara

Alpine Linux edge package indexes · yara · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install yara

Debian stable package indexes · yara · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install yara

Fedora Rawhide package metadata · yara · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#yara

nixpkgs package indexes · pkgs/by-name/ya/yara/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S yara

Arch Linux sync databases · yara · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install yara

openSUSE Tumbleweed package metadata · yara · ソース: download.opensuse.org

概要

パッケージ概要

Malware identification and classification tool

コマンドとエイリアス

  • yara
  • yarac

履歴

プロジェクトの歴史と使われ方

YARA is VirusTotal's rule-based pattern-matching tool for malware researchers and incident responders. It lets analysts describe malware families, file traits, or other detectable artifacts with strings, byte patterns, regular expressions, metadata, and boolean conditions, then scan files, directories, or process memory.

プロジェクトの歴史

YARA's manual page dates the `yara` command to 2008-09-22 and names Victor M. Alvarez as author. The current VirusTotal GitHub repository was created on 2012-12-06, and the first GitHub release returned by the API is YARA v2.0.0 in August 2014.

The project became the pattern-matching 'Swiss knife' for malware researchers by keeping a compact rule language while adding modules, compiled rules, Python bindings, and multi-platform support. The README and official docs describe use from the command line and from Python scripts through yara-python.

In the mid-2020s, YARA's history shifted from active feature growth to maintenance. The README now points to the YARA-X stability announcement and marks the classic YARA project as maintenance mode, with new feature work moving to the Rust rewrite.

採用の歴史

YARA's adoption is unusually broad for a command-line security tool. The upstream README maintains a long 'Who's using YARA' list that includes antivirus vendors, incident-response products, sandboxes, intelligence platforms, reverse-engineering tools, and VirusTotal itself.

Its practical appeal is portability of detection logic. A YARA rule can move from a researcher's laptop to a malware sandbox, a retrohunt service, an endpoint product, or a CI check for detection rules. That made it a common exchange format for malware-family knowledge, not just a local scanner.

使われ方

Users write one or more rule files, compile them with `yarac` when useful, and run `yara` against files, directories, or PIDs. Options support namespaces, external variables, module data, metadata printing, string-match output, fast scans, warnings control, and scanning process memory in chunks.

In security operations, YARA is used for malware triage, hunting known families and variants, validating rule collections, retroactive corpus searches, sandbox classification, and embedding detection logic into larger analysis systems through libyara or yara-python.

パッケージ好きにとっての重要性

YARA is one of the canonical examples of a domain-specific language packaged as a Unix tool. The package matters because it ships not just an executable, but a rule language, compiler, C library, Python ecosystem, and compatibility target for thousands of shared security rules.

The YARA-to-YARA-X transition is also important packaging history: a widely deployed security utility entered maintenance mode while its official successor was distributed beside it, letting package managers carry both the stable incumbent and the future implementation.

タイムライン

  • 2008-09-22: YARA manual page date identifies the command and Victor M. Alvarez as author.
  • 2012-12-06: VirusTotal/yara repository is created on GitHub.
  • 2014-08-26: YARA v2.0.0 appears as the earliest GitHub release returned by the releases API.
  • 2024-02-21: VirusTotal announces future feature work will focus on YARA-X while YARA continues maintenance.
  • 2025-06-04: YARA-X 1.0.0 announcement states original YARA enters maintenance mode.
  • 2025-10-30: YARA v4.5.5 is published as a maintenance release.

Related projects

  • YARA-X is the official Rust rewrite and future development focus.
  • yara-python exposes YARA scanning and compilation features to Python programs.
  • YARA-CI, awesome-yara, and rule repositories such as Elastic protections-artifacts are part of the wider YARA rule ecosystem.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 4 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
yaracliグローバル実行可能ファイル
yaraccliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版4.5.5
マネージャ更新日2026-06-15
ローカルデータOK
上流最新
検出された最新v4.5.5

https://github.com/VirusTotal/yara

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:yara
バージョン4.5.5
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/yara
ホームページhttps://virustotal.github.io/yara/
リポジトリhttps://github.com/VirusTotal/yara
上流ドキュメントhttps://yara.readthedocs.io/en/stable
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/VirusTotal/yara/archive/refs/tags/v4.5.5.tar.gz
最終更新2026-06-15T10:21:24-04:00
Pulseupdated
依存関係jansson, libmagic, openssl@3, protobuf-c
ビルド依存関係autoconf, automake, libtool, pkgconf
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyara
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libyara-dev 4.5.2-1

YARA development libraries and headers

https://virustotal.github.io/yara/

sudo apt install libyara-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: yara
  • 4 依存関係
  • normalized package name match
  • 一致条件: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyara-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libyara10 4.5.2-1

YARA shared library

https://virustotal.github.io/yara/

sudo apt install libyara10
  • Section: libs
  • Architecture: amd64
  • Source Package: yara
  • 4 依存関係
  • normalized package name match
  • 一致条件: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyara10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

yara 4.5.2-1

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apt install yara
  • Section: utils
  • Architecture: amd64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yara from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

yara-doc 4.5.2-1

HTML documentation for YARA

https://virustotal.github.io/yara/

sudo apt install yara-doc
  • Section: doc
  • Architecture: all
  • Source Package: yara
  • 1 依存関係
  • normalized package name match
  • 一致条件: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yara-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yara

nix profile install nixpkgs#yara
  • normalized package name match
  • 一致条件: Yara
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yara/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libyara-dev 4.5.0-1build2

YARA development libraries and headers

https://virustotal.github.io/yara/

sudo apt install libyara-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: yara
  • 4 依存関係
  • normalized package name match
  • 一致条件: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyara-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libyara10 4.5.0-1build2

YARA shared library

https://virustotal.github.io/yara/

sudo apt install libyara10
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: yara
  • 4 依存関係
  • normalized package name match
  • 一致条件: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyara10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

yara 4.5.0-1build2

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apt install yara
  • Section: universe/utils
  • Architecture: amd64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yara from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

yara-doc 4.5.0-1build2

HTML documentation for YARA

https://virustotal.github.io/yara/

sudo apt install yara-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: yara
  • 1 依存関係
  • normalized package name match
  • 一致条件: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yara-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yara 4.5.7-r0

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apk add yara
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yara-dev 4.5.7-r0

Pattern matching swiss knife for malware researchers (development files)

https://virustotal.github.io/yara/

sudo apk add yara-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yara-doc 4.5.7-r0

Pattern matching swiss knife for malware researchers (documentation)

https://virustotal.github.io/yara/

sudo apk add yara-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • normalized package name match
  • 一致条件: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

yara 4.5.7-1.fc45

Pattern matching Swiss knife for malware researchers

https://VirusTotal.github.io/yara/

sudo dnf install yara
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yara
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

yara-devel 4.5.7-1.fc45

Development files for yara

https://VirusTotal.github.io/yara/

sudo dnf install yara-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yara
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

yara-doc 4.5.7-1.fc45

Documentation for yara

https://VirusTotal.github.io/yara/

sudo dnf install yara-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: yara
  • 1 提供
  • normalized package name match
  • 一致条件: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

yara 4.5.6-1

Tool aimed at helping malware researchers to identify and classify malware samples

https://github.com/VirusTotal/yara

sudo pacman -S yara
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Yara
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yara from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment