Which port is commonly used by Windows file sharing (SMB) over TCP?

Prepare for the Certified Ethical Hacker Version 11 Exam with a comprehensive test featuring flashcards and multiple choice questions, each accompanied by hints and explanations to ensure a thorough understanding. Ace your ethical hacking exam with confidence!

Multiple Choice

Which port is commonly used by Windows file sharing (SMB) over TCP?

Explanation:
SMB, the protocol Windows uses for file sharing, runs over TCP. In modern Windows systems, it’s hosted directly on port 445, which is why that port is the one you’ll usually see opened for file sharing. Earlier setups used NetBIOS over TCP/IP with SMB on port 139, but that has largely been replaced by the direct SMB over TCP path on 445. The other ports listed aren’t used for SMB: 22 is SSH, and 1024 isn’t a standard SMB port. So the commonly used port for SMB over TCP today is 445.

SMB, the protocol Windows uses for file sharing, runs over TCP. In modern Windows systems, it’s hosted directly on port 445, which is why that port is the one you’ll usually see opened for file sharing. Earlier setups used NetBIOS over TCP/IP with SMB on port 139, but that has largely been replaced by the direct SMB over TCP path on 445. The other ports listed aren’t used for SMB: 22 is SSH, and 1024 isn’t a standard SMB port. So the commonly used port for SMB over TCP today is 445.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy