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

vdk-audit-plugin: expand forbidden events list #1683

Merged
merged 4 commits into from
Mar 10, 2023

Conversation

mivanov1988
Copy link
Contributor

@mivanov1988 mivanov1988 commented Feb 28, 2023

Added additional events to the forbidden events list.

Both os.spawn and subprocess.run are used to start new processes. The users are able to execute a shell command that contains malicious code.

E.g.

subprocess.run("mkdir ./{0}".format(dirs),shell=True, capture_output=True)

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

Added additional events to the forbidden events list.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@antoniivanov
Copy link
Collaborator

Please provide more explanation in the PR messages on why those are added ?

@mivanov1988
Copy link
Contributor Author

Please provide more explanation in the PR messages on why those are added ?

Done

@mivanov1988 mivanov1988 enabled auto-merge (squash) March 6, 2023 08:37
@mivanov1988 mivanov1988 merged commit e4e612d into main Mar 10, 2023
@mivanov1988 mivanov1988 deleted the person/miroslavi/audit-plugin-expand-forbidden-list branch March 10, 2023 15:44
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.

None yet

4 participants