Thread: Net Send

  1. #1
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

    Net Send

    Some of you may have gotten a pop-up windows box before with a message about airlines, diplomas, etc. I'm pretty sure these spam advertisements are sent with the net send command :

    net send <ip> <message>

    We've used this in school, at lan parties, etc. My question is how do i disable this command for anyone not on my workgroup? I don't want to use a firewall if i can avoid it. Also, how can i password protect/restrict port 139 access to anyone now in my workgroup?

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    I know that, It won't work on our network though. We have
    a big fat FireWall blocking the place

  3. #3
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    is a firewall the only way?

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    No idea, Haven't found an option to turn it off somewhere though.

  5. #5
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    hmm i've always used zonealarm but it #####es about everything i do lol.

  6. #6
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >how can i password protect/restrict port 139 access to anyone now in my workgroup?
    Once upon a time I had some VB code that would "kill" any particular TCP/IP connection you wished. I was planning to make a prog to monitor all 139 activity, and simply kill any from IPs I didn't have in my guest list. But I never got round to finishing it. Just a thought...
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  7. #7
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    Hehe.. just tried the net send thing..
    Very interesting, and It has inspired me to set up a big network
    Also very easy to get people with static IP's in trouble.
    Can you say "infinite loop and system call"? Hehe
    .

  8. #8
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    lol @ civix....i had mod'd a automatic net-send proggy (LAN message 1.0) to loop once, sent my buddy an inf amount of "Porn detected! Format format!" messages till his comp dumped.

    I member there are ways to do this without windows...

  9. #9
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Originally posted by civix

    Can you say "infinite loop and system call"? Hehe
    Can you say "A big kick to the ban list of my router"?

  10. #10
    Registered User
    Join Date
    Feb 2003
    Posts
    17
    I have the same thing just net send the bastards back

    And well, im going to setup a router which should block this kind of spam.

    Oh yeah, what noticed me is that the moment I installed msn, I got these anoying net sends...makes you wonder ay?

    {XR3D403}

  11. #11
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    This command will stop the messenger service on your pc, this will also avoid that you receive any messages:
    c:\>net stop messenger

    If you want to stop the messenger service remotely, check out this VBS script with WMI functionality:
    http://rattlesnake.at.box.sk/newsread.php?newsid=116

    If you know how to use VBS, it should be no problem to modify it appropriately if you want to disable a service on different remote computers on your LAN. The service name of the messenger service is "MESSENGER". I am not sure if this will work with computers not on your workgroup.

    To block netbios, you should get a firewall like Zone Alarm Pro since I would not advise you to go for a portblocker. However, the netbios service is used for many functions on your network, not only for the messenger service. So I am not sure if this would actually be a good idea.

  12. #12
    Registered User
    Join Date
    May 2002
    Posts
    178
    I'm pretty sure that netsend actually runs on netbeui which is a local protocol. So therefor, noone outside of your network could actually do anything with netsend. I don't believe netbeui will work past the router.

  13. #13
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Originally posted by hostensteffa
    I'm pretty sure that netsend actually runs on netbeui which is a local protocol. So therefor, noone outside of your network could actually do anything with netsend. I don't believe netbeui will work past the router.
    I don't use a router, but thats actually incorrect. If its enabled and u have the ip, you can do it.

  14. #14
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Originally posted by RoD
    I don't use a router, but thats actually incorrect. If its enabled and u have the ip, you can do it.
    well netbeui is a non routable protocol that is it cannot travel across routers and networks.. Only routable protocols such as TCP IP etc can do it..

  15. #15
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i don't think that its a part of netbui, pm me sometime when you are on, i will give u my ip address and i can show you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  2. changing from name in net send command
    By cfrost in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-04-2004, 07:42 PM
  3. NetBIOS net send
    By -=SoKrA=- in forum Windows Programming
    Replies: 1
    Last Post: 01-22-2004, 10:21 PM
  4. net send messenger
    By Locrieth in forum C++ Programming
    Replies: 13
    Last Post: 01-31-2003, 02:39 PM
  5. Net Send Programs
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-15-2002, 03:48 PM