(OSCE XG) To (Apex One) Upgrade Handy Guide
(OSCE XG) To (Apex One) Upgrade Handy Guide
(OSCE XG) To (Apex One) Upgrade Handy Guide
Trend Micro™
Apex One Version 2019
Information in this document is subject to change without notice. The names of companies, products,
people, characters, and/or data mentioned herein are fictitious and are in no way intended to
represent any real individual, company, product, or event, unless otherwise noted. Complying with all
applicable copyright laws is the responsibility of the user.
All other brand and product names are trademarks or registered trademarks of their respective
companies or organizations
Contents
Chapter 1: Introduction .......................................................................................................................4
1.1 > Upgrade Purpose ..................................................................................................................................... 5
1.2 > What’s New ............................................................................................................................................ 5
1.3 > System Requirements ............................................................................................................................. 8
1.4 > Upgrade Considerations .......................................................................................................................... 8
1.5 > Hot Fix Deployment ............................................................................................................................. 14
1.6 > Firewall: IP, Port and Protocol .............................................................................................................. 15
Chapter 2: Upgrade Scenarios ........................................................................................................17
2.1 > Upgrading the OSCE XG Critical Patch1 server directly ..................................................................... 18
2.2 > Migrating to a new OSCE XG Critical Patch1 server before upgrading to ApexOne .......................... 19
2.3 > Replacing the OSCE XG Critical Patch1 server with a new ApexOne server ...................................... 21
Chapter 3: Upgrade Processes........................................................................................................23
3.1 > Upgrading the server directly................................................................................................................ 24
3.2 > Migrating to a new OSCE XG Critical Patch1 server before upgrading to Apex One ......................... 33
3.3 > Replacing an OSCE XG Critical Patch1 server with a new Apex One server ...................................... 37
Chapter 4: Upgrade Verification.......................................................................................................39
4.1 > Verifying The Upgraded Apex One Server ........................................................................................... 40
4.2 > Upgrade the Edge Relay server ............................................................................................................. 42
4.3 > Upgrade the managed agents ................................................................................................................ 45
Chapter 5: Plug-in Service Migration ..............................................................................................47
5.1 > TMSM................................................................................................................................................... 48
5.2 > iDLP ...................................................................................................................................................... 48
Chapter 6: Known Issue ....................................................................................................................50
6.1 > Other Update Source (OUS) ................................................................................................................. 51
6.2 > Edge Relay ............................................................................................................................................ 51
6.3 > Apex One Version ................................................................................................................................. 52
6.4 > Dashboard ............................................................................................................................................. 52
Trend Micro OfficeScan Corporate Edition (OSCE)
Trend Micro OfficeScan Corporate Edition (OSCE)
• https://docs.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp-
• https://docs.microsoft.com/en-us/windows/win32/secauthn/cipher-suites-in-schannel
Trend Micro OfficeScan Corporate Edition (OSCE)
Off-premises Security Agent Protection
Enhanced Edge Relay Server support allows for increased communication between the Apex One server and off-premises
Security Agents. Security Agents can receive updated policy settings from the Apex One server even when a direct connection
to the server is unavailable.
• The re-designed Edge Relay uses IIS rewrite module as a reverse proxy to achieve communication between off premise agent
and the Apex One server. It will redirect the polling request from the off-premise agent to its Apex One server.
• Off premise agents can communicate with their Apex One server through the Edge Relay, and work like SaaS agent.
Trend Micro OfficeScan Corporate Edition (OSCE)
o Upload the detection log.
o Sample submission.
o Configuration deployment.
o Update the hotfix.
Rebranded Console
The OfficeScan server and OfficeScan agent programs have been rebranded to the Apex One server and Security Agent
respectively. The new Apex One server integrates with Apex Central (formerly Trend Micro Control Manager) to provide
increased protection against security risks. The all-in-one Security Agent program continues to provide superior protection
against malware and data loss but also allows you implement Application Control, Endpoint Sensor, and Vulnerability Protection
policies without having to install and maintain multiple agent programs.
• Microsoft™ Edge™
• Google™ Chrome™
* A New Server: Prepared for Migrating OfficeScan server, including managed agents, configurations and logs from the current
OfficeScan server to the new server. And the new server’s OS platform should be Windows server 2012 and later. Please get
more information from Chapter 2.
Trend Micro OfficeScan Corporate Edition (OSCE)
* SQL Server:
SQL server supported by Apex One WITHOUT Endpoint Sensor feature:
• SQL Express: 2008 R2 SP2 and later
• SQL Server: 2008 R2 and later
SQL server supported by Apex One WITH Endpoint Sensor feature:
• SQL Express: Not Support
• SQL Server:
o 2016 SP1 with “Full-Text and Semantic Extractions for Search” installed
o 2017 with “Full-Text and Semantic Extractions for Search” installed
* Standalone Smart Protection Server (SPS): If the current OSCE server has been configured any standalone SPS, the
standalone SPS should be upgraded to version 3.3 before upgrading OSCE to Apex One. If the OSCE agent does not have
network connection to Trend Micro global SPS server, it is also recommended to build a standalone smart protection server
before upgrading.
Standalone SPS Installer Download Site:
https://downloadcenter.trendmicro.com/index.php?regs=NABU&clk=latest&clkval=5179&lang_loc=1
* Apex Central Server: If the current OSCE server has registered to a Control manager, please upgrade the control manager to Apex
Central before upgrading OSCE to Apex One.
Apex One Installer Download Site:
https://downloadcenter.trendmicro.com/index.php?regs=NABU&clk=latest&clkval=5346&lang_loc=1
Upgrade Sequence
When multiple following Trend Micro products are installed in the environment, please follow the sequence to upgrade them one
by one.
Sequence Current Product Upgrade To
1 Control manager Apex Central 2019
Trend Micro OfficeScan Corporate Edition (OSCE)
2 Standalone SPS Version 3.3
3 OfficeScan Server Apex One Server Patch3 Build 8422 and
later
4 Edge Relay Version 2.0
5 OfficeScan Agent Apex One Security Agent
NOTE This document focuses on upgrading to Apex One from OSCE XG Critical Patch1. For more detailed information, please refer to the Apex One
installation guide (Page 84):
https://docs.trendmicro.com/all/ent/apex-one/2019/en-us/apexOne_2019_iug.pdf
NOTE This is a default setting. Trend Micro also suggests to keep enabled it.
NOTE The setting is also valid to offline agents registered on the OSCE server. When the offl ine agent becomes online, this setting is notified earlier than
the upgrade program.
Limitations
• If there are any agents running Login Script (AutoPcc.exe), the server cannot upgrade. Ensure that no agent is running Login
Script before upgrading the server.
• If the server is performing any database-related task before upgrading, the server cannot upgrade. It is suggested that you
check the status of the DbServer.exe process. For example, open Windows Task Manager and verify that the CPU usage for
DbServer.exe is “00”. If the CPU usage is higher, wait until usage is “00”. This is a signal that database-related tasks have been
completed. If you run an upgrade and encounter upgrade problems, it is possible that database files have been locked. In this
case, stop the OfcService service or restart the server computer to unlock the files and then run another upgrade.
• Make sure that there is no mmc.exe process running in the Windows Task Manager.
• Make sure that there is no LogServer.exe process running in the Windows Task Manager, except when the debug log is
required by the Trend Micro Support Team.
5. If there is any hot fix missed, please contact Trend Micro Technical Support for further supporting.
Important: The file may be older. Please make sure that the timestamp if not too far away from the upgrade date. The record will show
something similar to the screenshot below.
docs.trendmicro.com 443 TCP, HTTPS Trend Micro Official Online Help (Internet)
osce140-en- Trend Micro Predictive Machine Learning
443 TCP, HTTPS
f.trx.trendmicro.com Engine Rating Server for Static File (Internet)
Trend Micro Predictive Machine Learning
osce140-en-
443 TCP, HTTPS Engine Rating Server for Running Process
b.trx.trendmicro.com
(Internet)
osce14-ilspn30wr-
443 TCP, HTTPS Smart Scan server pattern update: WRS
p.activeupdate.trendmicro.com
osce14-ilspn30-
443 TCP, HTTPS Smart Scan server pattern update: FRS
p.activeupdate.trendmicro.com
Trend Micro OfficeScan Corporate Edition (OSCE)
Disadvantages
● During the upgrade, the OSCE agents will not be able to connect to this OSCE server.
● If the OSCE agent is not allowed to connect to the internet, there will be no File Reputation Services (FRS) for the Smart
Scan mode agent and Web Reputation Services (WRS) protection.
Recommendations
● Build a Standalone Trend Micro Smart Protection Server (TMSPS) before upgrading.
● To avoid any unexpected risk, please create a snapshot or backup of the current OSCE server before upgrading.
2.2 > Migrating to a new OSCE XG Critical Patch1 server before upgrading to
ApexOne
In this method, there is a new server, which also has the same version and build of OSCE XG Critical Patch1 installed.
Trend Micro OfficeScan Corporate Edition (OSCE)
This upgrade method is used when:
● The OSCE server cannot be offline during the upgrade.
● The server hardware does not meet the system requirements. Please refer to System Requirements under Chapter 1.
● The server OS is Windows Server 2008 R2 or older, and it is inconvenient to upgrade to Server 2012 or a later version.
Advantages
● During the server upgrade period, the OSCE agent is still online.
● You can avoid any unexpected risk, because the original server is still working.
● Logs and system events can be kept.
● This provides a better support for the plug-in service e.g. iDLP, IDF (instead of TMVP), and TMSM.
Disadvantages
● You need to prepare more resource(s) e.g. H/W purchase, network/topology setting, etc.
● After the new server is ready, the agent status may be incorrect for a while.
● The procedure of this method is not as easy as previous method.
● You need to install the same version/build of the OSCE server on the new server before performing server upgrade.
● You need to move quarantined files from Server A to Server B manually. The default directory is: <OSCE Server
installation folder>\PCCSRV\Virus\.
● IDF cannot be installed on the new because there is no resource anymore. It is suggested that the customer uses TMVP
instead of IDF.
Suggestions
● After the new server is online, please log in to the Apex One web management console to verify the agents’ status from
Agents > Connection Verification, and click Verify Now.
2.3 > Replacing the OSCE XG Critical Patch1 server with a new ApexOne
server
In this method, there is a new server, which is a freshly-installed ApexOne server. In this method, it is required to change the
agent’s configurations.
This upgrade method is used when:
● Multiple applications are used on the current OSCE server. And the customer wants to separate the OSCE server to
another server (The New Server).
● If both of the 2 servers are online at the same time, they need to have different IP addresses and hostnames.
● The original server’s hardware or the operating system does not meet the system requirements. Please refer to System
Requirements under Chapter 1. However, the customer still wants to keep the current server in the network for other
usage.
● The network topology changed (i.e. IP section changed) and the customer is using an IP address for server-agent
communication in the current OSCE environment.
Advantages
● During the server upgrade period, the OSCE agents are still online.
● Any unexpected risk can be avoided.
Trend Micro OfficeScan Corporate Edition (OSCE)
Disadvantages
● You need to prepare more resource(s) e.g. H/W purchase, network/topology setting, etc.
● Logs e.g. virus/malware log, system events, etc. will be lost.
● The quarantined files cannot be restored from the Apex One web management console. But here is a workaround to
achieve it. Please refer to the KB: https://success.trendmicro.com/solution/1057903.
Recommendations
● Do not restore the old database from the current OSCE server to the new Apex One server. There will be a schema
mismatched problem.
● To avoid compatibility issues, do not use this method if iDLP is installed and used.
Trend Micro OfficeScan Corporate Edition (OSCE)
● (Optional wizard) Select “Enable HTTPS agent communication” and click Next
This wizard will pop-up while the OSCE agents use HTTPS protocol to communicate with the management server (OSCE
server).
Trend Micro OfficeScan Corporate Edition (OSCE)
● Click Next to continue
● Select “Protect against ransomware (Behavior Monitor)” and “Protect against network attacks (Suspicious
Connection Service and Settings” according to the environment, and click Next
Trend Micro OfficeScan Corporate Edition (OSCE)
● Select “Yes” and find a folder to do a database backup, and click Next
● Input the SQL server information, and provide the dedicate credential for OSCE server
This wizard will show up ONLY when the OSCE server is using Codebase (HTTPDB) as its database application. If
Trend Micro OfficeScan Corporate Edition (OSCE)
the OSCE server is already using SQL server as its database application, this wizard will be bypass by the installer.
That means it will not show.
● This is the agent deployment information wizard. The main purpose is to clarify the deployment size per agent. Please click
Next to continue
Trend Micro OfficeScan Corporate Edition (OSCE)
● Review all deployment information, and click Install if everything is confirmed
Trend Micro OfficeScan Corporate Edition (OSCE)
● Upgrade task completed successfully
● Trigger the update for the agents gradually according to the bandwidth.
Trend Micro OfficeScan Corporate Edition (OSCE)
3.2 > Migrating to a new OSCE XG Critical Patch1 server before upgrading to
Apex One
b. Set Server A’s HOSTNAME for Server B to make sure they are using the same hostname. Server B is no need to
assign the same IP Address as Server A’s. Please don’t join to the domain at this moment. Otherwise, Server A will
be untrusted on the domain controller.
c. Add a HOST file record on Server B. The record is:
127.0.0.1 <Server B HostName>.<Domain.Name>
Trend Micro OfficeScan Corporate Edition (OSCE)
4. Do a fresh installation of OSCE XG Critical Patch1 on Server B. And then upgrade it to the same build number as Server A’s.
Attention: Please set the Server A’s FQDN during the fresh installation.
o HTTPDB:
i. Stop the OfcService service on Serve A.
e. Make sure Server B’s settings are the same as Server A’s.
7. After the settings restoration finishes on Server B, please upgrade Server B to XG Critical Patch1 build 1988
3.3 > Replacing an OSCE XG Critical Patch1 server with a new Apex One
server
2. Important processes:
Name Status Purpose Requirement
DBServer.exe Running Touch database
Ofchotfix.exe By request Packet program files
Verconn.exe By request Check agent status
Locate in PCCSRV\PLM\PHP
Php-cgi.exe Running Handle web request
folder
If the OSCE server has registered to an edge relay server, it is required to upgrade the edge relay server to version 2.0.
To do this:
1. Login the Apex One server
2. Navigate to the directory: [<…>\Trend Micro\Apex One\PCCSRV\Admin\Utility\EdgeServer\]
3. Copy the whole “EdgeServer” folder to the Edge Relay server
4. Execute “EdgeServer\setup.exe” to directly upgrade the edge relay server
5. After the installation completed, please run cmd.exe as administrator. Then execute the prompt to register the version 2.0
edge relay server to the Apex One server:
<…>\Trend Micro\OfficeScan Edge Relay\OfcEdgeSvc\ofcedgecfg.exe --cmd reg --server <Apex One Server> --port
Trend Micro OfficeScan Corporate Edition (OSCE)
<Apex One Server SSL Port> --pwd <The password of ROOT for Apex One management console login>
6. Confirm the edge relay registered in Apex One web management console:
Trend Micro OfficeScan Corporate Edition (OSCE)
In this example, put the pilot agents into “Domain_pilot agents” domain. And upgrade the
agents in this domain.
After the upgraded pilot agents confirmed running well, then upgrade the rest agents domain
by domain:
Upgrade agents located in Domain_1, then upgrade agents located in Domain_2 etc. Till the
last domain “Domain_end” has been performed upgrade action.
Please check following detailed steps to achieve it.
To do this:
1. Log in to the web management console.
2. Go to Agents > Agent Management
3. Put some pilot agents into “Domain_pilot agents”
4. On the agent tree, click on the “Domain_pilot agents”. Then navigate to Settings > Privileges and Other Settings
Trend Micro OfficeScan Corporate Edition (OSCE)
5. In Update Settings blade, choose “All components (including hotfixes and the agent program)” from the drop down list
NOTE All of the agents connected to the Apex One server will be upgraded. However, for the agents that cannot receive notifications from the
Apex One server, such as those behind a NAT environment, will NOT be upgraded immediately. Those agents will be upgraded acco rding to the
start time of a schedule-based update, so it will take some time before it starts upgrading. A client package (EXE or MSI) can also achieve it.
Trend Micro OfficeScan Corporate Edition (OSCE)
1. Install iDLP PLS on the new server, and then activate it.
2. Make sure the Apex One Master Service has been stopped.
3. Run ServerMigrationTool as Administrator [<Apex One Server folder>\PCCSRV\Admin\Utility\ServerMigrationTool] on the
original OSCE server to export settings. (Please ignore this step if it has been done during this migration or replacement.)
4. Copy the exported zip file (i.e. C:\OsceMigrate.zip) to the new server and put it in the same location as the original server.
(Please ignore this step if it has been done during this migration or replacement.)
5. Run the tool again on the Apex One server to import settings. (Please ignore this step if it has been done during this
migration or replacement.)
6. Back up the database on the original server and restore it on the new server. (Please ignore this step if it has been done
during this migration or replacement.)
[INI_IDLP_SECTION]
EnableUserDefinedUploadFolder = <value>
UserDefinedUploadFolder = <value or NULL>
Trend Micro OfficeScan Corporate Edition (OSCE)
o If the value of EnableUserDefinedUploadFolder is “0”, it is a default value. The folder’s location by
default is <OSCE Server folder>\PCCSRV\Private\DLPForensicData.
o If the value of EnableUserDefinedUploadFolder is “1”, the folder’s location should be set after
“UserDefinedUploadFolder =”.
8. Restore and overwrite DLPForensicDataTracker.db and the forensic folder from the original server to the new server in the
same locations.
9. Compare the following part in the ofcscan.ini of both servers to make sure there are no changes on both of the servers:
UploadForensicDataEnable=x
UploadForensicDataSizeLimitInMb=xx
ForensicDataKeepDays=xxx
ForensicDataDelayUploadFrequenceInMinutes=xxxx
10. Verify iDLP’s rules, settings, and logs on the new server.
Trend Micro OfficeScan Corporate Edition (OSCE)
If the banner shows, please update the HTTP OUS to HTTPS mode from Updates > Agents > Update Source.
If the OUS is promoted from a security agent, please make sure it has been upgraded to Apex One version.
Reason:
Those 3 legacy pages are not used any more in Apex One version. This known issue may be encountered when the Apex One
server was upgraded from a previous version.
Suggestion to resolve the issue:
1. Login in this upgraded Apex One Server
2. Backup the file: <..\PCCSRV\Web_OSCE\Web_console\HTML\widget\repository\db\sqlite\tmwf.db>
3. Copy the same file from a fresh installed Apex One server to the upgraded Apex One server.
4. Overwrite it, and reload the management console