Solved

TELNET and XP Pro

Posted on 2004-05-03
12
1,310 Views
Last Modified: 2012-06-27
Is there anyway to block telnet(port23) using security policies in windows xp.  I know that I am able to filter it at the router using an access list but the network admin for our school does not want to mess with the router.  I want to be able to stop the machines in a room from initiating a telnet session, is this possible in XP Pro without the use of a router, zonealarm...ect??  
0
Comment
Question by:akline34
  • 2
  • 2
  • 2
  • +3
12 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 10977347
Remove telnet.exe from the clients, either manually or by login script :) its in c:\windows\system32

Pete
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10977364
Think you'll have to block it with a firewall like Zone Alarm...
I'm fairly certain system restore will replace telnet.exe if it 'disappears'...
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 10977377
How about using ICF instead of zonealarm ?
0
 

Author Comment

by:akline34
ID: 10977406
I dont wont to completely remove the application I would just like to be able to disable telnet at login, or only allow it through the use of a password?  Is this possible??
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 10977437
This is an outbound TCP port you want to stop enabling ICF will not help (unless we are in active/passive territory here) what are you ultimately trying to stop them doing? ther emust be some ussue you are trying to stamp on? I think we are approaching this from the wrong Angle, do you want them to stop opening telnet to another server?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 44

Accepted Solution

by:
CrazyOne earned 63 total points
ID: 10977459
HOW TO: Restrict Users from Running Specific Windows Programs in Windows 2000/XP:
http://support.microsoft.com/?kbid=323525

http://www.winguides.com/registry/display.php/969/

Restrict Users from Running Specific Applications (Windows 2000/Me/XP) Popular

This tweak can be easily applied using WinGuides Tweak Manager. Download Now!
This setting allows you to specify applications and filenames that users are restricted from running.

Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer]

Create a new DWORD value and name it "DisallowRun" set the value to "1" to enable application restrictions or "0" to allow all applications to run.

Then create a new sub-key called [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\DisallowRun] and define the applications the are to be restricted. Creating a new string value for each application, named as consecutive numbers, and setting the value to the filename to be restriced (e.g. "regedit.exe").

Restart Windows for the changes to take effect.

Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
Value Name: DisallowRun
0
 

Author Comment

by:akline34
ID: 10977555
OK- the students in my class are constantly opening a telnet on-line game (SimpleMU) I think is what it is called.  I would like to limit there use of the telnet application if that is possible without completely filtering it from use.  I am familiar wih group/local policies, but I am unaware if what I would like to accomplish is possible.  Ulimately if it gets to bad I will just block the games server IP at the firewall.
0
 
LVL 21

Expert Comment

by:gemarti
ID: 10977557
Why don't you just disable the service.

START | RUN | SERVICES.MSC
Locate the Telnet Service
Disable and Stop it.

If you ever need to use it on a machine you just remotely connect to the machine, start the service and then run it.

The suggestion from CO will disable it for all users, including you.
0
 
LVL 21

Assisted Solution

by:gemarti
gemarti earned 62 total points
ID: 10977565
The other thing to try is to right click on telnet.exe
Select security tab
Remove all groups that the students are members of. This will prevent the application from running when a unauthorized user trys to start the application.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 10977625
Glenn what I posted can be done on user basis. Persuming akline34 is using a seperate account then don't block that account from using it.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now