NetBIOS Vulnerability Defense

Source: Internet
Author: User

The NetBIOS (network basic input Output system, net base input/output systems) is an application interface (API) that enables the system to take advantage of a variety of modes, such as WINS services, broadcast, and Lmhost files, to convert NetBIOS The name resolves to the corresponding IP address, enabling information communication. Therefore, the use of NetBIOS protocol inside the LAN can easily realize the sharing of message communication and resources. Because it occupies less system resources and high transmission efficiency, it is especially suitable for small LAN which is composed of 20~200 computer. So Microsoft's client/server network system is NetBIOS-based.

When the TCP/IP protocol is installed, NetBIOS is also loaded with Windows as the default setting, and the computer also has the openness of the NetBIOS itself, and port 139 is opened. Some people with ulterior motives use this feature to attack the server, making it impossible for administrators to use file and printer sharing.

Use Netbrute scanner to scan to shared resources on the target computer, which mainly includes the following 3 parts.

lnetbrute: A Windows file/print shared resource that can be used to scan a single machine or multiple IP addresses. Although this is already a well-known loophole, as a continuation of the update in the Classic tool, for the Novice network and primary management is still enhanced intranet security of the right-hand.

Lportscan: Available network services for scanning the target machine. Help users determine which TCP ports should be shielded from firewall settings, or which services are not required and should be shut down.

Lwebbrute: Can be used to scan the web directory, check the security of HTTP authentication, test the user password. This is still very useful for new stations in the initial stage, not because the primary error caused the site to be easily invaded.

The following are the steps to use the Netbrute scanner software as an example of a shared resource on a scanned computer.

STEP01: Run Netbrute Scanner

STEP02: Select the file you want to open

Double-click the shared folder that you scanned to open it without a password. Of course, you can also directly enter the scanned shared folder IP address in IE's address bar, such as "\\192.168.1.88" (or view the default share with c$,d$, etc.). If you have a shared password, you will be asked to enter a shared user name and password, and the tool software (such as Pqwak), which exploits the password of the network neighbor, can be used to break into the folder. If you find that your computer has a NetBIOS vulnerability, to prevent intruders from exploiting the vulnerability, you need to turn off the NetBIOS vulnerability, which can be turned off in many ways.

(1) Unlocking file and printer sharing bindings

STEP01: Open Control Panel

STEP02: Open the Network and Sharing Center window

STEP03: View Network Connections

STEP04: Changing local Area Connection properties

In this way, all requests from ports 139 and 445 can be banned, and others will not be able to see the share of the machine.

(2) Use IPSec security policy to block access to ports 139 and 445

STEP01: Open the Control Panel window

STEP02: View various tools

STEP03: Creating an IP Security Policy

(3) Shutting down the server service

This will not shut down the port, but it can abort the machine's service to other machines and, of course, it will abort the sharing of other machines. However, shutting down the service will cause many related services to fail to start, such as if there is an IIS service in the machine.

STEP01: Open the Control Panel window

STEP02: View various tools

STEP03: Close Service

(4) Set up in the firewall to prevent other machines from using native shares

Run Skynet Personal Firewall and open the Modify IP Rule dialog box, as follows:

STEP01: Modifying IP rules

After selecting an empty rule, set the packet direction to "receive", the other IP address selected "Any address", the protocol set to "TCP", the local port is set to "139 to 139", the offset port is set to "0 to 0", the flag bit is "SYN", the action is set to "intercept", click OK button.

STEP02: Applying rules

By ticking the set rule in the custom IP rules list, you can initiate an intercept 139 port attack.

NetBIOS Vulnerability Defense

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.