Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add windows ssh persistence #12915

Merged
merged 4 commits into from
Feb 17, 2020

Conversation

dwelch-r7
Copy link
Contributor

@dwelch-r7 dwelch-r7 commented Feb 6, 2020

Adds an ssh key persistence module for windows similar to post/linux/manage/sshkey_persistence

Verification

List the steps needed to make sure this thing works

[ ] Start msfconsole
[ ] Exploit a box via whatever method
[ ] Do: use post/windows/manage/sshkey_persistence
[ ] Do: set session #
[ ] Optional Do: set USERNAME
[ ] Optional Do: set SSHD_CONFIG
[ ] Do: run

@h00die
Copy link
Contributor

h00die commented Feb 7, 2020

would it be worth it to take the linux one and move it to a multi, then add this in? Having not looked at the code, I would assume there is a lot of overlap

@h00die
Copy link
Contributor

h00die commented Feb 7, 2020

Also, please try msftidy_docs from #12878 it should help with some consistency issues

@dwelch-r7
Copy link
Contributor Author

Also, please try msftidy_docs from #12878 it should help with some consistency issues

Good shout, cheers

@dwelch-r7
Copy link
Contributor Author

[WARNING] Docs should start with ## Vulnerable Application
[WARNING] Missing Section: ## Vulnerable Application
[WARNING] H2 headings in incorrect order. Should be: Vulnerable Application, Verification Steps, Options, Scenarios

@h00die I've sorted the rest of the issues but do we think these warnings make sense for post modules? There isn't really a vulnerable application in this case at least

@h00die
Copy link
Contributor

h00die commented Feb 7, 2020

@tperry-r7 #12915 (comment) see comment above, you're the authority!

@agalway-r7 agalway-r7 self-assigned this Feb 14, 2020
@agalway-r7 agalway-r7 merged commit 54550db into rapid7:master Feb 17, 2020
@dwelch-r7 dwelch-r7 deleted the add-windows-ssh-persistence branch February 17, 2020 12:41
@dwelch-r7
Copy link
Contributor Author

Release Notes

Adds post module for ssh key persistence on a windows target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants