Home > Ask the Security Experts > Application Security Questions & Answers > Can DHCP be used to selectively block instant messaging clients?
Ask The Security Expert: Questions & Answers
EMAIL THIS

Can DHCP be used to selectively block instant messaging clients?

Michael Cobb EXPERT RESPONSE FROM: Michael Cobb

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 15 April 2007
As a security measure at our school, we recently stopped faculty and students from using instant messaging clients, and we did so by blocking their ports. Some faculty members, however, need an application that is based on instant messaging. Please explain how we can use Dynamic Host Configuration Protocol (DHCP) to allow just these clients access to instant messaging ports. If that's not possible, what are our other options?

>
EXPERT RESPONSE
As one of the most widely deployed applications on the Internet, instant messaging, or IM, has increasingly become a target for attackers. Threats range from IM-borne viruses, worms, SPIM (spam over IM), malware and phishing attacks. Unfortunately, controlling the use of IM within an organization is quite difficult. Although instant messages use Transmission Control Protocol (TCP) to travel over the Internet, different instant messaging services use their own proprietary protocols. Also, if blocked by a firewall, IM clients can automatically adjust their settings and connect to the IM server. Even if direct access to the IM server is blocked on all network ports, the client will use an HTTP proxy server and pass through the firewall that way. Blocking the use of instant messaging completely, though, means losing out on all of the communication benefits that it offers users. So how do you enforce an IM policy that allows select faculty members to use IM?

Unfortunately, using DHCP as an access control mechanism is not effective. The purpose of DHCP is to automate the assignment of IP addresses, subnet masks, default gateways and other IP parameters. When machines receive IP addresses via DHCP, controlling their traffic can be difficult. Because remote IP addresses will be prone to change, the firewall rule-configuration process can be time-consuming and error-prone. Setting firewall rules based on machines' MAC (Media Access Control) address is also an option, but I imagine that your students and staff tend to share computers.

As we've seen, simple port blocking isn't effective. IM clients can auto-configure themselves to use common destination ports, such as HTTP port 80 and FTP port 21. Many actually embed IM data within an HTTP request, thereby circumventing any protocol-analysis firewall.

My strong recommendation would be to install an IM firewall, which would sit behind your traditional perimeter firewall. You may also want to consider using an enterprise instant messaging (EIM) service. Microsoft's Office Live Communications Server 2005, for example, not only incorporates IM firewall technologies, but can also integrate access control with Active Directory. This is my preferred security configuration because a proper identity and authentication management system can block specific users or specific groups of users from accessing IM services.

Remember though that both an IM firewall and an enterprise IM service must be backed up by a combination of desktop antivirus and antispyware tools.

Whatever route you take, you will also need an acceptable usage policy for instant messaging. As IM has many of the same security and privacy risks as email, such as malicious file attachments and inappropriate language, many of the rules used to govern email usage can also be applied to IM. This policy should be communicated to staff and students that would make them aware of the consequences of installing and using banned IM software. Finally, just like with email, users should be taught to show the same degree of caution with instant messages from unknown sources.

More information:

  • Check out Michael Cobb's Security School lesson on secure instant messaging.
  • Learn other ways to selectively block instant messaging clients.


  • Sound Off! -   Be the first to post a message to Sound Off!


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Application Security
    Protecting exposed servers from Google hacks (and Google 'dorks')
    Which automated quality assurance tools can be used to test software?
    Has proof-of-concept mobile device malware translated into any meaningful attacks?
    How to test the security of personal details submitted to a website
    Is security improved when the number of Internet gateways is reduced?
    Are Internet cafe users' email credentials at risk?
    Which operating system can best secure an FTP site?
    Will firewall technology have to adapt to applications that use port 80?
    How secure is a mobile phone platform that has an open source framework?
    What ports should be opened and closed when IPsec filters are implemented?

    Secure IM
    Secure messaging complications result in limited protection
    How to lock down instant messaging in the enterprise
    AOL closes AIM attack vector, but risks remain
    Researcher says AIM still vulnerable, AOL insists it's fixed
    Serious security flaw in AOL Instant Messenger
    Security flaws found in AOL, Yahoo IM programs
    Flaw found in MSN Messenger
    AOL, Yahoo, Trillian IM applications under threat
    Security vendor Postini acquired by Google
    Messaging Peril

    Acceptable Use Policy
    Can watching online videos present enterprise security risks?
    What are the best security practices to consider when developing a corporate blog?
    Database authentication, encryption getting priority in some businesses
    Online game exploits threaten IT security
    Boston Celtics face off against spyware
    Blocking Web anonymizers in the enterprise
    Veterans Affairs data theft should be 'call to arms'
    Survey: Women more likely to download spyware
    Scam artists flocking to MySpace
    When 17 days of security is an 'Olympian' task
    Acceptable Use Policy Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    greynet  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts