Skip to content

Releases

v2.9.0 — bucket A grande del vault CPTS: 17 detectores que reusan lo que ya se captura

Choose a tag to compare

@salitress salitress released this 04 Dec 05:58

Big bucket-A batch mined from the CPTS vault and folded into palantir's existing
"detect-and-RECOMMEND, never execute" plumbing. 17 new signals/recommenders, all
pure (no network, no subprocess) and testable in --selftest; every hook only adds
findings and next-steps — nothing is executed that was not already.

Flagship (reuse data palantir ALREADY captures)

  • Safe-Spray Planner (badpwdcount-aware) — palantir already parsed the
    lockout policy and already ran --spray --safe; the missing piece was
    combining it with the per-user badpwdcount that nxc --users exposes. Now
    computes the per-account safe budget this window
    (threshold − safety_margin − badpwd[u]) and names at-risk accounts in the
    warning before confirm_creds_spray proceeds.
  • LFI→RCE decision chain — after _lfi_probe confirms an LFI, ONE extra
    read via php://filter/convert.base64-encode/resource=<path> over the typical
    php.ini locations; base64-decoded locally and classified:
    allow_url_include=On → data:// RCE; extension=expect loaded →
    expect:// shell; otherwise → log poisoning (User-Agent / PHPSESSID /
    /proc/self/environ). disable_functions surfaces as a warning.
  • SNMP loot → identities + version→CVE — _snmp_walk_juicy already
    captured sysContact, LanMgr users and installed-software; they were being
    printed and thrown away. Now emails/users feed the unified identity pool and
    every installed-software string crosses the _VERSION_CVES table. Zero extra
    network cost.
  • Version→CVE banner matcher (curated table of 10 CVEs: ProFTPD mod_copy,
    CoreFTP <727, OpenSMTPD ≤6.6.2, BlueKeep, SMBGhost, PRTG <18.2.39,
    ColdFusion 8, OpenSSH <7.8 userenum, vsftpd 2.3.4 backdoor, Shellshock) wired
    into fp_ftp, fp_smtp, fp_ssh, fp_web_slow and fp_snmp.
  • Policy-aware wordlist filter + precise hydra form string — the grep -E
    pipeline in _wordlist_recos now adapts to the REAL pass-policy
    (min_len/complex), and the http-post-form string is built from the
    actual form fields katana parsed (username/password detection + CSRF token
    flagged dynamic), not the placeholder username=^USER^&password=^PASS^.
  • Unified identity pool — finger, SMTP-VRFY/RCPT, SNMP sysContact/LanMgr,
    mail ssl-cert emails and web-crawled emails now funnel through the same
    _merge_extra_identities (email local-part / DOM\user normalization /
    dedup case-insensitive / SIDs dropped) into the SAME ad_users.txt that
    kerbrute/SMB-RID/LDAP already write.

Quick wins (new detectors over data palantir already captures)

  • SPF / TXT → internal IPs + 3rd-party provider map — ip4: IPs in
    RFC1918/CGNAT get promoted to alta findings; include: directives map to
    O365, Google Workspace, Mailgun, SendGrid, Zoho, Atlassian, Salesforce…
  • Cloud-storage detector (passive) — scans crawled HTML for S3 / Azure Blob
    / GCS references; recommends read-only HEAD / ?comp=list / ?prefix=.
  • Subdomain-takeover detector — CNAME + 11-provider can-i-take-over-xyz
    fingerprint table (S3, GitHub Pages, Heroku, Azure, Fastly, Shopify,
    Pantheon, Tumblr, Bitbucket, Readme); one GET per candidate to confirm the
    "unclaimed" substring (confirmado → critica, otherwise alta).
  • Mail ssl-cert + capability harvester — CN/SAN → hostnames worth adding
    to /etc/hosts; emailAddress= → identities to the pool; AUTH=PLAIN
    without STARTTLS/STLS → alta finding "credentials travel in cleartext".
  • NFS nfs-ls sensitive files + UID/GID — cross-ref file names in the
    nfs-ls NSE output against the SMB loot regex + marks UID=0 files; recommends
    useradd -u <uid> when a non-trivial UID would be needed to read a file.
  • MX-based mail-stack classifier — cloud vs self-hosted vs mixto
    routes the recommendation chain accordingly (cloud → o365spray /
    MailSniper instead of pointless hydra smtp against a tenant).
  • IPMI vendor-aware default creds — identifies the BMC vendor
    (Dell/HP/HPE/IBM/Lenovo/Supermicro/Intel/Fujitsu/Oracle) from ipmi-version
    • banners → correct vendor creds + hashcat -m 7300 RAKP recipe with the
      vendor-appropriate mask.

Web passive (pattern-match over katana crawl output — nothing is sent)

  • IDOR candidate detector + JS function-disclosure — classifies param
    values by shape (seq / md5 / sha1 / uuid / b64 / hex) and greps
    crawled .js for the builder (CryptoJS.MD5, btoa, crypto.subtle,
    HmacSHA*). Mass-enum loops only RECOMMENDED (exfil = active).
  • Upload-form bypass recommender — multipart/form-data + file field →
    alta finding + 8-step bypass matrix (double-ext, alt-PHP, Content-Type
    swap, GIF89a, null-byte, polyglot zip/phar, SVG+script, LFI-chain hint).
  • HTTP verb-tampering (OPTIONS enum) — one OPTIONS + one GET; if GET
    returns 401/403 recommends alternate verbs; if Allow lists
    PUT/PROPFIND/TRACE emits the matching bypass tip (webshell upload /
    WebDAV / Cross-Site Tracing).
  • Command-injection candidate recommender — param names that sound like
    shell sinks + root-HTML context detection (strong when "Ping Tool" /
    "traceroute" / "network diagnostic" appears). Emits the operator table +
    blacklist-evasion table (${IFS} / case / rev / b64 / wildcards / Windows
    caret). No active probe.

Gates

py_compile · --version · --selftest · ruff · mypy · SQLi broad-fuzz
sim — all green.

Three items intentionally deferred (cross-host NTLM-relay graph, Snaffler
--spider tiering, PRTG/Splunk/Nagios/ColdFusion/Drupal/GitLab footprints,
stack/transfer/pivot recommenders, AD hardening appendix, LLMNR passive
listener, XXE, policy-aware cracking) + the entire B/C buckets, awaiting a
focused review before implementation.

v2.8.1 — --crawl va headless automático: chequea navegador y, si no hay, ofrece instalarlo

Choose a tag to compare

@salitress salitress released this 02 Dec 23:42

Changed

  • --crawl now crawls headless automatically when a real browser is available — no extra flags needed. When a Chrome/Chromium binary is on the PATH, katana runs with -headless -no-sandbox -system-chrome -xhr-extraction -d 3: it executes JS and captures the XHR/fetch endpoints of APIs/SPAs that the static crawl never sees, so more params and forms reach the sqlmap workflow. -system-chrome is forced so katana never downloads its own (~150 MB) Chromium over the network behind the operator's back.
  • No browser? It offers to install one instead of downloading silently. On a default Kali box (which ships Firefox, not Chromium) the crawl falls back to the previous static mode and recommends installing a browser as a next-step (sudo apt install -y chromium) — it recommends, it never downloads or runs anything.
  • Safety net: if the headless attempt fails (broken browser, unsupported flag, timeout, empty output) the static crawl is re-run, so a crawl never silently produces nothing.
  • Sharper SQLi enumeration next-step: it now makes explicit that --dump auto-cracks hash-looking columns of an application table (distinct from --passwords, which cracks the DBMS users' own hashes), and that --search -C/-T is the way to locate a table/column when its exact name is unknown.

Full gate green: py_compile, --selftest (new _chrome_bin invariant), ruff, mypy, plus the wide SQLi simulation (205 _sqli_recos calls).

v2.8.0 — workflow de sqlmap/SQL injection a medida tras el crawl web

Choose a tag to compare

@salitress salitress released this 02 Dec 23:16

Added

  • SQL-injection / sqlmap next-steps after a real web crawl (_sqli_recos, surfaced from the --crawl/katana block in fp_web_slow). Once katana has crawled a site, palantir turns the injection points it found into a ready sqlmap workflow — recommendations only, it never runs sqlmap or any SQL query — mirroring the HTB SQL Injection Fundamentals + SQLMap Essentials modules. Full spectrum:

    • Detection on GET params and on POST forms (built from the form's real fields; anti-CSRF token marked via --csrf-token/--csrf-url; logins flagged for --risk=3 OR-payloads).
    • Authenticated / complex requests: -r request.txt (Burp), cookie injection --cookie="id=1*", JSON-body APIs --data '{"id":1}', multipart → -r.
    • "Not detected" tuning: --level=5 --risk=3, --parse-errors, --technique, --tamper, --dbms, --flush-session, --ignore-code; and the manual branch — non-standard boundary → --prefix/--suffix, AND/OR filtered → UNION --technique=U, small tables → --sql-query.
    • Enumeration — only once injection is confirmed: --banner/--current-*/--is-dba/--users/--passwords/--privileges/--schema/--search/--columns/--dump.
    • OS exploitation — only if the DB user is DBA: --file-read/--file-write/--os-shell/--os-cmd.
      Every escalation line is clearly gated ("only if it confirms" / "only if DBA"), emitted once, and per-endpoint lines are capped so the next-steps don't flood.
  • Deeper parsing of the katana crawl (_parse_katana_jsonl now also returns params + form_details). It surfaces GET-param URLs over non-static resources as injection candidates (static assets like app.js?v=9/style.css filtered out), extracts each form's method/action/enctype/parameters (confirmed against katana's own Go structs) to build the --data, and parses response.xhr_requests — the XHR/fetch endpoints a headless crawl captures (API/SPA endpoints the static crawl never visits) — plus parameters hidden inside JS. When the app looks JS-heavy, palantir also recommends a deeper headless re-crawl (katana -headless -d 3).

v2.7.0 — wordlists a medida tras el crawl web (CeWL/Username Anarchy/CUPP)

Choose a tag to compare

@salitress salitress released this 28 Nov 15:00

Added

  • Custom-wordlist next-steps after a real web crawl (_wordlist_recos, surfaced from the
    --crawl/katana block in fp_web_slow). Once katana has crawled a site and surfaced its real
    attack surface (forms, emails, on-page words), palantir now recommends the natural follow-up —
    building a target-specific wordlist instead of reaching for generic rockyou/SecLists — mirroring
    the HTB "Custom Wordlists" workflow: CeWL to scrape the site's own words into a dictionary,
    Username Anarchy to turn a real name (e.g. from a crawled email) into username candidates, and
    CUPP to turn an OSINT profile into a password list (with the password-policy grep filter).
    When katana saw a login form, it closes the loop with a ready hydra http-post-form against that
    exact login — host, port, path and -S (SSL) all derived from the form's own URL — using the
    tailored list rather than rockyou. Suggestions only, nothing is executed; they appear only when a
    crawl actually ran, and the HTML report's existing next-step dedup collapses the generic ones across
    ports. Form-URL port parsing tolerates a malformed port without raising, and the CeWL command puts
    the URL last (canonical "options then url").

v2.6.0 — subdomain fuzzing real por DNS

Choose a tag to compare

@salitress salitress released this 26 Nov 19:29

Added

  • Active subdomain fuzzing by real DNS resolution (fuzz_subdomains/fp_subdomains_active,
    Fase 5) — complements the existing vhost fuzzing (Fase 7, Host-header based) with a
    genuinely different confirmation method: whether <candidate>.<domain> actually resolves in
    DNS, not just whether the same web server answers any Host header the same way. Finds
    subdomains that aren't even web servers (mail/vpn/ns/dc2…). Shares --vhost-wordlist with the
    vhost fuzzing and is skipped by the same --no-vhost-fuzz; results feed straight into Fase 7's
    existing confirmed-first vhost wordlist alongside crt.sh subdomains. Queries the system
    resolver when it knows the domain, falling back to the scanned target directly otherwise (same
    criterion fp_dns_nameservers already used); filters DNS wildcard catch-alls the same way
    fuzz_vhost filters an HTTP catch-all.

Fixed

  • --no-fuzz's help text said "Salta las Fases 5 y 6", but the single if not args.no_fuzz
    block it gates wraps Fase 6 (directory fuzzing) and Fase 7 (vhost fuzzing) — Fase 5
    (credentials) was never part of it. Now correctly says "Fases 6 y 7".

v2.5.1 — fix de CI (matriz 3.8/3.9) y cierre del changelog

Choose a tag to compare

@salitress salitress released this 26 Nov 18:11

Fixed

  • CI's Python 3.8/3.9 selftest jobs failed outright on setup-python@v5 ("version not found
    for Ubuntu 26.04"). Not a code bug: ubuntu-latest now resolves to Ubuntu 26.04, and
    setup-python no longer ships prebuilt binaries for 3.8/3.9 (both EOL upstream) on that
    image. Those two matrix entries now pin runs-on: ubuntu-22.04 (which still has them);
    3.10–3.13 keep ubuntu-latest. requires-python = ">=3.8" stays accurate — the code itself
    needs nothing newer.

Housekeeping

  • CHANGELOG.md's single [Unreleased] block (which had drifted to hold both the already-shipped
    v2.4.0 content and the new v2.5.0 content together) is now split correctly into [2.4.0] and
    [2.5.0], with this release's fix recorded as its own [2.5.1] entry. __version__ bumped
    to match (palantir --version → palantir 2.5.1).

v2.3.0 — rutas de -o siempre absolutas, usuarios de RID cycling guardados, brutespray deja de perderse el SMB de Samba

Choose a tag to compare

@salitress salitress released this 25 Nov 18:25

Added

  • RID-cycling-discovered users (null-session enumdomusers) are now persisted to
    ad_users.txt
    , merged in like every other writer of that file (machine accounts
    filtered) — previously only reported in the finding text, never written to disk.

Fixed

  • -o/--outdir is now always resolved to an absolute path at startup. Every path that
    hangs off base (report.html, commands.log, ad_users.txt, findings.json, …) inherits this
    automatically, instead of only being absolute when the operator happened to pass -o that
    way themselves.

  • Several suggested commands (AS-REP roast, password spraying) still hardcoded the bare
    ad_users.txt filename
    , even though the file itself was already written to the real
    <base>/ad_users.txt. New _ad_users_path(base) fixes the spots that had it wrong.

  • brutespray never actually tested SMB against a real Samba target, and bruteforced an
    unasked-for HTTP service instead.
    brutespray's own .gnmap parser only recognizes nmap's
    literal service-name string for SMB (microsoft-ds/cifs) — but nmap always renames the
    service to netbios-ssn the moment its -sV signature matches Samba, a name brutespray
    doesn't recognize at all, while "http" is on its list. Rewritten to use repeatable
    -H service://ip:port arguments built directly from palantir's own already-computed service
    names — no longer depends on any nmap file on disk or on how nmap named the port.

v2.2.4 — searchsploit dejaba colar "Sambar Server" (producto sin relación) entre los exploits de Samba

Choose a tag to compare

@salitress salitress released this 25 Nov 18:06

Fixed

  • searchsploit's substring matching for "Samba" also pulled in "Sambar Server": a
    completely unrelated, discontinued web server (Cogent/Watcher, ~2000-2004). Confirmed from a
    real run against a Debian box with Samba 4.13.13, where 10 "Sambar Server" EDB entries showed
    up as "alta" — unaffected by the version-based downgrade from 2.2.3, since "Sambar Server 4.1
    Beta" happens to share the same major version (4) as the real Samba install. New
    _downgrade_wrong_product_exploits(): an exploit whose title doesn't mention the searched
    product as a whole word (\bSamba\b never matches "Sambar") gets downgraded to baja with a
    note. Needs no known version, so it runs unconditionally alongside the existing check.

v2.2.3 — deja de sugerir RID cycling redundante y afina los exploits de Samba por versión real

Choose a tag to compare

@salitress salitress released this 25 Nov 17:51

Fixed

  • The RID-cycling next-step was always suggested, even when it was already redundant:
    fp_smb reported null-session usernames found via enumdomusers and, in the same breath,
    suggested manually redoing exactly that via RID cycling. Moved the suggestion to the branch
    where enumdomusers actually finds nothing, where it's useful.

  • Samba exploit-db matches were almost all noise from 20-year-old versions: nmap's -sV
    only gives the major version ("Samba smbd" version "4"), producing 60+ "critica" hits for
    Samba 1.x-3.x exploits that can't apply to a real 4.x install. The precise version (e.g.
    4.13.13-Debian) is already printed in the IPC$ share comment nxc/smbclient capture during
    footprinting — now parsed and used to downgrade exploits whose title only mentions an earlier
    major to baja, with a note, the same way a pre-Windows-10 CVE is downgraded against a
    confirmed modern host. A title with no parseable version, or one from the same/later major, is
    left untouched.

v2.2.2 — ms17-010/SMBGhost/webdav ya no se lanzan contra un Samba confirmado

Choose a tag to compare

@salitress salitress released this 25 Nov 17:36

Fixed

  • ms17-010/SMBGhost/webdav ran against a confirmed Samba target: nmap's own service
    detection already confirms Samba smbd before these three nxc checks run, but fp_smb
    never used that signal. All three are bugs/services exclusive to the real Windows codebase
    (srv.sys/srv2.sys for MS17-010/SMBGhost, the WebClient service for webdav) that Samba
    never shares or implements, so they can never produce a true finding against it. New
    _is_samba(ports) gates the three checks on an explicit "Samba" product string — deliberately
    narrower than the existing _target_is_windows() heuristic (used elsewhere for a lower-stakes
    decision), since a wrong skip here would hide a real vulnerability rather than just add noise.