Anda di halaman 1dari 5

NPOL

LAB:Telnet&RemoteDesktop

Telnet&RemoteDesktop
A. CreatingaUserAccount
Inthisexercise,youwillcreateauseraccountwithapassword.Theuseraccountnamewillbe
yourfirstnameandthepasswordwillbeist220.
1. ToopenUserAccounts,gotoStartSettingsControlPanelUserAccounts.
2. ClickCreateanewuseraccount.
3. AssignYourFirstName(Nospaceintheusername)astheusername,thenclick
Next.
4. SelecttheaccounttypeasLimited.
5. ClickCreatetocreatetheaccount.
6. Doubleclickontheaccountthatyoujustcreated.
7. ClickCreateapassword.
8. Setthepasswordasist220.

B. Telnet
Inthisexercise,youwillactivatetheTELNETserviceinPCaandPCb,andthenyouwilllogonto
PCbfromPCaandtoPCafromPCbusingtheTELNETcommand.Thisinvolvesseveralsetupsas
follows:
AssigningproperrightstouserstousetheTELNETservice.
ActivatingtheTELNETservice.
TestingTELNETservicebyloggingontoPCaandPCbusingtheTELNETcommand.
B.1 TelnetOverview
TelnetisaterminalemulationprogramforTCP/IPnetworkssuchastheInternet.TheTelnet
programrunsonyourcomputerandconnectsyourPCtoaserveronthenetwork.Youcan
thenentercommandsthroughtheTelnetprogramandtheywillbeexecutedasifyouwere
enteringthemdirectlyontheserverconsole.Thisenablesyoutocontroltheserverand
communicatewithotherserversonthenetwork.TostartaTelnetsession,youmustlogintoa

NPOL

LAB:Telnet&RemoteDesktop

serverbyenteringavalidusernameandpassword.Telnetisacommonwaytoremotely
controlWebserversandrouters.Inthisexercise,youwillactivatetheTelnetserviceinyour
computer.
B.2 AddingUserstoTelnetClients
Inthefollowingsteps,youwillcreateausergroupcalledTelnetClients.Themembersof
TelnetClientsusergrouphavepermissiontoaccessyourcomputerthroughatelnetsession.
1. GotoSettingsControlPanelAdministrativeToolsComputerManagement
(Local).
2. Intheconsoletree,expandLocalUsersandGroups,andclickGroups.
3. RightClickontheRightWindowandselectNewGroup.TypeTelnetClientsinthe
GroupNameWindow(itisimportanttowritethisexactlyasitis),thenclickAdd.
4. IntheObjectNamesWindowtypeEveryonetogiveallusersonyourcomputer
therighttoaccesstotheTELNETservice.
5. ClickOk.ClickCreate.
B.3 StartingtheTelnetService
Inthisexercise,youwillstartthetelnetserviceinPCaandPCbsothatuserscanlogontothem
remotely.Beforestartingtheexercise,letuschecktheopenportsinPCaandPCbasfollows:
inPCa

inPCb

typenmap192.168.1.102natthe

typenmap192.168.1.101natthe

commandline

commandline

Isport23open?
FollowthefollowingstepstostarttheTelnetService.
1) ClickStart,pointtoSettings,clickControlPanel,clickAdministrativeTools,then
Services.
2) FindTelnet,andthendoubleclickonit.
3) ClickLogOntab.CheckLocalsystemaccountbox.ClickGeneralTab,andselect.
StartupTypeasManual,thenclickApply.

NPOL

LAB:Telnet&RemoteDesktop

4) ClickStarttostartthetelnetserviceinyourcomputer.
5) ClickOk.Thetelnetserviceshouldberunningonyourcomputer.

TheTelnetserviceshouldberunningonbothcomputers,usenmaptochecktheopenports
againasdescribedabove.Isport23/Telnetopen?
B.4 TestingTelnet
Inthisexercise,youwillusetheTCP/IPTelnetprogramtologontoPCafromPCbandtoPCb
fromPCa.BringupthecommandpromptinPCb.
1) Atthecommandline,
inPCa

inPCb

typetelnet192.168.1.102andpress

typetelnet192.168.1.101andpress

Enter

Enter

2) ReadthepromptedwarningandpressEnterwithoutdoinganythingelse.Enter
theusername(askyourteammatefortheusernamehe/shecreatedinstepA)
andpassword(ist220).
3) Tomakesurethatyouareloggedintoyourteammatecomputer,typeipconfig
atthecommandlineandpressEnter.
4) Inthetelnetcommandprompt,typeshutdownsandpressEntertoshut
downyourteammatescomputer.

C. RemoteDesktop
C.1 Overview
WithRemoteDesktopinWindowsXPProfessional,youcanhaveaccesstoaWindowssession
thatisrunningonyourcomputerwhenyouareatanothercomputer.Thismeans,forexample,
that you can connect to your work computer from home and have access to all of your
applications, files, and network resources as though you were in front of your computer at
work. You can leave programs running at work and when you get home, you can see your
desktopatworkdisplayedonyourhomecomputer,withthesameprogramsrunning.

NPOL

LAB:Telnet&RemoteDesktop

RemoteDesktopalsoallowsmorethanoneusertohaveactivesessionsonasinglecomputer.
This meansthat multiple users canleave theirapplications running and preserve the state of
theirWindowssessionevenwhileothersareloggedon.
C.2 SetuptheRemoteDesktopConnection
Inthisexercise,youwillconfigureyourcomputerfortheRemoteDesktopConnection.
1. OpenControlPanel,ClickSystemintheControlPanel.
2. OntheRemotetab,checkAllowuserstoconnectremotelytothiscomputer
checkbox.
3. ClickSelectRemoteUsers.Then,clickAdd.Inthewindow,typeStudent2foruser
nameandclickOktosaveyoursettings.
C.3 UsingRemoteDesktop
Inthisexercise,youwillfirstaccessPCaDesktopfromPCb,andthenrepeatthesameexercise
byaccessingPCbfromPCa.
1. InPCb,GotoStartProgramsAccessoriesCommunicationRemote
DesktopConnection.
2. Inthewindow,type192.168.1.101,usetheusernameStudent2andpassword
student2.ClickOK.

RepeatthesameexerciseandconnectPCbfromPCa.

D. CapturingandAnalyzingTelnetPackets
Inthisexercise,youwillcaptureTelnetpacketsanddiscoveruseraccountandpassword
informationfromthepacketscaptured.PCawillcapturepacketswhilePCbisconnectingtothe
telnetservice.
1) OnlyPCa:Bringupthecommandprompt.
2) PCaandPCb:StartWiresharkandstartcapturingpackets.
3) OnlyPCb:Atthecommandprompt,typetelnet192.168.1.101andpress
EntertologontoPCa.

NPOL

LAB:Telnet&RemoteDesktop

4) OnlyPCb:Enterusername(Student2)andpassword(student2).
5) PCaandPCb:Stopcapturingpackets.
6) Analyzeeachcapturedpacketandtrytofindoutpacketsthattransferthe
passwordandusernameinformationbylookingattheircontent.Canyousee
thepasswordtransmitted?

Anda mungkin juga menyukai