Skip to content

Commit

Permalink
Patch 404 (#426)
Browse files Browse the repository at this point in the history
* Update open-vnc-server.md

* Update step2.png

Updated image for step 2

* Updated image for step 3 & 4

* Update step5.png

Updated image for step 5

* Update open-vnc-server.md

Updated step 5

* Update step7.png

Updated image for step 7

* Update step8.png

Updated image for step 8

* Update open-vnc-server.md

Updated step 8

* Update step9.png

Updated image for step 9

* Update step10.png

Updated image for step 10

* Update open-vnc-server.md

Updated step 10

* Update step11.png

Updated image for step 11

* Update step12.png

Update image for step 12

* Update open-vnc-server.md

Updated step 12

* Apply suggestions from code review

Co-authored-by: alphadev4 <[email protected]>
  • Loading branch information
shuklaalok87 and alphadev4 authored Oct 28, 2022
1 parent 3fbf96b commit 1a67913
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions en/aws/ec2/open-vnc-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
| **Recommended Action** | Restrict TCP port 5900 to known IP addresses |

## Detailed Remediation Steps
1. Log into the AWS Management Console.
1. Log in to the AWS Management Console.
2. Select the "Services" option and search for EC2. </br> <img src="/resources/aws/ec2/open-vnc-server/step2.png"/>
3. Scroll down the left navigation panel and choose "Security Group" under "Network & Security".</br> <img src="/resources/aws/ec2/open-vnc-server/step3.png"/>
4. Select the "EC2 Security Group" that needs to be verified. </br> <img src="/resources/aws/ec2/open-vnc-server/step4.png"/>
5. Scroll down the bottom panel and choose "Inbound". Verify the value for "Source" column for "Custom TCP Rule" for port 5900 under "Type" and if any rule have value set to "0.0.0.0/0" or "::/0 " then the selected "Security Group" has "TCP" port for "VNC Server" open to the public.</br> <img src="/resources/aws/ec2/open-vnc-server/step5.png"/>
5. Scroll down the bottom panel and choose "Inbound rules". Verify the value for "Source" column for "Custom TCP" for port 5900 under "Type" and if any rule have value set to "0.0.0.0/0" or "::/0 " then the selected "Security Group" has "TCP" port for "VNC Server" open to the public.</br> <img src="/resources/aws/ec2/open-vnc-server/step5.png"/>
6. Repeat steps number 2 - 5 to verify other "Security Groups" in the selected AWS region.</br>
7. Navigate to "Security Groups" under "Network & Security" and select the "Security Group" that needs to modify to restrict the access of "TCP" port 5900 for "VNC Server" to specific ip address. </br> <img src="/resources/aws/ec2/open-vnc-server/step7.png"/>
8. Scroll down the page and select the "Inbound" and click on the "Edit" button. </br> <img src="/resources/aws/ec2/open-vnc-server/step8.png"/>
7. Navigate to "Security Groups" under "Network & Security" and select the "Security Group" that needs to be modified to restrict the access of "TCP" port 5900 for "VNC Server" to specific IP address. </br> <img src="/resources/aws/ec2/open-vnc-server/step7.png"/>
8. Scroll down the page and select the "Inbound rules" and click on the "Edit Inbound rules" button to the right. </br> <img src="/resources/aws/ec2/open-vnc-server/step8.png"/>
9. In the "Edit inbound rules" tab select either the "MyIP" or "Custom" from the "Source" column.</br> <img src="/resources/aws/ec2/open-vnc-server/step9.png"/>
10. In the "Edit inbound rules" tab select the "MyIP" from the "Source" column to allow "VNC Server" inbound traffic only from specific IP address.</br> <img src="/resources/aws/ec2/open-vnc-server/step10.png"/>
10. In the "Edit inbound rules" tab select the "MyIP" from the "Source" column to allow "VNC Server" inbound traffic only from your IP address.</br> <img src="/resources/aws/ec2/open-vnc-server/step10.png"/>
11. In the "Edit inbound rules" tab select the "Custom" from the "Source" column as per the requirements for "VNC Server" and specify static IP/Elastic IP address along with "Description" for the "Security Group" rule. </br> <img src="/resources/aws/ec2/open-vnc-server/step11.png"/>
12. Click on the "Save" button to make the necessary changes. </br> <img src="/resources/aws/ec2/open-vnc-server/step12.png"/>
12. Click on the "Save rules" button to make the necessary changes. </br> <img src="/resources/aws/ec2/open-vnc-server/step12.png"/>
13. Repeat steps number 7 - 12 to restrict TCP port 5900 for "VNC Server" to known IP address.</br>
Binary file modified resources/aws/ec2/open-vnc-server/step10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/aws/ec2/open-vnc-server/step9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a67913

Please sign in to comment.