Skip to content

Adding different SSH key extensions #1882

@Piesa

Description

@Piesa

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 .pub and after finding one, looking for with corresponding private key.

The problem is that monkey is ignoring the .pem or .ppk also containing private keys.

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 .pub and pair.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions