Skip to content

feat: add rpcclient as required tool and clarify pass-the-hash handling#237

Merged
l50 merged 2 commits into
mainfrom
worktree-fix-tool-deps-recon-lateral
Apr 27, 2026
Merged

feat: add rpcclient as required tool and clarify pass-the-hash handling#237
l50 merged 2 commits into
mainfrom
worktree-fix-tool-deps-recon-lateral

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented Apr 27, 2026

Key Changes:

  • Added rpcclient as a required tool for SMB/RPC lateral movement and recon roles
  • Updated package lists for both Kali and Ubuntu in lateral movement and recon roles to include samba-common-bin and smbclient where needed
  • Enhanced tool registry logic and documentation to reflect the unavailability of pass-the-hash binaries on Debian trixie
  • Updated test expectations to include rpcclient and smbclient in the tool check suite

Added:

  • rpcclient added as a required binary for SMB operations in the tool registry and test suite
  • samba-common-bin (which provides rpcclient) added to package lists for lateral movement and recon roles on both Kali and Ubuntu

Changed:

  • SMB tool category updated to require both smbclient and rpcclient binaries in tools.yaml
  • Recon and lateral movement roles updated to ensure both smbclient and samba-common-bin are installed for complete SMB/RPC support
  • Test suite expanded to expect smbclient and rpcclient in the tool check for lateral movement tools
  • Pass-the-hash tool section updated: binaries list cleared and explanatory comment added regarding Debian trixie unavailability, with function names retained for registry consistency

Removed:

  • All pass-the-hash binaries removed from the tool registry for Debian trixie due to package and build limitations, while retaining function names to avoid registry issues

…dling

**Added:**

- Added `samba-common-bin` to lateral_movement_tools and recon_tools package lists to provide `rpcclient` for SMB/RPC operations
- Included `smbclient` as a required package for share enumeration in recon_tools

**Changed:**

- Updated tool_check test to expect `rpcclient` and `smbclient` instead of `pth-winexe`
- Expanded SMB tool category in tools.yaml to include both `smbclient` and `rpcclient`
- Documented the removal of pass-the-hash binaries for Debian trixie in tools.yaml and left only function names to avoid false missing tool checks

**Removed:**

- Removed pass-the-hash binaries from tools.yaml due to unavailability on Debian trixie, retaining only function names for registry completeness
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.89%. Comparing base (d4a3569) to head (b25993d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage   74.89%   74.89%           
=======================================
  Files         383      383           
  Lines       80224    80225    +1     
=======================================
+ Hits        60085    60086    +1     
  Misses      20139    20139           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

… files

**Changed:**

- Updated package tables in `lateral_movement_tools` role README to add `samba-common-bin` before `sshpass` and shift `sshpass` and `proxychains4` indices for both Kali and Ubuntu package lists
- Added `smbclient` to `recon_tools` role README package tables for both Kali and Ubuntu, updating list indices accordingly
@l50 l50 merged commit 30415fd into main Apr 27, 2026
16 checks passed
@l50 l50 deleted the worktree-fix-tool-deps-recon-lateral branch April 27, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant