Skip to content
  • Categories
  • Recent
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Slate)
  • No Skin
Collapse
Brand Logo

hashpwn

  1. Home
  2. Tools
  3. Scripts
  4. Hashcat Rule Ranker – GPU-accelerated ranking of Hashcat rules

Hashcat Rule Ranker – GPU-accelerated ranking of Hashcat rules

Scheduled Pinned Locked Moved Scripts
2 Posts 1 Posters 14 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A1131A Offline
    A1131A Offline
    A1131
    Trusted
    wrote last edited by A1131
    #1

    A tool that evaluates and ranks Hashcat rules against a wordlist + a list of known cracked passwords.

    • GPU (OpenCL – NVIDIA/AMD/Intel)

    • Multi-Armed Bandit (Thompson Sampling) with early elimination of weak rules → much faster on large rulesets or legacy exhaustive run

    • Optional CELF post-processing (max-coverage) – selects the smallest, most efficient set of rules instead of a plain top-K

    • Three strategy's: bitmap, recompute-gpu, sparse

    • Handler for quick analysis and merging results from multiple runs
    Output: ranked CSV + ready-to-use optimized .rule file.

    GitHub: https://github.com/A113L/ranker

    Credits:
    @Vavaldi for coverage optimization inspiration

    Amateur of mycology and hashcracking | 1x3060Ti | 1x1050Ti
    PGP:4B0A386530D789157435DC7489138FB52FDD7FC1

    1 Reply Last reply
    0
    • A1131A Offline
      A1131A Offline
      A1131
      Trusted
      wrote last edited by
      #2

      On the results of ranker x1.greedy vs a1131.greedy rulesets

      # head x1.greedy_top50000.rule
      : 
      T0 T2 T4 T6 T8 TA TC $1 $2
      l
      x12
      c'1$s18
      “A$p t
      T0 T6 TA $3
      T0 T5 TA 1 $2 $3
      R2
      -9x35 ^f
      
      # head a1131.greedy.25000.rule
      : 
      l
      T0
      $1
      K
      ]
      $1 $2 $3
      $4
      $2
      +2
      
      # head a1131.greedy_top50000.r1.rule
      : 
      ] $a
      [$1
      [$9
      [$8
      [$7
      [$4
      [$3
      [ [ $6
      [ [ $5
      

      As can be seen above, the rules obtained using the ranker (with CELF) are not only diverse, but also deliver very similar results at the identical cut-offs of 10k / 25k / 50k.

      Rule Hit rate Size AVG Time Eff.
      a1131.greedy.10000.rule 22.75% 10 000 25 352 2.275
      x1.greedy_top10000.rule 22.56% 10 001 501.44 2.2558
      a1131.greedy.25000.rule 28.60% 25 000 31 879 1.144
      x1.greedy_top25000.rule 28.46% 25 001 25 832.06 1.1384
      a1131.greedy_top50000.r1.rule 33.60% 50 001 16 987.14 0.672
      x1.greedy_top50000.rule 33.05% 50 001 21 051.92 0.661

      Ranker + CELF generates rulesets with very similar effectiveness (differences of only 0.14–0.55 pp), while being more diverse and less redundant. At the 10k/25k/50k cut-offs the results are practically equivalent.

      Full Benchmark

      Amateur of mycology and hashcracking | 1x3060Ti | 1x1050Ti
      PGP:4B0A386530D789157435DC7489138FB52FDD7FC1

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      homogenous-expeditionary
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent