Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: Configuring DoS and DHA blocking period method

Expand / Collapse


This article applies to:

  • Trustwave MailMarshal (SEG) 
  • DoS and DHA functionality

Question:

  • What are the configuration options for DoS and DHA blocking periods?
  • Are DoS and DHA blocking periods extended?
  • DoS and DHA calculation 

Background:

In MailMarshal SMTP versions before 6.4.5, the Denial of Service (DoS) and Directory Harvest Attack (DHA) blocking periods are reset on a sliding basis. If a blocked server attempts to connect, the blocking period can be extended.

  • This behavior can cause email from a legitimate external server to be delayed or permanently refused.
  • For instance, if an external server creates a large number of legitimate connections, or attempts delivery to obsolete addresses, it might be blocked. If the server retries delivery within the blocking period, blocking might never end.   

In current versions of MailMarshal/SEG, the end times of DoS and DHA blocking periods are not reset. Any connections from a blocked server will not extend the period. When the blocking period ends, MailMarshal starts a new evaluation period.

  • This behavior helps to ensure that legitimate servers will eventually be able to deliver messages.

If you prefer the "sliding"  behavior, you can configure MailMarshal  to use this behavior, by setting Registry entries.

Procedure:

  • The below information is correct for version 8.2 and current 10.X versions. For full details of the registry locations to edit for each version, see article Q10832

For DoS:

  1. Navigate to the Registry key: HKEY_LOCAL_MACHINE\Software\Trustwave\Secure Email Gateway\Default\Receiver\DOS
  2. Create a DWORD value SlidingDOSWindow
  3. Set the value to 1
In 10.X Advanced Settings, enter the value Receiver.DOS.SlidingDOSWindow (boolean TRUE)

For DHA:

  1. Navigate to the Registry key: HKEY_LOCAL_MACHINE\Software\Trustwave\Secure Email Gateway\Default\Receiver\DHA
  2. Create a DWORD value SlidingDHAWindow
  3. Set the value to 1
In 10.X Advanced Settings, enter the value Receiver.DHA.SlidingDHAWindow (boolean TRUE)

After editing the Registry or Advanced Settings, to apply changes:

  1. From the MailMarshal Configurator or 10.X Management Console, commit configuration.
  2. Confirm that all servers are up to date.
  3. Restart the Receiver service on each server.

As always, take due care when editing the Registry.

Notes:

To configure DoS and DHA prevention settings, see the MailMarshal Configurator or 10.X Management Console (Attack Prevention tab of Array Properties).

The Advanced Settings described may not be available in MailMarshal 10.0.0 and 10.0.1.

If you are experiencing problems with DoS or DHA blocking, you can also configure other settings:

  • Exclude specific hosts from blocking.
  • Set the blocking period to a shorter time than typical server retry times (generally, less than 15 minutes).


To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.