RULEOPS – GPU-accelerated Hashcat rule optimization toolkit
-
Hey everyone,
Just wanted to share a tool I’ve been developing at called RULEOPS.
It’s a cybersecurity research workbench focused on Hashcat rules. Instead of just using giant hand-tuned rule lists, it helps you:
- Generate candidate rules from base/target wordlist pairs (RULEST + Rulestripper)
- Rank rules by unique coverage on a GPU (very fast CELF / greedy max-coverage scoring)
- Compress the ruleset down to a much smaller, high-value subset while keeping almost the same hit rate
- Clean up redundant/behaviorally equivalent rules
Everything is available both as CLI tools and through a local authenticated web UI (“Control Center”).
Typical pipeline looks like:
- Generate candidates from wordlists
- Rank them against a cracked sample (GPU)
- Run CELF selection to hit a target budget (e.g. 5k rules)
- Minimize remaining duplicates
Version is currently 2.6.5. It’s clearly built for authorized research / password-strength auditing only.
Repo / docs: a113l.github.io/RULEOPS
-
RULEOPS– Latest UpdatesThe latest RULEOPS update introduces full support for the Hashcat NnXY operator across CPU and OpenCL/GPU execution paths, including RULEST, Aether, Rule Ranker, CELF, Minimizer and Concentrator.
Rule Helper and the About page have also been improved. Rule validation, CPU/GPU consistency and regression test coverage have been strengthened, with additional fixes to OpenCL kernels.
Final test results: 836 passed, 4 skipped, 0 failed.

-
RULEOPS 2.8.0 – What’s New
A-string support (Hashcat 8.1)
- Full support for
AN<delim>STR<delim>in parser, tokenizer, validator, CPU & OpenCL interpreters - Stage S generates candidates from 5,775 UTF-8 payloads → 196,810 valid rules
- Operands written as literal UTF-8 (with
\xHHfallback) - Only A-atoms with Bloom hits advance to later stages
- 31-operation limit enforced in Stage 2 / GA / CELF
- Default max input line length set to 255 bytes
GPU throughput
- Stage S and Stage 2 now use count-only chain kernels (no per-hit text output)
- BASE stays resident in VRAM when possible, with streaming fallback
- GA writes packed bitmaps directly from OpenCL (local pack kernel; atomic version kept as fallback)
- Fitness sharing switched to exact sparse inverted postings
Speedup
Stage Before After Speedup Stage 1 ~0.900 G/s 3.405 G/s 3.78× Stage S (numeric) ~0.500 G/s 1.4 G/s 2.80× Stage 2 ~0.250 G/s 1.3 G/s 5.20× Stage 3 GA ~20 M/s 33.3 M/s 1.67× - Full support for
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login