Advertisement
JackHaxor

Decrypt

May 14th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. A.Kiểm tra port 445
  2. Mở CMD quyền Admin và gõ
  3. netstat -an | findstr 445
  4. Nếu gõ không hiện ra cái gì thì là OK còn nếu có chữ LISTENNING thì phải block port ngay
  5. B. Tắt SMB (Mở Powershell lên và oánh các lệnh sau)
  6. Mở Start-> Windows PowerShell-> Phải chuột vào Windows Powershell chọn Run as administrator
  7. Copy từng dòng Paste vào. Nếu nó hiện lỗi gì thì bỏ qua sang dòng khác
  8. Remove-WindowsFeature FS-SMB1
  9. Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
  10. sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
  11. sc.exe config mrxsmb10 start= disabled
  12. sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
  13. sc.exe config mrxsmb20 start= disabled
  14. Set-SmbServerConfiguration -EnableSMB2Protocol $false
  15. Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force
  16. B. Chặn port 445/137/138/139 trên Firewall
  17. Máy nào cài Antivirus mà có tường lửa riêng thì phải cấu hình trên tường lửa riêng
  18. của Anivirus
  19. Còn máy nào ko xài Antivirus hoặc Windows Defener thì làm như sau
  20. B1: Mở Start search cụm từ Firewall và chọn Windows Firewall with Advanced security
  21. B2: Inbound Rules-> New Rule-> Port
  22. B3: Chọn UDP-> Specific local ports nhập dòng này vào 445, 137, 138, 139
  23. B4: Block the connection
  24. B5: Tick cả 3 cái
  25. B6: Đặt tên tùy ý-> finish
  26. B7: Kiểm tra lại xem bật firewall chưa, chưa thì bật lên
  27. C. Tắt Sever service
  28. B1: Run-> Services.msc
  29. B2: Tìm tới Services Server. Phải chuột chọn Stop
  30. B3: Click đúp vào nó. Startup type sửa thành Disabled. Apply->OK
  31. Sau khi làm xong tất cả RESTART LẠI MÁY. CẤM SHUTDOWN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement