RULEOPS v2.6.5  ·  Open-source toolkit for authorized password-security research
A rule-engineering workbench

Build better
rule sets.

RULEOPS brings rule generation, GPU rule-performance benchmarking, extraction, ranking, coverage optimization and minimization into one seven-tool research workbench. Explore large Hashcat rule collections with a workflow designed for authorized password-security research and auditing.

Python · OpenCL acceleration · Standalone CLIs · MIT License

RULEOPS / pipeline
$ruleops workflow --optimize
>Loading BASE / TARGET wordlists…
>Preparing candidate transformations…
01 / BUILDGenerate
02 / SCORERank
03 / SELECTOptimize
04 / REFINEMinimize
✓Coverage-aware workflow ready
OPENCL / CPU PATHS● READY
GPU-acceleratedOpenCL compute paths
Seven integrated toolsOne unified local web UI
Flexible workflowStandalone command-line tools
MIT licensedOpen-source project
The toolchain

One workspace.
Seven integrated tools.

Use each engine on its own or combine generation, GPU benchmarking, extraction, ranking and minimization in one repeatable workflow.

R
Generation

RULEST

Generate candidate Hashcat rules from paired BASE and TARGET wordlists, with optional Stage 0 processing and genetic-algorithm refinement.

✦
GPU benchmarking

Aether

Benchmark Hashcat rule files with OpenCL GPU event profiling, report device kernel and host dispatch timings separately, and generate per-file performance dashboards with optional fastest-first rule ordering.

↗
Scoring & selection

Rule Ranker

Adaptive MAB or exhaustive rule scoring.

Ranker CELF Optimizer

Post-processing

Lazy-greedy CELF selection maximizes rule coverage.

▤
Collections

Concentrator

Extract, generate and clean rule collections from existing material, with several collection-management workflows.

⌕
Extraction

Rulestripper

Derive transformation chains by decomposing TARGET words into BASE-word stems and candidate transformations across 15 extraction modes.

≋
Minimization

Rule Minimizer

Identify behaviorally equivalent rules over a probe-word set. Available inside Rulest and as a standalone command-line tool.

@
Browser utility

Email Rule Extractor

A browser-only utility for deriving candidate transformations from email-address-style naming patterns.

Typical workflow

From raw inputs
to a compact ruleset.

Each stage can be run independently. The sequence below is an example workflow documented in the project README.

STEP 01

Generate candidates

Use a BASE / TARGET pair to derive candidate transformations.

STEP 02

Rank candidates

Measure rule contribution against a wordlist and authorized sample.

STEP 03

Select by coverage

Use CELF selection to fit the ruleset to a target budget.

STEP 04

Minimize duplicates

Remove behaviorally equivalent rules using probe signatures.

Designed for large inputs

Spend memory on data, not overhead.

RULEOPS uses compact representations and bounded processing in several large-data paths. The goal is to reduce avoidable copies and Python-object overhead while keeping active datasets in RAM.

Read memory guide ↗
01

Shared wordlist memory

Valid word entries, including repeats, live in shared memory with a compact 64-bit offset table for direct access. Worker processes attach to shared data instead of receiving copies of huge Python wordlists.

02

Offset-based minimization

Rulest and standalone minimizer use fixed-width NumPy records with compact signatures and offsets into the original rule list. Later probe rounds focus on collisions rather than building large Python dictionaries for every rule.

03

Bounded genetic-search cache

Large-target GA work uses bounded samples, compact coverage bitmaps and a capped cross-generation cache to limit retained hit-map memory.

04

Reuse packed GPU inputs

GPU batches can reference prepared word bytes and reuse offsets and lengths, reducing repeated flattening and temporary data copies.

05

Shared worker inputs

Stage 0 workers receive small word-index ranges and attach to shared data structures, avoiding serialization of multi-million-entry wordlists.

Performance snapshot

Real workload telemetry.
No inflated claims.

From project profiling notes
999,999Candidate upper-bound count in one CELF run
250,000Selected-rule budget for that run
880.2Reported cumulative average rules per second
334.3 MiBGPU exact-dedup scratch for the recorded batch setup

These figures describe one logged workload and its configuration. They are not a controlled before/after comparison or a hardware-independent speedup claim. Results depend on inputs, GPU, driver, OpenCL runtime and settings. See the CELF profiling notes for context.

Get started

Run RULEOPS locally.

Python 3.9+ is required. GPU-accelerated stages need a working OpenCL runtime and a compatible GPU driver. CSV-only analysis can run on CPU.

1 — Clone and install

Run these commands from a terminal.

git clone https://github.com/A113L/RULEOPS.git cd RULEOPS python -m pip install -r requirements.txt

2 — Start on Linux / macOS

Launch the local Control Center.

chmod +x start_gui.sh ./start_gui.sh

2 — Start on Windows

Run the included launcher from the project folder.

start_gui.bat
First launch: open the local URL printed in the terminal and set an application password of at least 12 characters. You can also run individual tools through their standalone CLI entry points.
Use responsibly. RULEOPS is intended for authorized password-security research and auditing on data you are permitted to test. The built-in server uses plain HTTP and is not designed for direct public-internet exposure. For remote access, use a private VPN or a TLS reverse proxy and restrict firewall access.
Read the details

Documentation & project files.

Browse the documentation index for user guides, engineering references and deployment guidance.

Open source · MIT

Explore the RULEOPS codebase.

Read the source, review the documentation or download the current main-branch snapshot.