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

Added TTP to backdoor Kubernetes nodes with rogue SSH keys for persistence #127

Closed
wants to merge 1 commit into from

Conversation

l50
Copy link
Contributor

@l50 l50 commented Aug 23, 2024

Summary:
Added:

  • Created backdoor-k8s-nodes-authorized-keys.yaml TTP to inject rogue SSH keys into Kubernetes nodes
  • Added steps for deploying a privileged pod to modify authorized_keys files on all nodes
  • Included cleanup logic to restore original authorized_keys files after the attack
  • Created a detailed README.md explaining arguments, requirements, and usage examples

Changed:

  • Updated extract-k8s-secrets/README.md with correct example command for running TTP

Differential Revision: D61690546

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61690546

…tence (facebookincubator#127)

Summary:

**Added:**

- Created `backdoor-k8s-nodes-authorized-keys.yaml` TTP to inject rogue SSH keys into Kubernetes nodes
- Added steps for deploying a privileged pod to modify `authorized_keys` files on all nodes
- Included cleanup logic to restore original `authorized_keys` files after the attack
- Created a detailed `README.md` explaining arguments, requirements, and usage examples

**Changed:**

- Updated `extract-k8s-secrets/README.md` with correct example command for running TTP

Differential Revision: D61690546
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61690546

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9b454a6.

@l50 l50 deleted the export-D61690546 branch September 4, 2024 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants