e"}

The Mac Observer

Blocking Outbound Connections with Little Snitch

December 4th, 2007 at 2:00 PM - Tips by John Martellaro

The firewall in Mac OS X is designed to stop incoming connections. When youire connected to the Internet directly, and your IP address is visible, hackers can generally see your Mac and construct a variety of attacks. These include port scans and then probes of specific ports that look for weaknesses in applications or OS daemons that use those ports. A firewall, with Stealth Mode turned on, stops that cold.

A previous TMO Quick Tip discussed how to customize the Mac OS firewall in those cases where controlled, authorized external access is required. For example, SFTP or HTTP access from the outside.

However, the firewall only blocks incoming connections. One of the features of the TCP/IP protocol is that outgoing packets from, say, a Web browser, are tagged with both the origin and destination IP addresses. Thatis how the packets of data sent out trigger a response that knows how to come back to your Mac. As a result, a connection to a Website can in principle bring back with it, embedded in the packets, a payload that will naturally bypass the firewall. If that didnit happen, youid never be able to browse with the firewall enabled.

Sometimes, cleverly constructed, malicious code, coming back to a port handled by a specific application, for example QuickTime, can exploit poor code, cause a buffer to overflow, and external code brought in can be caused to execute. Thatis bad news.

In turn, that code could, for example, trigger the transmittal of private data on the hard disk back to the malicious Website, and thatis something thatis not controlled by the firewall. As a result, for complete security, a vigilant Mac OS X user should also monitor outgoing connections.

In turns out that there is an excellent piece of software that can do that: Little Snitch 2. Donit let the fact that the developer is in Austria concern you; theyire the good guys.

Once Little Snitch is installed, it will monitor all outgoing connections. You can set rules for trusted sites and block outgoing connections by application and by port. It sounds technical, but itis really easy. In the example below, the Address Book is not allowed to connect to homepage.mac.com. Mail is not allowed to connect on port 80 -- as some graphics attachments in spam try to do. However, outgoing connections with iChat are allowed.


Sample Little Snitch Configuration

As you build up confidence in each Mac OS X application and system daemon and what it connects to, and grant your permission, Little Snitch dynamically builds an outbound set of filter rules. If some new and unexpected outbound connection happens, youill be offered the opportunity to block it. You can manually make changes to the rules as well.

Youill spend some early days training Little Snitch, but the payoff in the long run is that no data will leave your computer without your consent. That provides a lot of peace of mind. Little Snitch is modestly priced (US$24.95), well written and stable. The latest version is Leopard compatible.

Login. Need an account? Register here.



Auto-login on future visits

Show my name in the online users list

Forgot your password?


Commenting is not available in this section entry.
 

Recent Headlines - Updated February 9th

Tue, 4:53 PM
News - Google Introduces “Buzz” Social Information Sharing Service
4:19 PM
Just a Thought - iPad: A Reason For Being
3:28 PM
News - Google Lowers Nexus One “Equipment Recovery Fee” to $150
2:27 PM
Deal Brothers - Refurbished 13” MacBook 2.13GHz Intel Core 2 Duo:  $749
1:31 PM
Jeff Gamet's Blog - Macworld Expo: It’s Our Show, Not Apple’s
10:38 AM
Quick Look Review - Texas Tea for the iPhone and iPod touch
10:25 AM
News - Apple Rolls Out Aperture 3 Video Tutorials
10:00 AM
Hot Forum Topic - Backing Up Your iPhoto Library
9:35 AM
Product News - Notebook, iThoughts Add TextExpander touch Support
9:00 AM
Hidden Dimensions - The Killer Surprises Waiting for Steve Ballmer
8:50 AM
Product News - Aperture 3 Adds Faces Support, More [Updated]
8:30 AM
TMO Quick Tip - Fixing iPhone and MobileMe Sync Headaches
 

The Mac Observer Reader Specials

Apple Stock Quote

  • AAPL: $196.19. Change: +2.07.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal