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

Add "setuid and setgid" technique (T1166) #702

Closed
shreyamalviya opened this issue Jul 2, 2020 · 0 comments · Fixed by #713
Closed

Add "setuid and setgid" technique (T1166) #702

shreyamalviya opened this issue Jul 2, 2020 · 0 comments · Fixed by #713
Assignees
Labels
Feature Issue that describes a new feature to be implemented.

Comments

@shreyamalviya
Copy link
Contributor

shreyamalviya commented Jul 2, 2020

T1166

setuid or setgid bits are set on Linux so that the application will run with the privileges of the owning user or group respectively, instead of the user or the group of the user launching it.
Adversaries can use this to either do a shell escape or exploit a vulnerability in an application with the setuid or setgid bits to get code running in a different user’s context.

Adding it as PBA:
- LINUX: try modifying file permissions using chown and chmod; see this and this
- WINDOWS: not applicable

Mapping the technique to the ATT&CK matrix

@shreyamalviya shreyamalviya added the Feature Issue that describes a new feature to be implemented. label Jul 2, 2020
@shreyamalviya shreyamalviya changed the title Add "setuid and setgid" technique (T1166 Add "setuid and setgid" technique (T1166) Jul 2, 2020
@shreyamalviya shreyamalviya self-assigned this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Issue that describes a new feature to be implemented.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant