Sunday, June 4, 2017

How to protect samba from WannaCry (Sambacry)

1. Allow & Block Network

hosts deny = ALL
​hosts allow = 192.168.1.

2. Add buttom line
server min protocol = SMB2_10
​client max protocol = SMB3
​client min protocol = SMB2_10

sudo systemctl restart smbd

Ref:
http://www.techrepublic.com/article/how-to-protect-samba-from-the-likes-of-the-sambacry-exploit

No comments: