Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Why does my computer keep opening netbios connections?

netbiosd keeps opening connections to random IP addresses (usually an overseas ISP). Since installing LittleSnitch I've blocked 5 of these connections (2 ISP's in the US, 1 ISP in Poland, 1 ISP in the UK), and am starting to become concerned that I might have some kind of malware.


I intalled ClamXav and checked the whole harddrive with the latest definition, but it didn't come up with anything.


Any ideas?

MacBook Pro (15-inch Early 2011), Mac OS X (10.7.2)

Posted on Jan 10, 2012 6:41 PM

Reply
20 replies

Apr 17, 2017 9:53 PM in response to Blutopia

When other software than netbiosd is the cause - Little Snitch will tell you that. It will tell you process XXX tried to make connection via netbiosd. Here netbiosd is the originator. If you want to be sure, you'll need to communicate with Objective Development support (creators of Little Snitch).


B.T.W - I have exactly your problem, only I have hundreds of connection attempts daily, and to chinese IPs, Russian IPs, Ukrainian IPs and so on.

Sep 2, 2017 4:58 PM in response to Blutopia

Turn on Firewall to block all incoming connections. I got ratted (Don't worry I factory reset my Mac) and as soon as I started my Mac up it said "Allow netbiosd to accept incoming network connections". I obviously clicked deny. After proceeded to factory reset my mac as I knew I had gotten a RAT.


stackerxchange says "netbiosd is responsible for interacting with NetBIOS networks. NetBIOS is Microsoft's networking service. If you block incoming netbiosd connections then you will not be able to share drives over netbios which is the simplest way to share data to Windows machines." So you're basically giving your entire computer to a Windows machine. (most likely a hackers machine)

Sep 2, 2017 7:30 PM in response to Proce

Proce wrote:


Turn on Firewall to block all incoming connections. I got ratted (Don't worry I factory reset my Mac) and as soon as I started my Mac up it said "Allow netbiosd to accept incoming network connections". I obviously clicked deny. After proceeded to factory reset my mac as I knew I had gotten a RAT.


stackerxchange says "netbiosd is responsible for interacting with NetBIOS networks. NetBIOS is Microsoft's networking service. If you block incoming netbiosd connections then you will not be able to share drives over netbios which is the simplest way to share data to Windows machines." So you're basically giving your entire computer to a Windows machine. (most likely a hackers machine)

Network connections do need to authenticate before they can connect to any shared volumes you are offering via System Preferences -> Sharing -> File Sharing.


And of course, if you do not enable File Sharing there is no way a NetBIOS user will be able to connect.


If you wish to pursue this issue in more depth, you should start a new "Post" (see the "Post" button at the top of this page), and post your question in the forum associated with your operating system version.

I suggest this because this thread started in 2012 (5 years ago), and keeping such old threads alive starts to make the thread muddy and difficult to deal with.

Jan 11, 2012 5:22 AM in response to Linc Davis

Hi Linc, thanks for your responses but I'm not sure what to make of your last response. I have firewall software that is telling me netbiosd is opening sockets to IP addresses that resolve to ISP's around the world. I am not running any kind P2P software or other such networking software that would warrent such connections. The only thing I can think of is that my computer has become infected with some kind of malware, however ClamXAV is not detecting anything.


I've blocked netbiosd from making any connections at the firewall, but it doesn't fix the root of the issue which is that my system is making mystery connections to IP addresses I do not recognize. I'd posted this question in hopes that someone else has experienced something similar and knows what is going on.

Jan 11, 2012 7:36 AM in response to Blutopia

netbiosd is not malware; it's part of the Mac OS. If you connect directly to the Internet, rather than through a router, it may try to connect to remote hosts. I'd be mildly surprised if it tried to connect through a gateway, but maybe it does.


If you want to investigate further, you have several options, as detailed in the manual page. You can cause netbiosd to enter a debug mode, or to log all transmitted packets. You can also disable it by entering the following shell command as an administrator:


sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist


To reverse this action, enter the following:


sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist

Jul 3, 2012 9:03 PM in response to Blutopia

Using LittleSnitch I have received 3 alerts from netbiosd in the past week.

I have denied all of them after a cursory lookup of the IP addresses using various tools (whois, traceroute)


The blocked entries were:

69.70.43.102, port 137

82.186.105.146, port 47863

125.239.135.130, port 53659


Any idea why netbiosd is trying to contact these IP addresses? I would assume this is along the same lines. I'm getting to the point where I am willing to disable/block netbiosd to keep these messages from coming up, but I don't want to risk undue wear and tear by not sleeping.


I do have screen sharing enabled, but am always behind a firewall. <---don't know if this is related. File and print sharing are not enabled.


Lion 10.7.4, fully updated. MBP/i7 2.6/8GB

Jul 3, 2012 10:45 PM in response to Blutopia

Blutopia wrote:


Thanks Linc! As an old Windows user I'm familiar with netbios, my concern was more that another piece of software could be using netbios to connect to other computers. I'll try putting it in debug mode and see if I can't get more detail into what it's trying to do.

Right all computer today connect to other computers all over the net every time they are started or when you start certain programs. This is common to check for updates and licenses and all sorts of stuff.


If you watch your routers logs you will see connections going out all the time. Nothing new here.

Jul 4, 2012 2:28 AM in response to molachai

Are you connected to a VPN? For me personally, after looking at the NETBIOSD connection requests in LittleSnitch a little more carefully they weren't outbound connections, they were inbound connection requests. Since I was tunneled right through my router (and NATing firewall) it meant that anyone connected to the same VPN could request connections directly with my computer. I disabled NETBIOSD to temporarily solve the problem, but really you need a NAT Firewall between you and the rest of the VPN to be safe as NETBIOS isn't the only protocol that can be used to connect to your computer.

Why does my computer keep opening netbios connections?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.