Configure agents that have no Internet access

If your agents or relay-enabled agents don't have access to the Internet (also called 'air-gapped agents'), they won't be able to access several of the security services hosted by Trend Micro in its Smart Protection Network. These security services are necessary for the full and successful operation of the Deep Security anti-malware and web reputation features.

These Trend Micro 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

If the above services can't be reached by the agent or relay-enabled agent, 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 disseminated to your agents and relay-enabled agents.

If you decide to use this solution, remember that:

  • The Smart Protection Server only caches information related to the Smart Scan and web reputation features.
  • the Smart Protection Server acts a reverse proxy for other features whose information is not cached, namely, behavior monitoring, predictive machine learning, and process memory scans. When acting as a reverse proxy, the Smart Protection Server connects to the Trend Micro services over the Internet for each request.
  • If you do not want your Smart Protection Server to act as a reverse proxy (see the previous bullet), then you must disable the behavior monitoring, predictive machine learning and process memory scanning features. See Disable the features that use Trend Micro security services for details.

To deploy a Smart Protection Server:

Install a relay and supporting components in your DMZ or Internet-ready area

If your agents or relay-enabled agents can't connect to the Internet, you can install a relay-enabled Deep Security Agent, Deep Security Manager, and Deep Security Manager's database in your demilitarized zone (DMZ) or another area of your network where Internet access is available. These Deep Security components must be installed in addition to your existing air-gapped components.

Once all the components are installed, the relay-enabled agent automatically obtains the latest malware scan updates from the Update Server in the Smart Protection Network. These updates must be extracted to a .zip file, and then manually copied to your air-gapped relay or directly to your air-gapped agents, if you do not have an air-gapped relay. (Detailed instructions follow.)

If you decide to use this solution, remember that:

To deploy this solution, follow these steps:

  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, or, if you are not using an air-gapped relay, copy the .zip directly to each of your air-gapped agents. Place the file in the relay or agent'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 or agent where you copied the .zip file, right-click it and select Download Security Update.

      The air-gapped relay or agent checks its configured update source (typically the Update Server in the Trend Micro Smart Protection Network 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. If an air-gapped relay is used, 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 agent or relay.
  5. Configure the air-gapped relay to connect to itself instead of the Trend Micro 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 in the Trend Micro Smart Protection Network.
  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 or agents, and initiate a security update download on the relay (if you're using one).

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

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.

To disable the features that use Trend Micro security services:

  1. Disable Smart Scans:
    1. Open the Computer or Policy editorClosedYou can change these settings for a policy or for a specific computer. To change the settings for a policy, go to the Polices page and double-click the policy that you want to edit (or select the policy and click Details). To change the settings for a computer, go to the Computers page and double-click the computer that you want to edit (or select the computer and click Details). .
    2. On the left, click Anti-Malware.
    3. In the main pane, click Smart Protection.
    4. Under Smart Scan, deselect Inherited (if it is selected) and then select Off.
    5. Click Save.
  2. Disable web reputation:
    1. Open the Computer or Policy editorClosedYou can change these settings for a policy or for a specific computer. To change the settings for a policy, go to the Polices page and double-click the policy that you want to edit (or select the policy and click Details). To change the settings for a computer, go to the Computers page and double-click the computer that you want to edit (or select the computer and click Details)..
    2. On the left, click Web Reputation.
    3. In the main pane, make sure the General tab is selected.
    4. From the Configuration drop-down list, select Off.
    5. Click Save.
  3. Disable Smart Feedback:
    1. In Deep Security Manager, click Administration at the top.
    2. Click System Settings on the left.
    3. In the main pane, click the Smart Feedback tab.
    4. Deselect Enable Trend Micro Smart Feedback (recommended).
    5. Click Save.
  4. Disable process memory scans:
    1. In Deep Security Manager, click Policies at the top.
    2. On the left, expand Common Objects > Other and then click Malware Scan Configurations.
    3. Double-click a malware scan configuration with a SCAN TYPE of Real-Time.
    4. On the General tab, under Process Memory Scan, deselect Scan process memory for malware.
    5. Click OK.
  5. Disable predictive machine learning:
    1. Make sure you still have a real-time malware scan configuration open.
    2. On the General tab, under Predictive Machine Learning, deselect Enable Predictive Machine Learning.
    3. Click OK.
  6. Disable behavior monitoring:
    1. Make sure you still have a real-time malware scan configuration open.
    2. On the General tab, under Behavior Monitoring, deselect both options, namely, Detect suspicious activity and unauthorized changes (incl. ransomware) and Back up and restore ransomware-encrypted files.
    3. Click OK.

Also disable the census and grid queries 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