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

ShareEnumerar false positives #277

Open
fsacer opened this issue Feb 16, 2025 · 0 comments
Open

ShareEnumerar false positives #277

fsacer opened this issue Feb 16, 2025 · 0 comments

Comments

@fsacer
Copy link
Contributor

fsacer commented Feb 16, 2025

As far as I understand the goal of the share scanner is to find the interesting shares that have been overprivileged. I find myself often trying to filter out various common results such as NETLOGON and SYSVOL as well as other well-known Everyone allowed shares (by common best practices or software documentation). For this part maybe would be a great idea to add a column if a share is well-known to have a more easily filterable list.

The other part of the problem seems to be running the scanner with a user that has administrator access to some machines or the false-positive of a machine where the scanner is started. It seems that is not taken into account in the code

public static bool IsEveryoneAllowed(string server, string share)
. Additionally there is no check if write/modify access is allowed as well, additionally no distinction from share and NTFS permissions.

I think adding those would be an awesome addition to the tool.

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

No branches or pull requests

1 participant