Skip to content

Add Shadow Credentials module - #1368

Open
NeffIsBack wants to merge 13 commits into
mainfrom
neff-add-shadow-creds
Open

Add Shadow Credentials module#1368
NeffIsBack wants to merge 13 commits into
mainfrom
neff-add-shadow-creds

Conversation

@NeffIsBack

@NeffIsBack NeffIsBack commented Aug 16, 2026

Copy link
Copy Markdown
Member

Description

Adds shadow credentials module, heavily inspired by pyWhisker: https://github.com/ShutdownRepo/pywhisker
Similar to pyWhisker you can:

  • list
  • add
  • remove
  • backup
  • revert
    keyCredentials of computers.

Related PRs: #936, #1234

AI disclosure: I got infected and started to use codex as well. Turns out to be quite decent when adding guard rails and properly review the output. Model that was used: gpt-5.6-sol high. Reviewed the module (and with that tested the stuff obviously).

Type of change

Insert an "x" inside the brackets for relevant items (do not delete options)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Deprecation of feature or functionality
  • This change requires a documentation update
  • This requires a third party update (such as Impacket, Dploot, lsassy, etc)
  • This PR was created with the assistance of AI (list what type of assistance, tool(s)/model(s) in the description)

Setup guide for the review

Execute the module, e.g.:

poetry run nxc ldap 192.168.56.11 -u eddard.stark -p FightP3aceAndHonor! -M shadow-creds -o TARGET=testcomputer$ ACTION=add
poetry run nxc ldap 192.168.56.11 -u eddard.stark -p FightP3aceAndHonor! -M shadow-creds -o TARGET=testcomputer$ ACTION=list
...

Screenshots (if appropriate):

Add/list/remove:
image

Get the cred info:
image

Backup&Revert:
image

Checklist:

@NeffIsBack NeffIsBack added the enhancement New feature or request label Aug 16, 2026
@NeffIsBack NeffIsBack mentioned this pull request Aug 16, 2026
14 tasks
Comment thread nxc/modules/shadow-creds.py
Comment thread nxc/modules/shadow-creds.py Outdated
Comment thread nxc/modules/shadow-creds.py Outdated
Comment thread nxc/modules/shadow-creds.py
Comment thread nxc/modules/shadow-creds.py
@azoxlpf

azoxlpf commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

LGTM :

image

Info :

image

Comment thread nxc/modules/shadow-creds.py Dismissed
Comment thread nxc/modules/shadow-creds.py Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants