








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Group Number:_____________ Member Names: ______________________ _______________________ Date Assigned: XX/XX/XX Date Due: XX/XX/XX Last Edited: 12/2/ Please read the entire lab and any extra materials carefully before starting. Be sure to start early enough so that you will have time to complete the lab. Answer ALL questions and be sure you turn in ALL materials listed in the Turn-in Checklist ON or BEFORE the Date Due.
This lab will introduce you to the concepts of Internet Relay Chat (or IRC). You will learn how to set up an IRC server and then connect to it using a client application. You will learn a few of the admin chat commands and also send and receive files over IRC both on a single one-on-one basis and as a “file server” using IRC to send files to many users. You will also set up and use a “chat bot” which can be configured to do many different things, including admin tasks if you have to leave the chat server for some reason, but want to keep tabs on your chat channel. We will see how these can be applied in harmful ways as well.
IRC is a protocol by which people can connect to a server to chat. Each IRC server has various “channels” or “rooms” that people can connect to so people with similar interests can join similar rooms for their chats. People have nick names which is how they are known in the channel. Once in a channel, these people can chat, have private conversations, and transfer files. In general, one connects to a public IRC server, which contains thousands of channels. However, because our computer is on MiniNet we don’t have Internet access so we will be connecting to a chat server locally. In general, one follows the procedure below to join a channel:
Before we proceed with this lab, lets just sum up some of the functionality of IRC servers today: casual chatting private messaging file transfers (including searching for files, queuing files for download) o This has traditionally been used to download mp3s, movies, etc. Common method of communication for potentially elicit use. Section I: Configuring the Chat Server As mentioned earlier, since MiniNet is not connected to the Internet, we don’t have access to the public IRC servers that would regularly be available on the Internet. Therefore, we will setup our own IRC server on Windows XP. NOTE: This lab will use both your Windows XP virtual machines. SERVER will refer to your first Windows XP virtual machine and CLIENT will refer to the Windows XP Copy virtual machine. The IRC server we have chosen to use is DICE.
the following is from the DICE homepage at http://exe.adam.ne.jp/dice/index.html DICE is multi-protocol hybrid server that offers simultaneous connectivity from IRC clients, opennap clients, and HTTP clients (WWW browsers). IRC is the medium of pure chat experience, while opennap is directory-publishing service accompanied by chat rooms. HTTP is the best known protocol on the internet to deliver contents to the users. Opennap-compliant system implemented in DICE is called VirtualDirectory. HTTP service in DICE can host .NET application. In the same way as general web servers offer public interface to file-system, DICE publishes those three unique interfaces to access one object, which is conference space - called channels - shared between users who can communicate one another by their different protocols mutually translated by DICE. Its base framework is totally multi-threaded/multiprocessor-ready and fully optimized to Microsoft Windows® 2000 / Windows® XP / Windows® Server 2003 platforms with scalable asynchronous I/O. It runs as Windows Service in background. Though it lacks server-link facility seen in standard IRC or opennap servers, its monolithic and compact design produces enough scalability for most cases. According to test results, stand-alone DICE can host over 2 thousands of opennap clients with ease on standard DSL connection, and can handle 10,000 concurrent opennap connections on broader uplinks such as T1 and higher. For IRC connection that requires very little
bandwidth compared to opennap, the stats reach even higher, well beyond 10, concurrent connections. As HTTP service DICE supports HTTP/1.1 keep-alive connection and when possible sends files directly from OS file cache to achieve high availability Typical Usage Scenarios What can you do with DICE , then? Open up chat rooms to which people can connect with both IRC and opennap clients Set up a private hub where users can search and transfer files each other with opennap clients Open up a chat server and browse / post in channels with a web browser by publishing them in HTTP service Set up a web site via HTTP service, and build your dynamic web pages with .NET framework languages, including C# and VisualBasic.NET You can do all these thing with one DICE running in your PC. Features RFC 1459/2812 compliant IRC clients connectivity (See here for the list of intentional deviation from RFC) Opennap -compliant directory-publishing service ("VirtualDirectory") HTTP (RFC2616)-compliant WWW service Interoperability of IRC clients and opennap clients in chat channels IRC user-shell that provides single-signon to registered user / channel management IRC host-spoof scanner (SOCKS4/5/Wingate/HTTP) Secure remote administration via GUI shell (DICEAdminShell) over internet Customizable multi-locale string resources in XML Unique hostname masking Binding TCP/IP ports to multiple NIC
After being installed, there will be a “Start WinBot” icon on your desktop. Double-click it. A new window will open. This is the interface for our bot. First we need to do the initial setup for it.
Q. 4.1. What did the bot do after you typed “My favorite animal is the moose.”? Q. 4.2. Using this window, have the bot do something else that can be “useful” in some way. Explain what you did, what triggers and responses the bot will have now in the IRC channel, and why it will be useful. How long did it take you to complete this lab? Was it an appropriate length lab? What corrections and or improvements do you suggest for this lab? Please be very specific and if you add new material give the exact wording and instructions you would give to future students in the new lab handout. You may cross out and edit the text of the lab on previous pages to make corrections/suggestions. Note that part of your lab grade is what improvements you make to this lab. You need to be very specific and provide details. Caution as usual: only extract and use the tools you downloaded in the safe and approved environment of the network security laboratory.