A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?

Statement before class:
1. This sharing is only for learning exchanges, please consciously abide by laws and regulations!
2. Search: Kali and programming, learn more online*** dry goods!

Kali Linux***
uses msf framework to make win7 eternal blue***【defense】

Ways to defend ms17_101:
1. Install anti-virus software
2. Close port 445
3. Open the computer's firewall function

Defense methods:
1. Turn off file sharing
1.1 First, we will proceed to the Eternal Blue chapter to test whether the target computer can be connected.
You can see that we have successfully connected.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.1 Then we open the Control Panel -> Network and Internet -> Network and Sharing Center -> Advanced Sharing Settings. Turn off network discovery and file sharing, and click Save and modify.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.2 We open kali again and use the eternal blue loophole to make a *** attempt.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.3 When we shut down the sharing service, VPN will not be able to use the Eternal Blue loophole to attack our computer again.
2. Turn on the firewall
2.1 First , turn on all network sharing to test whether Kali can be successful on the target machine.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.1 You can see that the *** has been successful now, now open cmd and enter the command firewall.cpl to open the firewall control center.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.2 Set all windows firewalls to on, and click OK.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?

2.3 Let's use kali again to conduct a *** test to see if it can be successful.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
2.4 It can be seen that when our firewall is turned on, it can also resist ***.
3. Modify firewall inbound rules and install anti-virus software
3.1 Now we modify the firewall inbound rules in advanced settings.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.2.1 Select the stacking rule -> New rule -> Port ->
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.2.2 Select TCP, the specific local port 445, and then the next step.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.2.3 Choose to block the connection.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.2.4 Go to the next step without modification.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.2.5 The name and description can be set by yourself.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.3 After the establishment of the rules is complete, we will use kali again to conduct a *** test to see if the *** is successful.
A network security engineer teaches you Kali Linux: How to defend against computer eternal blue ransomware?
3.4 In addition to these three ways to resist the vulnerabilities of Eternal Blue, we can also install anti-virus software, which can help us resist the harm of the virus through the security detection of the anti-virus software.

Hard work and originality, everyone, please remember to praise and pay attention! You can also search: Kali and programming, learn more Kali Linux*** and white hat programming skills!

Click me to learn more Kali Linux*** testing and network*** practical skills! Please add link description

Guess you like

Origin blog.51cto.com/14308022/2532415