Skip to content

v5.9.1

Compare
Choose a tag to compare
@vinnybod vinnybod released this 25 Jan 05:49
a75ee49

[5.9.1] - 2024-01-25

Changed

  • Convert agent task output to string before the BEFORE_TASKING_RESULT_HOOK (@vinnybod)
  • Updated tasklist for powershell code to not throw error when GetOwner fails (@Cx01N)

Fixed

  • Updated Uvicorn to fix issue where an open browser would cause the shutdown to hang (encode/uvicorn#2145) (@vinnybod)
  • Fixed the fastapi app lifecycle not being properly called on shutdown (@vinnybod)
  • Converted listener threads to daemons so they don't hang the shutdown in Python 3.12 and report RuntimeError: can't create new thread at interpreter shutdown (@vinnybod)
  • Log warning about ps/ls hooks and filters not being able to parse the JSON output (@vinnybod)

[5.9.0] - 2024-01-20

Added

  • Added validation and execution exceptions for modules to raise (@vinnybod)
  • Added decorators for module generate functions to automatically get the module_source and call finalize_module (@vinnybod)
  • Added execution exception to plugins (@vinnybod)
  • Added RUF rules to ruff config (@vinnybod)
  • Added SIM rules to ruff config (@vinnybod)
  • Added BOF modules to Empire as yamls (@Cx01N)
    • Added ClipBoardWindow-Inject module
    • Added nanodump module
    • Added secinject module
    • Added tgtdelegation module
    • Added TrustedSec's SA modules
  • Added custom certificate path to server config.yaml (@AaronVigal)

Deprecated

  • Returning tuples from module generate functions is deprecated
    • To return a 400, raise a ModuleValidationException
    • To return a 500, raise a ModuleExecutionException
    • Stop using handle_error_message
  • Returning tuples from plugin execution functions is deprecated
    • To return a 400, raise a PluginValidationException
    • To return a 500, raise a PluginExecutionException
  • Loading plugins from a .plugin file is deprecated
    • Use a .py file with a plugin.yaml instead
  • Extending the Plugin class is deprecated
    • Use the BasePlugin class instead

Changed

  • Migrated some Pydantic and FastAPI usage away from deprecated features (@vinnybod)
  • Updated the install script and Docker file from Python 3.12.0 to 3.12.1 (@vinnybod)
  • Upgraded all dependencies with poetry up (@vinnybod)
  • Plugin updates (@vinnybod)
    • Plugins have a plugin.yaml
    • Base plugin class is now BasePlugin
    • Updated plugin documentation
  • Upgraded Black to 23.12.0 (@vinnybod)
  • Upgraded Ruff to 0.1.9 (@vinnybod)
  • Upgraded Seatbelt to 1.2.1 (@Cx01N)