NY

neo23x0/yargen-go

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

94 stars 품질 54 트렌드 15GPL-3.0

neo23x0/yargen-go는 https://github.com/neo23x0/yargen-go.]에서 가져온 에이전트 스킬 후보입니다

개요

neo23x0/yargen-go는 https://github.com/neo23x0/yargen-go.]에서 가져온 에이전트 스킬 후보입니다

개요(AI 번역)

** Florian Roth** - 자동 YARA 규칙 발전기로 yarGen (Python)의 다시 쓰기.

개요

yarGen-Go는 맬웨어 파일에서 발견 된 문자열의 YARA 규칙을 생성하고 또한 Goodware 파일에 나타나는 모든 문자열을 제거합니다. 다음을 포함합니다:

  • yargen - 주요 규칙 발전기 (CLI + 웹 서버)
  • yargen-util - 데이터베이스 관리 유틸리티

시작하기

** 리눅스/macOS:**

  1. ** 필수품: ** 1.22+ 설치

  2. ** 건물: ** Clone 저장소 또는 ZIP을 다운로드하고 그것을 추출

  3. ** 건물 궤: ** 다음 명령을 실행:

  4. Databases: 실행 ./yargen-util update 좋은 데이터베이스를 다운로드

  5. ** (선택 사항) 구성 :** 복사 config/config.example.yml config/config.yaml] 및 LLM API 키 설정

  6. ** 사용:** 실행 ./yargen serve 및 웹 UI를 http://127.0.0.1:8080]

윈도우:

  1. ** 필수품: ** 1.22+ 설치

  2. ** 건물: ** Clone 저장소 또는 ZIP을 다운로드하고 그것을 추출

  3. ** 건물 궤: ** 다음 명령을 실행:

  4. Databases: 실행 yargen-util.exe update Goodware 데이터베이스를 다운로드

  5. ** (선택 사항) 구성 :** 복사 .\config\config.example.yml .\config\config.yaml] 및 LLM API 키 설정

  6. ** 사용: ** 실행 `.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

yarGen-Go

A Go rewrite of yarGen (Python) by Florian Roth - an automatic YARA rule generator.

Overview

yarGen-Go generates YARA rules from strings found in malware files while removing all strings that also appear in goodware files. It includes:

  • yargen - Main rule generator (CLI + web server)
  • yargen-util - Database management utility

Getting Started

Linux/macOS:

  1. Prerequisites: Install Go 1.22+
  2. Build: Clone repository or download the ZIP and extract it
  3. Build binaries: Run the following commands:
    go mod tidy
    go build -o yargen ./cmd/yargen
    go build -o yargen-util ./cmd/yargen-util
    
  4. Databases: Run ./yargen-util update to download goodware databases
  5. Configure (Optional): Copy config/config.example.yml to config/config.yaml and set your LLM API key
  6. Use: Run ./yargen serve and open the Web UI at http://127.0.0.1:8080

Windows:

  1. Prerequisites: Install Go 1.22+
  2. Build: Clone repository or download the ZIP and extract it
  3. Build binaries: Run the following commands:
    go mod tidy
    go build -o yargen.exe .\cmd\yargen
    go build -o yargen-util.exe .\cmd\yargen-util
    
  4. Databases: Run yargen-util.exe update to download goodware databases
  5. Configure (Optional): Copy .\config\config.example.yml to .\config\config.yaml and set your LLM API key
  6. Use: Run .\yargen.exe serve and open the Web UI at http://127.0.0.1:8080

📖 For detailed setup instructions, see the Step-by-Step Setup Guide

Features

  • ASCII and UTF-16LE (wide) string extraction
  • Opcode extraction from PE/ELF executables
  • Encoding detection: Base64, hex-encoded, reversed strings
  • Magic header and filesize conditions
  • Super rule generation (overlapping string patterns across files)
  • Customizable scoring rules (SQLite-backed, editable via Web UI)
  • Efficient LLM integration for string selection (OpenAI, Anthropic, Gemini, Ollama)
    • Only submits prefiltered top candidates (no goodware strings, max 500 from automatic evaluation)
    • Requests numbered list instead of full strings to minimize token usage
    • Significantly reduces API costs compared to naive approaches
  • Web UI for rule generation and scoring rules management

Installation (Alternative Methods)

Using Pre-built Binaries

Download pre-built binaries from the Releases page for your platform.

Using Go Install

go install github.com/Neo23x0/yarGen-Go/cmd/yargen@latest
go install github.com/Neo23x0/yarGen-Go/cmd/yargen-util@latest

Binaries will be installed to $GOPATH/bin or $HOME/go/bin (add to PATH if needed).

Usage

CLI Mode

# Basic usage
yargen -m ./malware-samples

# With options
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add neo23x0/yargen-go
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →