Skip to content

Migrate the SSH exploiter to a plugin #3170

@mssalvatore

Description

@mssalvatore

Description

Replace the hard-coded SSH exploiter with a new and improved, fully tested, SSH exploiter plugin with high code quality. Leverage the BruteForceExploiter to minimize code duplication.

Use the SMBExploiter as a template.

Tasks

  • Plugin skeleton (0d) - @shreyamalviya
    • options (pydantic)
      • determine what options SSH should have
      • create a pydantic model for SSH options
    • Create plugin manifest
    • Create config schema
  • Create a Pipfile for dependencies (0d) - @shreyamalviya
  • Update Jenkins (0.25d)
    • Add a jenkins job to build the plugin - @shreyamalviya
    • Update the island build jobs on Jenkins to copy the artifacts from the SSH plugin build job
  • plugin.py (0d) - @shreyamalviya
  • command builder (0d) - @shreyamalviya
  • exploit client (0d) @ilija-lazoroski
    • Don't forget to add MITRE tags
    • Check preconditions in plugin.py
  • Update ETE test configurations (0d) @cakekoa
  • Remove the hard-coded SSH plugin (0d) @cakekoa
    • Remove vulture entries
    • Fix command builder OS check (0d)
  • Extra and ETE testing (0d)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions