banner



What Is Microsoft-ds Service And Why Is It Important?


jaykaykay
4 Ever Young
MVM
bring together:2000-04-13
USA


MVM

MICROSOFT-DS ...What is this?

MICROSOFT-DS is shown listening on UDP, port 445. I am curious what this is and if there is a manner of turning it off in XP or if this is 1 of those MS things that I should only leave the heck lone?

I take read the discussion on this port and also accept both a firewall and router, so I am not as well concerned, simply I am curious. Y'all know what I demand? satisfaction!


FutureMon
Dude Whats mine say?

join:2000-10-05
Marina, CA

Just a guess.

"Directory Service" ?

- FM

psloss
Premium Member
join:2002-02-24

to jaykaykay
said by jaykaykay:
MICROSOFT-DS is shown listening on UDP, port 445.

Information technology'south shown listening past what, exactly?

"Microsoft-DS" is just the service/protocol name for tcp and udp port 445; accept a look at Robin Keir'southward port listing or consult a favorite:
»keir.net/portlist.html

tcp and udp 445 are used by Windows 2000 and XP for Windows File and Print Sharing. Both versions will also work with the NetBIOS ports for backwards compatibility.
»support.microsoft.com/de ··· ;q204279

To turn it off, you can disable the NetBIOS over TCP/IP driver (NetBT.sys).

That'south usually a bit too "over the top," so as an alternative, you tin add a Registry value, as per a recent thread hither:
»Re: mNW Alert: 'IraqWorm' propagating via tcp/445

and which has been cited a lot; here's another reference that cites that technique:
»world wide web.hsc.fr/ressources/br ··· .en.html

Philip Sloss


Name Game
Premium Fellow member
join:2002-07-07
Grand Rapids, MI

to jaykaykay

SMB and NetBTWindows file and print sharing uses the SMB protocol, which has historically relied on NetBIOS. NetBIOS, in turn, required NetBIOS over TCP/IP (NetBT) to function on IP networks. NetBT uses TCP port 139 and has a limitation of binding only to the primary IP accost of each NIC. This is explained in Microsoft Noesis Base article Q131641, and can exist seen by using a port scanner to probe TCP port 139 (the "nbsession" port) on an adapter with multiple addresses. This will show that NetBT is listening on TCP port 139 but on the primary address.Windows 2000 and afterwards versions do not require the NetBT layer and use SMB directly on elevation of TCP/IP using port 445 (TCP and UDP). This implementation does not accept the aforementioned bounden limitation and allows clients to establish SMB sessions to any IP address on the server using port 445. In club to be backward compatible with legacy clients and servers, Windows 2000 also supports SMB on NetBT using port 139, which inherits the chief IP address limitation. If NetBT is disabled, a Windows 2000 organization volition use but port 445 for SMB session.


jaykaykay
4 Ever Young
MVM
join:2000-04-xiii
United states of america


OK. In short, what I have to do is go in and muck with the registry, eh? If I exit the darned thing running is there whatsoever problem?

I certain didn't upload that i well! Cheers for making the alter. This is office of what I was trying to show:

System 4 0.0.0.0 445 Mind UDP
System 4 0.0.0.0 1029 Mind TCP
Arrangement 4 0.0.0.0 445 LISTEN TCP

dave
Premium Fellow member
join:2000-05-04
not in ohio


to psloss
said past psloss:
To turn it off, you can disable the NetBIOS over TCP/IP commuter (NetBT.sys)

This seems implausible, since 445/tcp is cipher to do with NETBIOS-over-TCP; information technology's at that place precisely as an alternative to using NETBIOS-over-TCP. Are yous certain?

That's certainly not the way I read the Microsoft reference. It's telling yous how to turn off NETBIOS-over-TCP since you don't need NETBIOS when you're using SMB directly over TCP.

[text was edited by author 2002-12-thirty 19:52:47]

psloss
Premium Member
join:2002-02-24

psloss

Premium Member

said by dave:
said by psloss:
To turn information technology off, you lot can disable the NetBIOS over TCP/IP driver (NetBT.sys)
This seems implausible, since 445/tcp is nothing to do with NETBIOS-over-TCP; information technology's at that place precisely as an alternative to using NETBIOS-over-TCP. Are you sure?

It is my belief, yes. While NBT and Direct SMB over IP use different ports, the protocol foundation is essentially the aforementioned -- SMBs. (It's tangential to this point, but different "dialects" utilise unlike sets of SMBs, the latest usually being a superset of what has come up before.) I believe that the implementation of Straight SMB is in the NetBT driver -- the Registry value mentioned is in the Parameter subkey off that driver's SCM Registry entries. And so even though there's no NetBIOS in Direct SMB, that which distinguishes SMB over NBT vs. Directly SMB is rather pocket-sized.

OK, I'thousand leaving out an of import affair -- name resolution. That is different, though it employs unlike ports (NetBIOS uses its ain proper name resolution, primarily via udp/137; Direct SMB is supposed to use DNS.)

Just as far every bit tcp/139 "NetBIOS" sessions vs. tcp/445 Direct SMB sessions, there's not much fundamental departure to me.

If you're interested in such things, I saw an article well-nigh this in the latest version of Phrack via a link from SecurityNewsPortal.com...

The well-nigh direct way to "verify," though, is to run something like Ethereal and look at a session. Straight SMB has a "pseudo header" that resembles a NetBIOS header (actually, the Phrack "article" discusses how these finish up working about the same from handling standpoint).

Philip Sloss

psloss
to jaykaykay
said by jaykaykay:
OK. In short, what I have to do is go in and muck with the registry, eh? If I exit the darned thing running is there whatsoever problem?

To close the Direct SMB TCP and UDP ports, that Registry value (the SMBDeviceEnabled ane) volition do information technology. As for whether or not you need to do so, that depends both on whether you use Windows file and/or print sharing and (if and so) how you lot utilise it.

A firewall (personal software firewall or hardware device) should protect against outsiders connecting in, just the System would nevertheless exist listening on those ports...

Philip Sloss


Hutchy
Premium Member
join:2000-10-14
australia430


to jaykaykay

jaykayjay, i just followed the instructions given by psloss. And port 445 does not show up as listening any more.


jaykaykay
4 Ever Young
MVM
join:2000-04-13
United states


Well, as much as I hate to do so, I guess registry mucking is what I will have to do. Gawd, I hate to play in there, but I really would like to get rid of the affair. Cheers for making it sound so easy. I did copy downwards WCB's fix after psloss posted, but I was hoping that it could be done some other way. Oh, well.

TDS3_User
Premium Member
join:2002-11-23
Commonwealth of australia


to jaykaykay

JKK:

I don't know if this help if you don't want to muck around in registry.

I simply "Denied" permission in my firewall [Kerio]

I also don't know if this is a solution, Dave, nameGame could say.

edit: I had previously given Vampirefo a movie of my firewall settings to take a look at [he uses Kerio] and I specifically asked him about that particular entry and he told me it was OK. And so I left it, merely upon reading this thread, thought why not just 'Deny Permission'. Everything is working fine. Win2K PRO SP3, Standalone no filesharing.
[text was edited past author 2002-12-30 21:59:52]


Name Game
Premium Member
join:2002-07-07
Yard Rapids, MI

to jaykaykay

Judge has practiced graphic at that place..but if you want screen shots how to exercise this and step-by-step instructions get to this site...fantabulous write up

Close port 445 TCP/UDP past disabling NetBT in Device Manager

»www.uksecurityonline.com ··· e445.htm

and exercise non stop there if yous want to secure the remainder of that Bone.
Windows XP - Home User Self-Defence force

»www.uksecurityonline.com ··· xpp2.php


jaykaykay
iv Ever Young
MVM
join:2000-04-13
U.s.

to TDS3_User

Thanks but fifty-fifty if it is, it's too late. I already did my mucking! The entries no longer evidence when running Active Ports. Thanks, Psloss and WCB and Judgedredd, etc. And thank you to you as well for trying to think of a unlike way. I use ZA+ and don't know if it could have been washed that hands through it as Kerio, but I would bet it might have. merely if it could, information technology will have to be done by someone else.

TDS3_User
Premium Member
join:2002-11-23
Australia

to jaykaykay

NameGame, first-class site. So simple 1 could 'virtually' do it blindfolded.
This is probably the meliorate solution JKK.


jaykaykay
4 Ever Young
MVM
join:2000-04-13
USA

to Name Game
said by Proper noun Game:
Judge has skillful graphic there..only if you want screen shots how to do this and step-by-step instructions go to this site...excellent write up

Close port 445 TCP/UDP by disabling NetBT in Device Director

http://www.uksecurityonline.com/husdg/windowsxp/close445.htm

and do non cease at that place if you want to secure the rest of that OS.
Windows XP - Home User Self-Defence

http://world wide web.uksecurityonline.com/husdg/wxpp2.php


Thanks, NG. I am getting in that location, bit by bit. My Agile Port scan just came upwards with the following which looks appreciably better to me than earlier.

Unknown 0 192.168.1.two 1052 216.254.0.193 110 TIME_WAIT TCP
Unknown 0 127.0.0.ane 1027 127.0.0.i 1051 TIME_WAIT TCP
System four 0.0.0.0 1028 Heed TCP
lsass.exe 708 0.0.0.0 500 Mind UDP C:\WINDOWS\system32\lsass.exe
svchost.exe 888 0.0.0.0 135 LISTEN TCP C:\WINDOWS\system32\svchost.exe
iexplore.exe 980 127.0.0.1 1036 Mind UDP C:\Plan Files\Internet Explorer\iexplore.exe
iexplore.exe 980 192.168.1.2 1055 209.123.205.210 80 ESTABLISHED TCP C:\Program Files\Net Explorer\iexplore.exe
svchost.exe 988 192.168.1.2 123 Listen UDP C:\WINDOWS\System32\svchost.exe
svchost.exe 988 0.0.0.0 1025 Mind TCP C:\WINDOWS\System32\svchost.exe
svchost.exe 1192 0.0.0.0 1026 Heed UDP C:\WINDOWS\System32\svchost.exe
vsmon.exe 1720 192.168.1.2 491 LISTEN UDP C:\WINDOWS\System32\ZoneLabs\vsmon.exe
msmsgs.exe 1984 192.168.1.two 14072 LISTEN UDP C:\Program Files\Messenger\msmsgs.exe
msmsgs.exe 1984 0.0.0.0 1033 LISTEN UDP C:\Program Files\Messenger\msmsgs.exe
msmsgs.exe 1984 192.168.1.2 16645 LISTEN TCP C:\Plan Files\Messenger\msmsgs.exe

I am still unsure about a lot of what I am seeing and will become to reading the material on that site, too chip past flake, to run into what more I can do. If y'all or anyone has any suggestions, please don't hesitate to atomic number 82 me in the correct direction.


Hutchy
Premium Fellow member
join:2000-x-14
australia430

to Name Game
said by Proper name Game:

»www.uksecurityonline.com ··· e445.htm


Name Game. I disabled information technology port 445 services, by post-obit WildCatBoys instructions in this thread. Am i wrong doing that style.

»Re: mNW Warning: 'IraqWorm' propagating via tcp/445


Proper name Game
Premium Member
bring together:2002-07-07
One thousand Rapids, MI

Proper name Game

Premium Fellow member

No I think that is fine...do it WCB's way.

psloss
Premium Fellow member
join:2002-02-24

to Hutchy
said by Hutchy:
»www.uksecurityonline.com ··· e445.htm

Proper noun Game. I disabled it port 445 services, by following WildCatBoys instructions in this thread. Am i incorrect doing that style.


In my opinion, no. I believe it'due south better to set the SMBDeviceEnabled value than to mess up the TransportBindName value; I'll just refer to a previous post:
»Re: mNW Alert: 'IraqWorm' propagating via tcp/445

I oasis't tried the TransportBindName value change for a while -- guess it's time to go examination it -- but if I think correctly, it causes a trouble during the NetBT driver initialization which has the side effect of never opening the IP ports. An consequence is written to the Organization log...I'll get test that report the event...

Philip Sloss


Name Game
Premium Fellow member
join:2002-07-07
Grand Rapids, MI

to jaykaykay

I have never had any problem doing information technology as described at that site for WinXP...but I am not here to buck city hall. I merely know what works for me.


jaykaykay
4 Always Immature
MVM
bring together:2000-04-13
USA

to Hutchy
said past Hutchy:
said by Name Game:

»world wide web.uksecurityonline.com ··· e445.htm


Proper name Game. I disabled it port 445 services, by following WildCatBoys instructions in this thread. Am i wrong doing that way.

»Re: mNW Alert: 'IraqWorm' propagating via tcp/445


Every bit did I, of course. Btw., the following is what I seem to have a lot more showing up than y'all. Are you running XP too?

Proto Local Address Strange Address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 888
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 988
TCP 0.0.0.0:1028 0.0.0.0:0 LISTENING 4
TCP 127.0.0.1:1027 0.0.0.0:0 LISTENING 420
UDP 0.0.0.0:500 *:* 708
UDP 0.0.0.0:1026 *:* 1192
UDP 0.0.0.0:1078 *:* 1192
UDP 127.0.0.i:123 *:* 988
UDP 192.168.ane.2:123 *:* 988
UDP 192.168.1.2:491 *:* 1720

This was the result when doing a netstat -ano, which I presume is the way to do it. I had finally figured out '98, and by the time I become XP hog tied, MS will come out with a new OS.

psloss
Premium Member
join:2002-02-24

psloss

Premium Member

said past psloss:
I haven't tried the TransportBindName value alter for a while -- judge it's time to go test it -- but if I think correctly, it causes a problem during the NetBT driver initialization which has the side consequence of never opening the IP ports. An event is written to the System log...I'll get test that report the consequence...

OK, if I screw up the TransportBindName value (I changed information technology from "\Device\" to "\Device1\", the outcome that'south written to the System event log is ID 4311 from the NetBT source: "Initialization failed because the driver device could not be created." Using the SMBDeviceEnabled value doesn't cause any errors to be reported to the System issue log.

Caveat emptor.

Philip Sloss


Proper noun Game
Premium Member
join:2002-07-07
One thousand Rapids, MI


to jaykaykay

said by Phil:

OK, if I screw up the TransportBindName value (I changed it from "\Device\" to "\Device1\",

Now why would you want to practice something like that...did you read the instructions?
[text was edited by author 2002-12-xxx 22:49:03]


jaykaykay
iv Ever Young
MVM
join:2000-04-thirteen
U.s.

said by Name Game:
OK, if I screw upward the TransportBindName value (I changed information technology from "\Device\" to "\Device1\",

Now why would you lot want to do something similar that...did yous read the instructions?


That wasn't my annotate. I did it the style WCB suggested with the DWord value added/SMBDeviceEnabled

psloss
Premium Fellow member
join:2002-02-24

to Name Game
said by Proper noun Game:
OK, if I screw up the TransportBindName value (I inverse it from "\Device\" to "\Device1\",

Now why would you desire to practice something like that...did you read the instructions?


Making the value blank has the aforementioned effect. The "\Device\" syntax is office of the NT object namespace (similar "\Device\Tcp", "\Device\Udp", etc.) The driver appears to be looking for an exact string (mayhap case insensitive) -- so any change other than a case modify would intermission it. A blank cord, adding a space, prepending a space would also cause the aforementioned trouble and achieve the result of keeping the commuter from opening those ports.

That modify does keep the ports closed and I haven't seen whatever reports of any other side effects...but I suspect that the ports staying closed is also a side effect...

...which is why I wrote "caveat emptor."

Philip Sloss


Name Game
Premium Member
join:2002-07-07
Grand Rapids, MI

to jaykaykay

Yup..that was made past Phil..and I hit the incorrect thingie.


jaykaykay
four Ever Young
MVM
bring together:2000-04-13
USA

Y'all are forgiven! Careful where you put those fingers. Clicking too fast can become you in trouble. :D:D


Name Game
Premium Member
bring together:2002-07-07
Grand Rapids, MI

to jaykaykay

Was that bulletin for me..it appears your post was not addressed to anyone fascinating forum functions..fifty-fifty

Name Game
to jaykaykay

BTW Jaykaykay..I did hitting the correct buttons...they simply did not annals correctly.


jaykaykay
iv Ever Young
MVM
join:2000-04-13
USA

That'south OK. I volition still forgive your clumsy fingers, no affair what you profess actually occurred. :D:D

to jaykaykay

So...

I added the SMBDeviceEnabled entry, only the next fourth dimension I started WINXP my Kerio 2.14 firewall wouldn't work.

Anyone else here experiencing this?

Source: https://www.dslreports.com/forum/r5486656-MICROSOFT-DS-What-is-this

Posted by: martinezboused.blogspot.com

0 Response to "What Is Microsoft-ds Service And Why Is It Important?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel