NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

add new security-questions module

Open Adamkadaban opened this issue 2 months ago • 4 comments

Description

this module will dump security questions and answers for all users on the machine assuming run as administrator

requires this PR to work: https://github.com/fortra/impacket/pull/1743


Reference: https://hackback.zip/2024/05/08/Remotely-Dumping-Windows-Security-Questions-With-Impacket.html

Type of change

  • [x] New feature (non-breaking change which adds functionality)

How has this been tested?

Only tested against windows 10 and windows 11. Ran e2e tests

Screenshots

image example output shows <Username> - <Question>: <Answer> for each user

Checklist

  • [x] I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
  • [x] I have added or updated the tests/e2e_commands.txt file if necessary
  • [x] New and existing e2e tests pass locally with my changes
  • [x] My code follows the style guidelines of this project (should be covered by Ruff above)
  • [x] If reliant on third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation (PR here: https://github.com/Pennyw0rth/NetExec-Wiki/pull/11)

Adamkadaban avatar May 08 '24 22:05 Adamkadaban