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

Migrate the PowerShell exploiter to a plugin #3165

Closed
20 tasks done
mssalvatore opened this issue Mar 28, 2023 · 0 comments
Closed
20 tasks done

Migrate the PowerShell exploiter to a plugin #3165

mssalvatore opened this issue Mar 28, 2023 · 0 comments

Comments

@mssalvatore
Copy link
Collaborator

mssalvatore commented Mar 28, 2023

Description

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

Use the SMBExploiter as a template.

Tasks

  • Create plugin skeleton (0d) - @shreyamalviya
    • options (pydantic)
      • determine what options PowerShell should have
      • create a pydantic model for PowerShell options
    • Create plugin manifest
    • Create config schema
  • Create a Pipfile for dependencies (0d) - @shreyamalviya
  • Create a credentials generator (0d) @mssalvatore
  • plugin.py (0d) - @shreyamalviya
    • Check preconditions in plugin.py
  • command builder (0d) @ilija-lazoroski
  • exploit client (0.25d) @ilija-lazoroski
    • Don't forget to add MITRE tags
  • Update Jenkins (0d) - @shreyamalviya
    • Add a job to build the plugin
    • Update the island build jobs on Jenkins to copy the artifacts from the PowerShell plugin build job
  • Update ETE test configurations (0d) @cakekoa
  • Remove the hard-coded PowerShell plugin (0.25d) @mssalvatore
    • Don't forget to remove the dependencies from the agent's Pipfile
  • Extra and ETE testing (0.5d)
@mssalvatore mssalvatore added this to the v2.2.0 milestone Mar 28, 2023
mssalvatore added a commit that referenced this issue May 22, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
ilija-lazoroski added a commit that referenced this issue May 23, 2023
shreyamalviya pushed a commit that referenced this issue May 23, 2023
shreyamalviya pushed a commit that referenced this issue May 23, 2023
@shreyamalviya shreyamalviya mentioned this issue May 23, 2023
10 tasks
mssalvatore added a commit that referenced this issue May 23, 2023
mssalvatore added a commit that referenced this issue May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant