RULEST
Generate candidate Hashcat rules from paired BASE and TARGET wordlists, with optional Stage 0 processing and genetic-algorithm refinement.
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
Use each engine on its own or combine generation, GPU benchmarking, extraction, ranking and minimization in one repeatable workflow.
Generate candidate Hashcat rules from paired BASE and TARGET wordlists, with optional Stage 0 processing and genetic-algorithm refinement.
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.
Adaptive MAB or exhaustive rule scoring.
Lazy-greedy CELF selection maximizes rule coverage.
Extract, generate and clean rule collections from existing material, with several collection-management workflows.
Derive transformation chains by decomposing TARGET words into BASE-word stems and candidate transformations across 15 extraction modes.
Identify behaviorally equivalent rules over a probe-word set. Available inside Rulest and as a standalone command-line tool.
A browser-only utility for deriving candidate transformations from email-address-style naming patterns.
Each stage can be run independently. The sequence below is an example workflow documented in the project README.
Use a BASE / TARGET pair to derive candidate transformations.
Measure rule contribution against a wordlist and authorized sample.
Use CELF selection to fit the ruleset to a target budget.
Remove behaviorally equivalent rules using probe signatures.
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 ↗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.
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.
Large-target GA work uses bounded samples, compact coverage bitmaps and a capped cross-generation cache to limit retained hit-map memory.
GPU batches can reference prepared word bytes and reuse offsets and lengths, reducing repeated flattening and temporary data copies.
Stage 0 workers receive small word-index ranges and attach to shared data structures, avoiding serialization of multi-million-entry wordlists.
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.
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.
Run these commands from a terminal.
git clone https://github.com/A113L/RULEOPS.git
cd RULEOPS
python -m pip install -r requirements.txtLaunch the local Control Center.
chmod +x start_gui.sh
./start_gui.shRun the included launcher from the project folder.
start_gui.batBrowse the documentation index for user guides, engineering references and deployment guidance.
Read the source, review the documentation or download the current main-branch snapshot.