-
Notifications
You must be signed in to change notification settings - Fork 58
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
Create separate finding for Microsoft RDP port #3882
Conversation
I think its a good idea to add this to the Question as well since all other port configs are also asked there. For the rest this looks good! |
update finding texts.
I've updated the Question schema 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just a few tiny things to complete this PR:
- Since one of the recommendation strings has been updated; it affected the
test_port_classification_tcp_22
test in Octopoes. Meaning "should not be open" should be changed to "should possibly not be open." - Format error in the JSON file, can be fixed by running pre-commit
Checklist for QA:
What works:It works |
I love this. "What works?" "IT works." |
Quality Gate failedFailed conditions |
Changes
This PR updates the findings DB and tweaks the bit for port classification such that when a Microsoft RDP port is detected, a separate finding is created for this. From a security perspective it is good to know if this point is present in the attack surface.
If an open RDP port is detected, the finding is given a 'medium' severity, as there is no immediate risk per se. A recommendation severity would also be possible, however RDP is often the root cause for ransomware attacks, thus that feels a bit low. Other ideas for an appropriate severity are welcome.
Issue link
Partial solution for #3837
Demo
QA notes
nc -l 3389
locally or use the IP from the screenshot (this is a Google server).Code Checklist
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.