19.04.2013 Views

2KKUU7ita

2KKUU7ita

2KKUU7ita

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 13-4:<br />

smtpscan<br />

gathers<br />

version info<br />

even when<br />

the SMTP<br />

banner is<br />

disguised.<br />

Chapter 13: Communication and Messaging Systems<br />

You can gather information on POP3 and IMAP e-mail services by telnetting to<br />

port 110 (POP3) or port 143 (IMAP).<br />

If you change your default SMTP banner, don’t think that no one can figure out<br />

the version. General vulnerability scanners can often detect the version of your<br />

e-mail server. One Linux-based tool called smtpscan (www.freshports.org/<br />

security/smtpscan/) determines e-mail server version information based<br />

on how the server responds to malformed SMTP requests. Figure 13-4 shows<br />

the results from smtpscan against the same server shown in Figure 13-3. The<br />

smtpscan tool detected the product and version number of the e-mail server.<br />

Countermeasures against banner attacks<br />

There isn’t a 100 percent secure way of disguising banner information. I suggest<br />

these banner security tips for your SMTP, POP3, and IMAP servers:<br />

✓ Change your default banners to cover up the information.<br />

✓ Make sure that you’re always running the latest software patches.<br />

✓ Harden your server as much as possible by using well-known best<br />

practices from such resources as the Center for Internet Security (www.<br />

cisecurity.org), NIST (http://csrc.nist.gov), and Network<br />

Security For Dummies by Chey Cobb.<br />

SMTP attacks<br />

Some attacks exploit weaknesses in the Simple Mail Transfer Protocol (SMTP).<br />

This e-mail communication protocol — which is over three decades old — was<br />

designed for functionality, not security.<br />

257

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!