Skip to content

Comments

Bypass Step Security Harden Runner (if running)#15

Draft
AdnaneKhan wants to merge 1 commit intomainfrom
update/soften-runner
Draft

Bypass Step Security Harden Runner (if running)#15
AdnaneKhan wants to merge 1 commit intomainfrom
update/soften-runner

Conversation

@AdnaneKhan
Copy link
Owner

This PR adds a feature to check if StepSecurity's harden runner is running in the build. If it is, then Cacheract will:

  • Check if sudo is disabled. If it is, then it will use an embedded alpine docker image to privesc and store sudo access.
  • It will unset the DNS filtering and remove the harden runner block functionality.
  • It will remove IP tables filter rules set by Harden Runenr.

After this, Cacheract will be able to exfiltrate values without any problems. Helpful for initial exploitation in harden-runner protected workflows as well as detonation in a workflow protected by harden runner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant