27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3-30<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 for Email Advanced Configuration Guide<br />

Chapter 3 LDAP Queries<br />

Drop Connection if DHAP Threshold is reached within an SMTP conversation. Configure the<br />

Cisco <strong>IronPort</strong> appliance to drop the connection if the Directory Harvest Attack Prevention<br />

threshold is reached.<br />

Max. Recipients Per Hour Code. Specify the code to use when dropping connections. The default<br />

code is 550.<br />

Max. Recipients Per Hour Text. Specify the text to use for dropped connections. The default text<br />

is “Too many invalid recipients.”<br />

If the threshold is reached, the Envelope Sender of the message does not receive a bounce message when<br />

a recipient is invalid.<br />

Directory Harvest Attack Prevention within the Work Queue<br />

You can prevent most DHAs by entering only domains in the Recipient Access Table (RAT), and<br />

performing the LDAP acceptance validation within the work queue. This technique prevents the<br />

malicious senders from knowing if the recipient is valid during the SMTP conversation. (When<br />

acceptance queries are configured, the system accepts the message and performs the LDAP acceptance<br />

validation within the work queue.) However, the Envelope Sender of the message will still receive a<br />

bounce message if a recipient is not valid.<br />

Configuring Directory Harvest Prevention in the Work Queue<br />

To prevent Directory Harvest Attacks, you first configure an LDAP server profile, and enable LDAP<br />

Accept. Once you have enabled LDAP acceptance queries, configure the listener to use the accept query,<br />

and to bounce mail for non-matching recipients:<br />

Figure 3-14 Configuring the Acceptance Query to Bounce Messages for Non-Matching Recipients<br />

Next, configure the Mail Flow Policy to define the number of invalid recipient addresses the system will<br />

allow per sending IP address for a specific period of time. When this number is exceeded, the system<br />

will identify this condition as a DHA and send an alert message. The alert message will contain the<br />

following information:<br />

LDAP: Potential Directory Harvest Attack from host=('IP-address', 'domain_name'),<br />

dhap_limit=n, sender_group=sender_group,<br />

listener=listener_name, reverse_dns=(reverse_IP_address, 'domain_name', 1),<br />

sender=envelope_sender, rcpt=envelope_recipients<br />

The system will bounce the messages up to the threshold you specified in the mail flow policy and then<br />

it will silently accept and drop the rest, thereby informing legitimate senders that an address is bad, but<br />

preventing malicious senders from determining which receipts are accepted.<br />

This invalid recipients counter functions similarly to the way Rate Limiting is currently available in<br />

AsyncOS: you enable the feature and define the limit as part of the mail flow policy in a public listener’s<br />

HAT (including the default mail flow policy for the HAT).<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!