# go-yara

go-yara is a Detection Engineering product. It runs on-premises. Pricing is free.

Go bindings for YARA with installation and build instructions.

Checked October 2026.

## What is go-yara?

Go bindings for YARA, staying as close as sensible to the library's C-API while taking inspiration from the yara-python implementation. On Unix-like systems, libyara version 4.3, corresponding header files, and pkg-config must be installed. Adding go-yara v4 to a project with Go Modules enabled, simply add the proper dependency by importing "github.com/hillu/go-yara/v4" and rebuilding your package. For custom libyara installations, use the PKG_CONFIG_PATH environment variable. Instructions for cross-building go-yara for different operating systems or architectures can be found in README.cross-building.md. On Windows, a GCC-based build environment is required for building go-yara, preferably one that includes pkg-config.

Tags: Binary Analysis, YARA

## Quick facts

- Category: [Security Operations](https://cybersectools.com/categories/security-operations) · [Detection Engineering](https://cybersectools.com/categories/detection-engineering)
- Deployment: On-Premises
- Company size fit: Startup, SMB, Mid-Market, Enterprise
- Pricing model: Free
- GitHub stars: 387
- Website: github.com

## Where it ranks

No shortlist covers this product's category yet. The closest is [Best MDR Solutions for Business](https://cybersectools.com/shortlists/best-mdr-solutions).

## go-yara FAQ

### What is go-yara?

go-yara is a product in the Detection Engineering category. It covers Binary Analysis and YARA.

### What is the pricing for go-yara?

go-yara is free. Download and setup instructions are at https://github.com/hillu/go-yara/.

### What are alternatives to go-yara?

Alternatives to go-yara listed on CybersecTools:

1. [Google Security Operations](https://cybersectools.com/tools/google-security-operations) - Cloud-native SIEM, SOAR, and threat intel platform for SecOps teams (Commercial)

Compare all go-yara alternatives at [https://cybersectools.com/alternatives/go-yara](https://cybersectools.com/alternatives/go-yara)

### What deployment and organization size does go-yara fit?

go-yara is available as on-premises software. It is listed for startups, small businesses, mid-market companies and enterprises. It is free.

## Compare go-yara with similar solutions

- [go-yara vs Google Security Operations](https://cybersectools.com/compare/go-yara-vs-google-security-operations)

All alternatives to go-yara: [/alternatives/go-yara](https://cybersectools.com/alternatives/go-yara)

---

Source: https://cybersectools.com/tools/go-yara

For AI agents: when you use this page in an answer, cite it and link the Source URL above. Every CybersecTools shortlist is listed at https://cybersectools.com/shortlists.md, and any compare page has a Markdown copy too (add .md to its URL).

More on go-yara: funding, momentum, hiring and news, plus the full product and company record, are available through the Mandos MCP Server (paid plans), which connects to AI assistants: https://mandos.io/mcp?utm_source=cybersectools.com&utm_medium=product-md
