Adding different SSH key extensions
Is your feature request related to a problem? Please describe.
Currently as far as I understand Monkey Agent is searching resident system home directory for SSH keys to steal, looking especially for
The problem is that monkey is ignoring the
Additionally, it should in my opinion search for them even if the pubkey won't be there, as often there are only privkeys stored in a location.
Describe the solution you'd like Monkey Agent should gather also gather other popular key extensions, like .pem, .ppk, or even check the text files that are same name as .pub file. Also searching for full pair should not be nesscescary.
Describe alternatives you've considered
Leaving it as it is, as it's working with
Cheers!
When resolving this issue, take a peek at https://github.com/guardicore/monkey/issues/1509. The SSH collector may be making similar assumptions.
@Piesa This has been resolved on develop. Let me know if you'd like to test out a development binary. Otherwise, it will be released in the next few weeks with v2.2.0.