قبل از اينكه پورتي رو ببندي بهتره يه نگاهي به عملكرد اون بندازي مثلا"
Port number: 445
Common name(s): microsoftds, win2kcifs
Common service(s): Microsoft Domain Service, Windows 2000/XP Common Internet File Sharing
Service description(s): Used by SMB file and print sharing in Windows 2000 and XP
Common server(s): Microsoft print and file sharing, Samba
Common client(s): Windows 95, 98, ME, NT, 2000, XP, Samba
Common problem(s): Synchronization problems, information leakage.
Encrypted options: SMB (parent protocol) can be SSL enabled
.
.
.
Firewalling recommendations: Firewall port 445 inbound and outbound to prevent attacks.
Attack detection: Traffic to port 445 from external sources often indicates an attack. Traffic to port 445 should only occur with systems specifically setup as servers or otherwise providing network services and applications that have a listening component.
Related ports: 135, 137, 138, 139
حالا هر پورتي يه كاري انجام ميده همين پورت 445 يه پورت براي حمله است.و الي آخر