Deep Security 11 has reached end of support. Use the version selector (above) to see more recent versions of the Help Center.

Configure agents that have no internet access

If your agents or relays don't have access to the internet (also called "air-gapped agents"), then they won't be able to access several of the security services provided by the Trend Micro Smart Protection Network. These security services are necessary for the full and successful operation of the Deep Security Anti-Malware and Web Reputation features.

The Trend Micro Smart Protection Network security services are:

Service name Required for these features
Smart Scan Service Smart Scan
Web Reputation Service Web Reputation
Global Census Service behavior monitoring, predictive machine learning
Good File Reputation Service behavior monitoring, predictive machine learning, process memory scans
Predictive Machine Learning Service predictive machine learning

In addition to the above services, the agent and relay-enabled agent also need access to the Trend Micro Update Server (also called Active Update), which is not part of the Smart Protection Network, but is a component that is hosted by Trend Micro and accessed over the internet.

If any of your agents or relay-enabled agents can't reach the services above, you have several solutions, described below.

Solutions

Use a proxy

If your agents or relay-enabled agents can't connect to the internet, you can install a proxy that can. Your Deep Security Agents and relays connect to the proxy, and the proxy then connects outbound to the Trend Micro security services in the Smart Protection Network.

With a proxy, each Smart Scan or Web Reputation request goes out over the internet to the Smart Protection Network. Consider instead using a Smart Protection Server inside your LAN to keep these requests within your network and reduce extranet bandwidth usage.

To use a proxy, see Connect agents behind a proxy

Install a Smart Protection Server locally

If your agents and relay-enabled agents can't connect to the internet, you can install a Smart Protection Server in your local area network (LAN) to which they can connect. The local Smart Protection Server periodically connects outbound over the internet to the Smart Protection Network to retrieve the latest Smart Scan Anti-Malware patterns and Web Reputation information. This information is cached on the Smart Protection Server and queried by your agents and relay-enabled agents. The Smart Protection Server does not push updates to the agents or relay-enabled agents.

If you decide to use this solution, remember that:

To deploy a Smart Protection Server:

The scenario described above applies when only the Deep Security Agent and relay-enabled agent are air-gapped, but Deep Security Manager has internet access or proxy access as described in Port numbers, URLs, and IP addresses. If Deep Security Manager is also air-gapped, you will need to use a proxy to receive security updates from the Trend Micro Active Update Server. Alternatively, use Solution 3: Get updates in an isolated network.

Get updates in an isolated network

If your Deep Security Manager is in an isolated network without connection to the internet and your agents or relay-enabled agents also can't connect to the internet, you can install an additional stand-alone Deep Security Manager with database and a relay-enabled agent in your demilitarized zone (DMZ) or another area where internet access is available.

Once all the components are installed, you can configure the relay-enabled agent in the DMZ to automatically obtain the latest malware scan updates from the Update Server on the internet. These updates must be extracted to a .zip file, and then manually copied to your air-gapped relay. (Detailed instructions follow.)

If you decide to use this solution, remember that:

To deploy this solution, follow these steps (for upgrade steps, see below):

  1. Install a Deep Security Manager and its associated database in your DMZ. We'll call these internet-facing components the 'DMZ manager' and 'DMZ database'.
  2. Install a Deep Security Agent in your DMZ and configure it as a relay. We'll call this agent the 'DMZ relay'. For information on setting up relays, see Distribute security and software updates with relays.
    The following items are now installed:
    • a DMZ manager
    • a DMZ database
    • a DMZ relay
    • an air-gapped manager
    • an air-gapped database
    • an air-gapped relay
    • multiple air-gapped agents
  1. On the DMZ relay, create a .zip file containing the latest malware patterns by running this command:
  2. dsa_control -b
    The command line output shows the name and location of the .zip file that was generated.

  3. Copy the .zip file to the air-gapped relay. Place the file in the relay's installation directory.
    • On Windows the default directory is C:\Program Files\Trend Micro\Deep Security Agent.
    • On Linux the default directory is /opt/ds_agent.

    Do not rename the .zip file.

  4. On the air-gapped manager, initiate a security update download:
    1. Click Computers at the top.
    2. In the list of computers, find your air-gapped relay where you copied the .zip file, right-click it and select Download Security Update.
      The air-gapped relay checks its configured update source (typically the Update Server on the internet). Since it can't connect to this server, it checks the .zip file in its installation directory. When it finds the .zip file, it extracts it and imports the updates. The updates are then disseminated to the air-gapped agents that are configured to connect to the relay.
    3. Delete the .zip file after the updates are imported to the air-gapped relay.
  5. Configure the air-gapped relay to connect to itself instead of the Update Server (to prevent connection error alerts):
    1. Log in to the air-gapped manager.
    2. Click Administration on the top.
    3. On the left, click System Settings.
    4. In the main pane, click the Updates tab.
    5. Under Primary Security Update Source, select Other update source and enter https://localhost:[port] where [port] is the configured port number for security updates, by default 4122.
    6. Click OK.
      The air-gapped relay no longer tries to connect to the Update Server on the internet.
  6. (Optional but recommended.) To improve performance, Disable the features that use Trend Micro security services.
  7. On a periodic basis, download the latest updates to your DMZ relay, zip them up, copy them to your air-gapped relay, and initiate a security update download on the relay.

You have now deployed a Deep Security Manager, associated database, and relay in your DMZ from which to obtain malware scan updates.

To upgrade this solution, upgrade in this order: 

  1. DMZ manager (and its database, if the database software also needs to be upgraded)
  2. DMZ relay
  3. air-gapped manager (and its database, if the database software also needs to be upgraded)
  4. air-gapped relay
  5. air-gapped agents

If you do not upgrade relays first, security component upgrades and software upgrades may fail.

For details on upgrading, see Install or upgrade Deep Security (for manager upgrade steps), and Update the Deep Security Agent

Get rules updates in an isolated network

The .zip file that you created in the previous section contains the Deep Security Rule Updates that are used for Intrusion Prevention, Integrity Monitoring, and Log Inspection. However, if you would like to get those updates separately:

  1. On the DMZ manager, go to Administration > Updates > Security > Rules.
  2. Click a rule update (.dsru file) and click Export. The file is downloaded locally.
  3. Repeat the export for each .dsru file that you want to apply to the air-gapped manager.
  4. Copy the .dsru files to the air-gapped manager.
  5. On the air-gapped manager, go to Administration > Updates > Security > Rules.
  6. Click Import, select the .dsru file, and click Next.
  7. The manager validates the file and displays a summary of the rules it contains. Click Next.
  8. A message displays, saying that the rule update was imported successfully. Click Close.
  9. Repeat the import for each .dsru file that you want to apply to the air-gapped manager.

Disable the features that use Trend Micro security services

You can disable the features that use Trend Micro security services. Doing so improves performance because the air-gapped agent no longer tries (and fails) to query the services.

  • Without Trend Micro security services, your malware detection is downgraded significantly, ransomware is not detected at all, and process memory scans are also affected. It is therefore strongly recommended that you use one of the other solutions to allow access to Trend Micro security services. If this is impossible, only then should you disable features to realize performance gains.

Also disable the census and grid queries on the Deep Security Manager if you want performance gains. If you leave them enabled, a lot of unnecessary background processing takes place. To disable these queries:

  1. Disable the census query:

dsm_c -action changesetting -name settings.configuration.enableCensusQuery -value false

  1. Disable the grid query:

dsm_c -action changesetting -name settings.configuration.enableGridQuery -value false