Repository navigation
v2.9.0 — bucket A grande del vault CPTS: 17 detectores que reusan lo que ya se captura
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-userbadpwdcountthatnxc --usersexposes. Now
computes the per-account safe budget this window
(threshold − safety_margin − badpwd[u]) and names at-risk accounts in the
warning beforeconfirm_creds_sprayproceeds. - LFI→RCE decision chain — after
_lfi_probeconfirms an LFI, ONE extra
read viaphp://filter/convert.base64-encode/resource=<path>over the typical
php.inilocations; base64-decoded locally and classified:
allow_url_include=On→data://RCE;extension=expectloaded →
expect://shell; otherwise → log poisoning (User-Agent / PHPSESSID /
/proc/self/environ).disable_functionssurfaces as a warning. - SNMP loot → identities + version→CVE —
_snmp_walk_juicyalready
capturedsysContact, 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_CVEStable. 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
intofp_ftp,fp_smtp,fp_ssh,fp_web_slowandfp_snmp. - Policy-aware wordlist filter + precise hydra form string — the
grep -E
pipeline in_wordlist_recosnow adapts to the REAL pass-policy
(min_len/complex), and thehttp-post-formstring is built from the
actual form fields katana parsed (username/password detection + CSRF token
flagged dynamic), not the placeholderusername=^USER^&password=^PASS^. - Unified identity pool — finger, SMTP-VRFY/RCPT, SNMP sysContact/LanMgr,
mailssl-certemails and web-crawled emails now funnel through the same
_merge_extra_identities(email local-part /DOM\usernormalization /
dedup case-insensitive / SIDs dropped) into the SAMEad_users.txtthat
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 toaltafindings;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-onlyHEAD/?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, otherwisealta). - Mail
ssl-cert+ capability harvester — CN/SAN → hostnames worth adding
to/etc/hosts;emailAddress=→ identities to the pool;AUTH=PLAIN
withoutSTARTTLS/STLS→altafinding "credentials travel in cleartext". - NFS
nfs-lssensitive 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 —
cloudvsself-hostedvsmixto
routes the recommendation chain accordingly (cloud →o365spray/
MailSniperinstead of pointlesshydra smtpagainst a tenant). - IPMI vendor-aware default creds — identifies the BMC vendor
(Dell/HP/HPE/IBM/Lenovo/Supermicro/Intel/Fujitsu/Oracle) fromipmi-version- banners → correct vendor creds + hashcat
-m 7300RAKP recipe with the
vendor-appropriate mask.
- banners → correct vendor creds + hashcat
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.jsfor the builder (CryptoJS.MD5,btoa,crypto.subtle,
HmacSHA*). Mass-enum loops only RECOMMENDED (exfil = active). - Upload-form bypass recommender —
multipart/form-data+ file field →
altafinding + 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+ oneGET; ifGET
returns 401/403 recommends alternate verbs; ifAllowlists
PUT/PROPFIND/TRACEemits 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.