美文网首页教育读书网络安全实验室
【紧急】勒索病毒正在全球爆发及防治方法

【紧急】勒索病毒正在全球爆发及防治方法

作者: 史慧君 | 来源:发表于2017-05-13 18:42 被阅读191次
从5月12日开始,勒索病毒在全球范围内爆发。

有关勒索病毒的了解, 建议直接百度“勒索病毒” 就可以看到很多。

【重点】:每一个用户都不能大意,否则电脑里的资料将有可能彻底消失。不管三七二十一,先把电脑保护起来。每个人先做下面四步解决

整体方案需要做3个步骤:

  1. 关闭135, 137等相关端口;
  2. 关闭网络和文件的访问权限;
  3. 杀毒软件杀毒;
    4.安装补丁文件;
1. 关闭135, 139端口及445端口等危险端口

复制下面代码, 保存为bat文件

%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
@echo off 
color 1f 
title 关闭135 445 端口
echo. 
echo. 
echo. 
echo 正在关闭135端口 请稍候… 
netsh advfirewall firewall add rule name = "Disable port 135 - TCP" dir = in action = block protocol = TCP localport = 135
echo. 
netsh advfirewall firewall add rule name = "Disable port 135 - UDP" dir = in action = block protocol = UDP localport = 135
echo. 
echo 正在关闭137端口 请稍候… 
netsh advfirewall firewall add rule name = "Disable port 137 - TCP" dir = in action = block protocol = TCP localport = 137
echo. 
netsh advfirewall firewall add rule name = "Disable port 137 - UDP" dir = in action = block protocol = UDP localport = 137
echo.
echo 正在关闭138端口 请稍候… 
netsh advfirewall firewall add rule name = "Disable port 138 - TCP" dir = in action = block protocol = TCP localport = 138
echo. 
netsh advfirewall firewall add rule name = "Disable port 138 - UDP" dir = in action = block protocol = UDP localport = 138
echo.
echo 正在关闭139端口 请稍候… 
netsh advfirewall firewall add rule name = "Disable port 139 - TCP" dir = in action = block protocol = TCP localport = 139
echo. 
netsh advfirewall firewall add rule name = "Disable port 139 - UDP" dir = in action = block protocol = UDP localport = 139
echo.
echo 正在关闭445端口 请稍候… 
netsh advfirewall firewall add rule name = "Disable port 445 - TCP" dir = in action = block protocol = TCP localport = 445
echo. 
netsh advfirewall firewall add rule name = "Disable port 445 - UDP" dir = in action = block protocol = UDP localport = 445
echo.
echo 按任意键退出 
pause>nul

2. 关闭网络和文件的访问权限;

点击电脑右下角, 点击鼠标右键


点击更改高级共享设置


关闭网络发现和关闭文件和打印机共享功能


点击所有网络且进行如下设置

点击保存更改即可!

  1. 杀毒软件杀毒;
    这个只是针对小白的方法, 因为很多电脑可能有明显的漏洞, 进行杀毒会杀出90%的漏洞且进行修复即可。
  1. 安装补丁文件;
    打开下面的安装网址, 根据自己的电脑系统, 进行补丁的修复和安装。

安装网址:https://technet.microsoft.com/zh-cn/library/security/MS17-010

打开网址之后是如下界面:


怎么检查自己的电脑是什么系统?
在桌面, 点击我的电脑鼠标右键属性。

即可看到电脑的操作系统, 比如我的是win10,32位操作系统;

找见对应的版本, 点击下载即可安装。

好了, 步骤操作完毕。

网络安全关系你我他!

相关文章

网友评论

    本文标题:【紧急】勒索病毒正在全球爆发及防治方法

    本文链接:https://www.haomeiwen.com/subject/nveatxtx.html