pwn3d.es

TECHNICAL SHEET · Red Team

DOCUMENTATION ONLY

suBruteforce

Password testing against Unix su.

Python 3suHilos
Language
Python
Platform
Linux / Unix
Type
Brute-force CLI
Web demo
No
DOCUMENTATION ONLY

Scope on pwn3d.es

This tool has no web interface: it ships as Brute-force CLI. This page documents its design, flow and usage; there is no runnable demo or hosted binary.

It produces failed attempts visible in logs and can lock accounts. For your own systems only; there is no web version and it is not distributed here.

What it is and what it is for

suBruteforce is a Python tool that tests the resilience of a local Unix user’s password through the su command. It is useful in an authorised audit to verify that a service or operator account does not use a trivial password.

Its defensive reading: repeated su attempts leave a trace on the system (PAM, journald), and the defence is the same as for any local credential: unguessable, manager-handled passwords, attempt lockout with pam_faillock and least privilege so you do not depend on su.

When to use it

  • Auditing local accounts

    On your own machine, check that no service account falls to a basic list.

  • Teaching PAM detection

    See how failed su attempts show up in the journal and how to alert on them.

  • Justifying pam_faillock

    Demonstrate the value of failed-attempt lockout over su and sudo.

How it works

  1. What it tests

    It tries passwords against su <user> and tells a successful switch from a failure.

  2. What trace it leaves

    PAM “authentication failure” entries for su in the journal, in a burst.

  3. How it is stopped

    pam_faillock to lock after N failures, managed passwords and reducing who needs su.

What changes on pwn3d.es

  • pwn3d.es documents the tool and its detection and mitigation; no attack runs from the site. Testing, on your own machine, is done with the repository CLI.

Sheet built from the repository README and public code. Figures and commands are limited to what the project documents.