Repository navigation
Security Hardening
James P edited this page Oct 8, 2026
·
1 revision
A HashTasker server holds hashes and cleartext credentials from your engagements. Treat it accordingly.
-
The worker API (
/api/worker/*) has no authentication. Any host that can reach the server can register as a worker, receive job assignments (including hashes), download wordlist chunks, and submit fake results. - The server speaks plain HTTP. Session cookies and passwords cross the wire in cleartext without a TLS proxy.
- LDAP is plain LDAP. The service account and user passwords are sent unencrypted to the directory server.
- Isolate the cracking network. Put the server and workers on a dedicated VLAN that end users cannot reach directly.
-
Restrict the worker API to worker IPs. For example, with nginx in front of the server:
Or bind the server to localhost and only expose it through the proxy.
location /api/worker/ { allow 10.50.0.0/24; # worker subnet deny all; proxy_pass http://127.0.0.1:8080; }
- Terminate TLS at a reverse proxy for the web UI.
- Keep LDAP on a trusted segment, or tunnel it, since LDAPS/StartTLS are not supported.
- Use a least-privilege LDAP service account with read-only access to the user subtree.
-
Generate a real
session_key(openssl rand -hex 32) and a strongadmin.password. Rotatingsession_keylogs everyone out. -
Protect the files:
config.yamlcontains the LDAP bind password andhashtasker.dbcontains every cracked password.chmod 600 /opt/HashTaskerGo/config.yaml /opt/HashTaskerGo/hashtasker.db
-
Run as a dedicated user rather than root by changing
User=in the unit files (the account needs write access to the working directory andtemp_path). - Rely on retention. Jobs are purged after 45 days; delete engagement jobs sooner if your SOW requires it.
The repository .gitignore excludes config.yaml, worker.json, *.db, uploads, and binaries. Before pushing, double-check you have not committed real hostnames, IPs, directory DNs, or credentials in examples or docs.
HashTasker v1.3.2 | Repository | Releases | Changelog | Report an Issue | MIT License
HashTasker
Getting Started
Using HashTasker
Operations
Reference