Getting Started Guide
Getting Started Guide
70
6HUYHU3URWHFW 70
&HQWUDOO\PDQDJHGYLUXVSURWHFWLRQIRUHQWHUSULVHFODVVVHUYHUVDQG
VWRUDJHV\VWHPV
IRU/,18;
70
*HWWLQJ6WDUWHG*XLGH
Trend Micro Incorporated reserves the right to make changes to this document and to
the products described herein without notice. Before installing and using the
software, please review the readme files, release notes, and the latest version of the
applicable user documentation, which are available from the Trend Micro Web site
at:
http://www.trendmicro.com/download
Trend Micro, the Trend Micro logo, InterScan VirusWall, MacroTrap, ServerProtect,
Control Manager, and TrendLabs are trademarks or registered trademarks of Trend
Micro, Incorporated. All other product or company names may be trademarks or
registered trademarks of their owners.
Detailed information about how to use specific features within the software are
available in the online help file and the online Knowledge Base at Trend Micro’s
Web site.
http://www.trendmicro.com/download/documentation
/rating.asp
Contents
Contents
Preface
Audience ............................................................................................ P-2
ServerProtect Documentation ........................................................... P-2
Document Conventions ...................................................................... P-3
Chapter 1: Pre-Installation
System Requirements ......................................................................... 1-2
Information Needed to Install ServerProtect ..................................... 1-4
Upgrading from Previous Versions .................................................... 1-5
Chapter 2: Installation
ServerProtect Installer Options .......................................................... 2-2
Local Installation Procedure .............................................................. 2-3
Running the ServerProtect Installation Program ........................... 2-3
Accepting the Trend Micro End User Agreement ......................... 2-4
Registering ServerProtect to Control Manager .............................. 2-5
Activating ServerProtect During Installation ................................ 2-7
Specifying the World Virus Tracking Option ............................... 2-8
Remote Installation ............................................................................ 2-9
Extracting RemoteInstall From the ServerProtect Binary ............. 2-9
Using a Configuration File in Your Remote Deployment ........... 2-10
Running the RemoteInstall Tool .................................................. 2-14
Kernel Hook Module ....................................................................... 2-16
Installing a Kernel Hook Module Package .................................. 2-17
Verifying the Installation ................................................................. 2-19
Uninstalling ServerProtect ............................................................... 2-19
i
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Index
ii
Preface
Preface
Welcome to the Trend Micro™ ServerProtect™ for Linux 3.0 (SPLX3.0) Getting
Started Guide. This guide contains basic information about the tasks you need to
perform to install the product and basic configuration. This preface discusses the
following topics:
• Audience on page 2
• ServerProtect Documentation on page 2
• Document Conventions on page 3
P-1
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Audience
The ServerProtect for Linux documentation assumes an intermediate to advanced
knowledge of Linux system administration, including:
• Installing and configuring Linux servers
• Installing software on Linux servers
• Network concepts (such as IP address, netmask, topology, LAN settings)
• Various network topologies
• Network devices and their administration
• Network configuration (such as the use of VLAN, SNMP, SMTP, etc.)
ServerProtect Documentation
The ServerProtect for Linux 3.0 documentation consists of the following:
• Administrator’s Guide —This guide describes the product features and
functions. This guide assists you with the configuration and maintenance of the
product. It also contains useful appendices and glossary terms.
• Getting Started Guide—This guide helps you get “up and running” by
introducing ServerProtect, assisting with installation planning and
implementation. It also includes instructions on testing your installation using a
harmless test virus.
• Online help—The purpose of online help is to provide “how to’s” for the main
product tasks, usage advice, and field-specific information such as valid
parameter ranges and optimal values. Online help is accessible from the
ServerProtect management console.
• Man pages—ServerProtect for Linux provides man pages for the splxmain,
splx, tmsplx.xml, RemoteInstall, and CMconfig.
• Readme file—The Readme file contains late-breaking product information that
is not found in the online or printed documentation. Topics include a description
of new features, installation tips, known issues, and release history.
• Knowledge Base— The Knowledge Base is an online database of
problem-solving and troubleshooting information. It provides the latest
information about known product issues. To access the Knowledge Base, open:
http://esupport.trendmicro.com/
P-2
Preface
Tip: Trend Micro recommends checking the corresponding link from the Update Center
(http://www.trendmicro.com/download) for updates to the product
documentation.
Document Conventions
To help you locate and interpret information easily, the documentation uses the
following conventions.
Convention Description
Tip: Recommendations
P-3
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
P-4
Chapter 1
Pre-Installation
This chapter guides you through the information gather phase before installing
ServerProtect for Linux (SPLX) on your Linux server.
This chapter discusses the following topics:
• System Requirements on page 1-2
• Information Needed to Install ServerProtect on page 1-4
• Upgrading from Previous Versions on page 1-5
1-1
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
System Requirements
Servers on which you install ServerProtect must meet the following requirements.
Hardware
Processor
• Intel™ Pentium™ II or higher
• AMD Athlon™ or higher
Note: This version of ServerProtect supports Intel processors with Intel 64 architecture
and AMD processors with AMD64 technology. Intel Itanium architecture is not
supported.
Memory
• 256MB or more (512MB recommended for application/file servers)
Disk space
• 75MB for the /opt directory
• 50MB for the /tmp directory
Software
Supported Distributions and Kernels
• Red Hat™ Enterprise Linux 4.0 (AS, ES, WS, Desktop) (i686 and x86_64)
• 2.6.9-22.EL i686
• 2.6.9-22.ELsmp i686
• 2.6.9-22.ELhugemem i686
• 2.6.9-22.EL x86_64
• 2.6.9-22.ELsmp x86_64
• 2.6.9-55.EL i686
• 2.6.9-55.ELsmp i686
• 2.6.9-55.ELhugemem i686
1-2
Pre-Installation
• 2.6.9-55.EL x86_64
• 2.6.9-55.ELsmp x86_64
• Red Hat™ Enterprise Linux 5 (Server and Desktop) (i686 and x86_64)
• 2.6.18-8.el5 i686
• 2.6.18-8.el5 x86_64
• 2.6.18-8.el5PAE i686
• 2.6.18-8.el5xen i686
• 2.6.18-8.el5xen x86_64
• 2.6.18-8.1.4.el5 i686
• 2.6.18-8.1.4.el5 x86_64
• 2.6.18-8.1.4.el5PAE i686
• 2.6.18-8.1.4.el5xen i686
• 2.6.18-8.1.4.el5xen x86_64
1-3
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Note: The Quick Access console is available only when you are logged on as root.
Note: If you use Internet Explorer™ 7.0, you must disable the pop-up window blocker
feature to display the Web console online help content.
• Mozilla 1.7 or higher — requires Java Runtime Environment (JRE) 1.4.2_01 (or
any release up to 1.5.0_02)
• Mozilla Firefox 1.0 or higher — requires the Java 2 Runtime Environment
1.4.2_01 (or any release up to 1.5.0_02)
1-4
Pre-Installation
Note: To register ServerProtect to the Control Manager server on your network, you need
Trend Micro Control Manager Server 3.5 with Patch 3 or above.
Activation Code
During product registration, the Registration Key is exchanged for an Activation
Code (also known as a serial number) that “unlocks” the program. You can register
and obtain the Activation Code before installing by visiting Trend Micro’s online
registration Web site at:
https://olr.trendmicro.com/redirect/product_register.aspx
Note: Some resellers may have already registered ServerProtect for you and given you
the product serial number directly.
1-5
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Note: When you upgrade ServerProtect from version 2.5 to 3.0, the installation program
automatically includes the /home directory in Manual Scan. If you want Manual
Scan to scan all directories, you must remove /home from the Manual Scan
screen in the Web console.
1-6
Chapter 2
Installation
This chapter guides you through the installation of ServerProtect on your Linux
server(s). This chapter discusses the following topics:
• ServerProtect Installer Options on page 2-2
• Local Installation Procedure on page 2-3
• Remote Installation on page 2-9
• Kernel Hook Module on page 2-16
• Verifying the Installation on page 2-19
2-1
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Note: The installer does not support the use of both the -c and -n options at the same
time.
2-2
Installation
Note: Before you install ServerProtect on your Linux computer, make sure the following
dependent libraries are installed:
- compat-libstdc++-296
- gtk2
- pango
- atk
2-3
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Note: If a message displays warning that the KHM does not support your Linux kernel,
build and install the KHM. After the KHM installation is complete, do NOT start
or restart the ServerProtect service. Then perform steps 2 and 3 as described above.
WARNING! If you use the -n option to install ServerProtect, you must manually configure
the ServerProtect service to run at system startup. You can do this by typing
“./add_splx_service” in the
/opt/TrendMicro/SProtectLinux/SPLX.util folder.
2-4
Installation
Press the [SPACE] bar to scroll to read the license. When you have finished reading,
type “yes” to accept the licensing terms. (If you do not type “yes,” installation cannot
continue.)
NOTICE: Trend Micro licenses its products in accordance with cer-
tain terms and conditions. By breaking the seal on the CD jacket
in the Software package or installing a serial number, registra-
tion key or activation code, You already accepted a Trend Micro
license agreement. A courtesy copy of a representative Trend
Micro License Agreement is included for reference below. The
language and terms of the actual Trend Micro license agreement
that you accepted may vary. By accepting the License Agreement
below, or using the Software, You confirm Your agreement to the
terms and conditions of the original Trend Micro license agreement
you accepted.
-----------------------[SNIP] -------------------------
2-5
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
prompts you to type your Activation Code. See Activating ServerProtect During
Installation on page 2-7 for further guidance on this process.
3. At the SPLX server name or IP address: prompt, type the name or IP
address of your ServerProtect server.
4. At the Do you wish to connect to Control Manager server using
HTTPS? (y/n) [n] prompt, type y to connect to Control Manager using
HHTPS; otherwise type n to use HTTP connection.
5. At the Control Manager server name or IP address: prompt, type
server name or the IP address of the Trend Micro Control Manager server that
you want to use to manage ServerProtect.
6. At the Control Manager server port: [80] prompt, type the port
number that you would like to use to access Control Manager or just press
[ENTER] to accept the default value of 80.
7. At the Do you access Control Manager through a proxy server?
(y/n) [n] prompt, type y if you do or just press [ENTER] to accept the default
choice of n. If you choose n, the installer asks you to specify the display name to
identify ServerProtect on the Control Manager Web console. If you do use a
proxy server to connect to Control Manager, see Proxy Server Information on
page 2-7 for further guidance on this process.
8. At the Please specify the name you would like to display on
the Control Manager console: [SPLX server name or IP
address] prompt, type the desired name. Control Manager will use this name
to identify your ServerProtect server on the Control Manager Web console.
9. At the Please specify a folder name for this product (for
example: /SPLX) [New entity]: prompt, type the folder path. The
installer displays a summary of the information you have entered and asks you to
confirm your choices.
10. At the Is the above information correct? (y/n) [n] prompt,
confirm or reject the displayed choices. If you type n (or just press [ENTER] to
accept the default choice of n), the installer prompts you to re-type all of the
above information, starting with the IP of your ServerProtect server. If you type y
to confirm all of the displayed information, the "Saving information to the
configuration file … done" message displays and ServerProtect asks if you
would like to type your Activation Code. See Activating ServerProtect During
Installation on page 2-7 for further guidance on this process.
2-6
Installation
Step 2. Activate
Type the Activation Code received after registration to activate
ServerProtect.
(Press [Ctrl+D] to abort activation.)
2-7
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
2-8
Installation
Remote Installation
Many ServerProtect customers install and administer ServerProtect in a centrally
managed, distributed environment. Trend Micro provids a remote installation tool
(RemoteInstall) for this reason.
RemoteInstall Features
RemoteInstall has the following features:
• Install ServerProtect on remote computers.
• Configuration file keeps account information of client computers.
• Deploy ServerProtect configuration data to target computers after product
installation.
• Deploy Kernel Hook Module (KHM) to target computers after product
installation
• Collect certain information about client environments, such as the running Linux
distribution and the Linux kernel number.
• Export configuration information to .CSV format so that in a subsequent
deployment RemoteInstall can re-use the list of computers to which the initial
deployment failed.
The following lists the steps in performing a remote installation:
1. Extracting RemoteInstall.
2. Editing a RemoteInstall configuration file.
3. Running RemoteInstall.
2-9
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
2-10
Installation
For brevity, only the most important configurable keys are listed in the table below.
For detailed explanations of keys, see the Administrator’s Guide.
Key Description
2-11
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Single Deploy
Under #single deploy in the Client assignment section of
RemoteInstall.conf are 13 configuration items that RemoteInstall must
be aware of in order to deploy successfully.
Line Description
2-12
Installation
Line Description
Group deploy
For group deployment, all of the lines are identical to those under #single
deploy except for the following.
Line Description
2-13
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Line Description
Tip: For ease of reference, Trend Micro suggests starting any group names with an
easily identifiable term, such as Sales, RD, and likewise for computer names, for
example, Server1, Server2, and so on.
To execute RemoteInstall:
1. Place the ServerProtect full binary file on the deploying server.
2. Extract RemoteInstall from the ServerProtect binary. (See Extracting
RemoteInstall From the ServerProtect Binary on page 2-9 for details.)
3. To deploy ServerProtect to multiple computers, configure the
RemoteInstall.conf file for deployment. (See Running the RemoteInstall
Tool on page 2-14 for detailed guidance on the RemoteInstall.conf file.)
4. Issue the following command at the command line:
./RemoteInstall
2-14
Installation
Parameter Description
-h Show usage
2-15
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Parameter Description
-v Show version
2. If a KHM is not available for your Linux kernel, build the KHM on your Linux
system. Refer to Building and Installing Kernel Hook Module on page A-1 for
instructions.
Note: When you upgrade the Linux kernel, you need to copy the KHM to the directory
where ServerProtect is installed.
2-16
Installation
Note: During installation, if you receive an error message that a dependent package must
be installed, install the required package before you continue.
3. KHMs are named after their corresponding kernel version. Download the KHM
package for your Linux kernel and copy the KHM package to the following
directory:
/opt/TrendMicro/SProtectLinux/SPLX.module/
4. Go to the directory shown above and extract the KHM package using the
following command:
tar xzvf {SPLX version and kernel version}.tar.gz
Tip: Trend Micro strongly recommends that you verify the MD5 checksum to
make sure the files have been downloaded and extracted intact.
2-17
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
6. After the installation, you can access the ServerProtect Web console at:
http://<host server>:14942
or
https://<host server>:14943
Make sure your Linux system port 14942 or 14943 is already open for
ServerProtect access.
2-18
Installation
Uninstalling ServerProtect
In order to remove ServerProtect, you must be logged on as root. In a terminal
window, type rpm -e SProtectLinux to stop the ServerProtect service and
remove the application.
2-19
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
2-20
Chapter 3
3-1
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
Note: The Web console automatically logs you out after 1200 seconds (or 20 minutes) of
inactivity. If this happens to you, type the password and click Logon to access the
Web console again. You can change the default timeout settings by changing the
SessionTimeout key in the Configuration group in the tmsplx.xml file
(located in the /opt/TrendMicro/SProtectLinux folder). Refer to the
Administrator’s Guide for more information.
A password is not required to access the application the first time you log on after
installing. Click Log on.
3-2
Post Installation Configuration
The Summary screen displays. This screen is the default view when the Web console
opens. If you have not registered and activated ServerProtect, the screen displays that
the product has not been activated yet.
Make selections from the left menu to navigate the user interface.
3-3
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
FIGURE 3-3. Logon screen with Mozilla browsers where Java Run-time
Environment (JRE) has not been installed
To enable the Java plug-in, go to the Mozilla plug-in directory and then create a
symbolic link to the Java plug-in. For example:
cd /usr/lib/mozilla/plugins
ln -s \
> /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32\
> libjavaplugin_oji.so libjavaplugin.so
3-4
Post Installation Configuration
change your password at a later time on this screen. See Setting Up an Administrator
Password on page 3-4 for more information.
Note: When you first log on to the ServerProtect Web console after installation, the
password is blank. (There is no default password.)
For information on how to reset the password from the command line, see the
description of the -f option for the splxmain command in the Administrator’s
Guide.
To configure proxy settings for World Virus Tracking and License update:
1. Click Administration > Proxy Settings. The General screen displays:
2. Select the Use a proxy server to access the Internet check box.
3. Select HTTP, SOCKS4, or SOCKS5 in the Proxy Protocol field.
4. In the Server name or IP address field, type the IP address or host name of the
proxy server.
5. In the Port field, type the proxy server listening port number.
6. If you are using an optional proxy authentication user ID and password, type this
information in the User name and Password fields.
7. Click Save.
3-5
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
Tip: Trend Micro recommends that you update the virus and spyware pattern files and
scan engine immediately after installation. If you use a proxy server to access the
Internet, configure your proxy server settings first, before updating the scan
engine and pattern file.
3-6
Post Installation Configuration
2. Select Same as General to use the same proxy server setting you configure in
the General screen.
• Select Customize to configure the proxy settings.
• Select Use proxy server to access the Internet if you want to use a proxy
server for component update. Then continue to Step i.
Clear the Use proxy server to access the Internet check box if you do not
want to use a proxy server for component updates. For example if the update
server is located within your company network. Then skip to Step 3.
i. Select HTTP, SOCKS4, or SOCKS5 in the Proxy protocol field.
ii. In the Server name or IP address field, type the IP address or host
name of the proxy server.
iii. In the Port field, type the proxy server listening port number.
iv. If you are using an optional proxy authentication user ID and password,
type this information in the User name and Password fields.
3. Click Save.
3-7
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
Registering ServerProtect
Trend Micro provides all registered users with technical support, virus pattern
downloads, and program updates for a specified period (depending on the Activation
Code) after which you must purchase renewal maintenance to continue receiving
these services. Register ServerProtect to ensure that you are eligible to receive the
latest security updates and other product and maintenance services. You can register
ServerProtect during or after installation.
When you purchase ServerProtect, you will receive a Registration Key or serial
number (also referred to as an Activation Code) from Trend Micro or your reseller.
Note: Some resellers may have already registered ServerProtect for you and given you
the product Activation Code directly.
If you already have a ServerProtect Activation Code, follow the instructions in
Activating ServerProtect on page 3-11 to activate ServerProtect.
3-8
Post Installation Configuration
3. Click the regsiter online link. The Online Registration page of the Trend Micro
Web site opens in a secondary browser window.
3-9
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
4. If you are an existing customer and you already have a customer logon ID and
password, type your logon ID and password on the left side of the screen and
click Login. If you are not a registered user, click Continue on the right side of
the screen.
5. In the Enter Registration Key page, type or copy the ServerProtect Registration
Key, and click Continue.
6. On the Confirm License Terms page, read the license agreement and then click I
accept to agree to the terms of the license agreement.
7. On the Confirm Product Information page, click Continue Registration.
8. Follow the prompts to complete the online registration form, and then click
Submit.
9. Click OK twice. After the registration is complete, Trend Micro sends you a an
Activation Code by email. You can activate ServerProtect using that number.
3-10
Post Installation Configuration
Activating ServerProtect
You can activate ServerProtect in one of the following ways:
• During the installation process
• Using the Product Registration screen in the Web console
• Type the following command in the
/opt/TrendMicro/SProtectLinux/SPLX.vsapiapp folder:
./splxmain -q
Trend Micro recommends that you activate ServerProtect during installation. Refer
to Activating ServerProtect on page 3-11 for more information.
3-11
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
If you are given an Activation Code that enables all ServerProtect features for a trial
period, the Product Registration screen displays Trial in the Version field. The
following shows an example screen.
To upgrade ServerProtect to the full, licensed version, register and activate the
product. Use the Registration Key included in the ServerProtect package or purchase
one from your Trend Micro reseller to obtain an Activation Code (also known as a
3-12
Post Installation Configuration
3-13
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
Updating Components
Perform manual or scheduled virus pattern, spyware pattern and scan engine file
updates to ensure up-to-date virus/malware or spyware protection.
To update components:
1. Display the Manual Update (click Update > Manual Update) or Scheduled
Update screen (click Update > Scheduled Update).
2. Select the Component check box.
3. Click Save.
3-14
Post Installation Configuration
The test virus is not a virus and does not contain any program code; it will cause no
harm and it will not replicate.
Alternatively, you can create your own EICAR test file by typing or copying the
following characters into a text file, and then save the file with a com extension (for
example, virus.com):
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
You may need to disable HTTP scanning, if any, before downloading the file. Include
the test file as an email attachment to test SMTP scanning, and to check FTP and
HTTP file transfers, for example, if you have Trend Micro InterScan VirusWallTM
installed on the network.
For either option, the mere downloading or creation of the file should be enough to
trigger real-time scanning.
3-15
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
3-16
Appendix A
A-1
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
Introduction
Kernel Hook Module (KHM) is a kernel module for ServerProtect and it supports the
real-time scan feature. You can use the same general procedure for building a kernel
module to build the KHM on your Linux system. Command line examples are
provided in this document.
The following is an overview of the process:
Step 1. Determine your Linux kernel version and architecture
Step 2. Prepare the kernel source
Step 3. Configure the kernel source
Step 4. Build the KHM
Step 5. Test the KHM
Step 6. Install the KHM
Step 7. Restart ServerProtect
Requirement
To build the KHM successfully, you need the following:
• root access to the Linux system
• GCC
• GNU Make
• the corresponding kernel source and configuration file for your running kernel
A- 2
Building and Installing Kernel Hook Module
Installation
Step 1. Determine your Linux kernel version and architecture
Use the following command to determine the kernel version of your Linux system:
uname -r
Note: You can also obtain the same information on the Summary screen in the
ServerProtect Web console.
A-3
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
• kernel-hugemem-devel
• kernel-smp-devel
Note: To check if you have already installed one of these packages, see #1 in
Troubleshooting for more information.
Type the following command to install the RPM package. The package you choose to
install depends on your running kernel version.
rpm -ivh <rpm package name>
Example:
If your running kernel version is “2.6.9-5.EL” and the kernel architecture is
“i686”, type the following:
rpm -ivh kernel-devel-2.6.9-5.EL.i686.rpm
In addition to using the command line, you can use one of the following methods to
install the packages:
• Linux desktop environment (for example in GNOME, click Application >
System Settings > Add/Remove Program).
• the up2date program
For SUSE Linux Enterprise Server/Desktop:
Make sure you have installed the following RPM packages on your Linux system:
• kernel-source
• kernel-syms
Note: To check if you have already installed one of these packages, see #1 in
Troubleshooting for more information.
A- 4
Building and Installing Kernel Hook Module
For example:
If your running kernel version is “2.6.16.27-0.6-default”, type the following:
rpm -ivh kernel-source-2.6.16.27-0.6.i586.rpm
rpm -ivh kernel-syms-2.6.16.27-0.6.i586.rpm
You can also use the YaST tool to install the packages.
For the customized kernel you built yourself
Make sure the kernel source is configured and prepared correctly with your running
kernel version.
Generally, you can do this by copying the configuration files from the /boot
directory to the kernel source directory (eg. /usr/src/linux-<Kernel
Version>) and type the make oldconfig” and make modules_prepare
commands:
cp /boot/config-<Kernel Version> /usr/src/linux-<Kernel
Version>/.config
cd /usr/src/linux-<Kernel Version>
make oldconfig
make modules_prepare
Then, type the following command in your kernel source directory to display the
configuration UI.
make menuconfig
In the Kernel Hacking menu, locate Compile the kernel with debug info. If an
asterisk appears before this item, press “N” on the keyboard to clear the asterisk.
Then exit the configuration UI and save the settings.
A-5
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
WARNING! Clear only the Compile the kernel with debug info option in the
configuration UI. Do NOT change other options; otherwise you may
encounter kernel panic while using the KHM.
Note: If you experience problems using the “make menuconfig” command, the “ncurses”
package may not be installed in your Linux system. Do one of the following:
- Install the package: you can obtain the package from the Linux installation CD or
download it from your Linux vendor’s web site.
- Modify the .config file in the kernel source directory: change
CONFIG_DEBUG_INFO=y to CONFIG_DEBUG_INFO=n in the file.
After the configuration, type the following command to prepare the source for kernel
module compilation:
make modules_prepare
Note: For x86_64 architecture, if the build process is not successful, see #6 and #7 in
Troubleshooting for more information.
Go to the directory where the KHM source is located (the default location is
/opt/TrendMicro/SProtectLinux/SPLX.module/src/module).
Use the make command to generate a new KHM.
cd /opt/TrendMicro/SProtectLinux/SPLX.module/src/module
make
You can ignore the warning messages during the build process. If the build process is
successful, a KHM with the file name splxmod-<Kernel Version>.<Arch>.o
will be generated in the bin directory.
A- 6
Building and Installing Kernel Hook Module
Note: Trend Micro recommends performing this KHM test before installing it to your
computer. This prevents you from installing a non-working KHM in your Linux
computer, causing the computer to hang after every system reboot.
Before you perform the KHM test, stop the ServerProtect services.
/etc/init.d/splx stop
Type the following command to perform a basic functional test for the KHM you
have just built. This test should take less than 5 seconds. If the test takes longer than
5 seconds, this indicates that your system has stopped responding.
make test
WARNING! This test script will only perform basic tests to ensure that the KHM MAY
work. A successful test result does NOT guarantee that the KHM can work
properly under all circumstances. During the KHM test, your system may
hang or you may experience a kernel panic. Trend Micro recommends
performing this operation on a test computer.
A-7
Trend Micro™ ServerProtect™for Linux 3.0 Getting Started Guide
A- 8
Appendix B
B-1
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
Troubleshooting
The following section provides tips for dealing with issues you may encounter when
using ServerProtect for Linux.
If a required package is not installed, obtain the package from your Linux vendor’s
website or the installation source (such as CD-ROMs) and install it.
2. I am using a kernel which is I custom built and I have the kernel source, but the
“Unable to locate source package” message still displays after I typed
the “make” command.
B- 2
You can try copying your kernel source or creating symbolic links to the
/usr/src/linux-<Kernel Version> directory and try the make command
again.
3. The test program displays a “Cannot find ... symbol in System.map”
message.
For the KHM to work properly, it must obtain certain symbol addresses from
/boot/System.map-<Kernel Version>. If this file is not found, the KHM will
not work properly. If the file does not exist, you may need to rebuild your Linux
kernel to get this file.
4. What should I do if the KHM build process failed?
First, visit the Trend Micro website to see if the KHM for your Linux system is
available. If so, download the KHM to use it.
You can check if Trend Micro has updated the KHM source code on the Trend Micro
website. Since the Linux kernel is updated regularly, Trend Micro will also update
the KHM source code for it to work with the new Linux kernel.
Since the KHM code is published under GPL, you can also try to fix the problem
yourself by modifying the source code.
5. What should I do if the test program crashes/hangs or if the “Cannot remove
KHM from kernel” message displays?
First, reboot your system and then visit the Trend Micro website to see if the KHM
for your Linux system is available. If so, just download the KHM to use it.
You can check if Trend Micro has updated the KHM source code on the Trend Micro
website. Since the Linux kernel is updated regularly, Trend Micro will also update
the KHM source code for it to work with the new Linux kernel.
Since the KHM code is published under GPL, you can also try to fix the problem
yourself by modifying the source code.
6. The make program displays a warning message indicating that it was unable to
locate a required .S source file. (For x86_64 architecture only)
If you have to build a KHM for systems with x86_64 architecture, you need two extra
ASM files for the compilation process. We have provided the ASM files for kernel
versions 2.6.9, 2.6.16, and 2.6.18. If you have a running kernel version other than
these, you need to create your own ASM files by following the steps below:
B-3
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
a. Make sure you have the kernel source for your running kernel. (For Red Hat
Enterprise Linux, the kernel-devel package is not enough.)
b. In the
/opt/TrendMicro/SProtectLinux/SPLX.module/src/module/bin
/kernel directory, create two new files with the name
x86_64_execve_entry.<kernel version>.S and
ia32_execve_entry.<Kernel Version>.S.
c. Type your code in these files based on the
arch/x86_64/kernel/entry.S and
arch/x86_64/ia32/ia32entry.S files in your kernel source directory.
Follow the examples provided in the bin/kernel KHM source directory to
change the code in the files.
7. The make process displays a warning message indicating that it is unable to find
the phys_base or change_page_attr_addr in System.map. (For x86_64
architecture only)
For kernel versions later than 2.6.18 (eg. Red Hat Enterprise Linux 5), the kernel sets
the sys_call_table memory page to read-only. In order to change the system call
table attribute, some functions used are not exported in the kernel. The script in
Makefile will try to locate the addresses of the two functions phys_base and
change_page_attr_addr and add them in the bin/modreg.c file. The following
shows the line examples:
#define PHYS_BASE 0xffffffff8034ce78
#define CHANGE_PAGE_ATTR_ADDR 0xffffffff8007dd22
If the make process warns that it is unable to find the addresses, please check if the
System.map file corresponding to your running kernel exists in
/boot/System.map-<Kernel Version>. If not, you may need to recompile your
kernel to get this file.
8. After installing the KHM, the Linux computer hangs after a system reboot.
B- 4
This problem may be caused by the installed KHM that you have not tested to verify
whether it can run properly in your Linux computer Follow the steps below to solve
this problem:
a. Reboot your Linux computer and enter the “init 1” mode (you can do this
by changing the kernel boot up parameter in the boot loader, such as
GRUB).
b. Type the following command to remove the KHM in the
/opt/TrendMicro/SProtectLinux/SPLX.module directory:
rm /opt/TrendMicro/SProtectLinux/SPLX.module/splxmod-‘uname
-r‘. ‘uname -m‘.o
c. Reboot your computer again. The Linux system should start without any
problems. However, since there is no KHM installed, ServerProtect
real-time scan is not enabled. To enable real-time scan, build the KHM
again.
To avoid this problem, Trend Micro recommends you perform “make test”before
installing the newly built KHM.
Default Password
ServerProtect does not have a default password. Trend Micro strongly advises you to
set one immediately after installation.
Debug Logs
Refer to the Administrator’s Guide for more information on debug logging.
ServerProtect provides the following debug options:
B-5
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
To locate the Trend Micro office nearest you, visit the following URL:
B- 6
http://www.trendmicro.com/en/about/contact/overview.htm
To speed up the problem resolution, when you contact our staff please provide as
much of the following information as you can:
• Product Activation Code
• ServerProtect Build version
• Exact text of the error message, if any
• Steps to reproduce the problem
Please include in the message text a brief description of the symptoms you are
experiencing. Our team of virus/malware engineers will “dissect” the file to identify
and characterize any viruses it may contain and return the cleaned file to you, usually
within 48 hours.
About TrendLabs
TrendLabsSM is Trend Micro’s global infrastructure of antivirus research and product
support centers that provide up-to-the minute security information to Trend Micro
customers.
The “virus doctors” at TrendLabs monitor potential security risks around the world,
to ensure that Trend Micro products remain secure against emerging threats. The
daily culmination of these efforts are shared with customers through frequent virus
pattern file updates and scan engine refinements.
TrendLabs is staffed by a team of several hundred engineers and certified support
personnel that provide a wide range of product and technical support services.
Dedicated service centers and rapid-response teams are located in Tokyo, Manila,
Taipei, Munich, Paris, and Lake Forest, CA, to mitigate virus/malware outbreaks and
provide urgent support.
B-7
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
TrendLabs’ modern headquarters, in a major Metro Manila IT park, has earned ISO
9002 certification for its quality management procedures in 2000—one of the first
antivirus research and support facilities to be so accredited. Trend Micro believes
TrendLabs is the leading service and support team in the antivirus industry.
Consult the Trend Micro Web site regularly to download patches and service packs:
http://www.trendmicro.com/download
All releases include a readme file with the information needed to install, deploy, and
configure your product. Read the readme file carefully before installing the hot fix,
patch, or service pack file(s).
B- 8
Known Issues
Known issues are features in your ServerProtect software that may temporarily
require a workaround. Known issues are typically documented in section 9 of the
Readme document you received with your product. Readme’s for Trend Micro
products can also be found in the Trend Micro Update Center:
http://www.trendmicro.com/download/
Note: Trend Micro recommends that you always check the Readme text for information
on known issues that could affect installation or performance, as well as a
description of what’s new in a particular release, system requirements, and other
tips.
B-9
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
B-10
Index
Index G
Getting Started Guide P-2
H
Symbols Hardware requirements 1-2
1-2, 1-4–1-5, 2-3–2-4, 2-6, 2-8–2-14, 2-16–2-19, 3-2, CPU 1-2
3-4–3-5, 3-8–3-9, 3-11, 3-14–3-16 Disk space 1-2
/etc/init.d/splx status 2-19 Memory 1-2
Hot fix B-8
A
Accessing the Web console 2-18, 3-2 I
Activate the product 2-7 Installation 2-1
Activating the product 3-11 Verifying 2-19
Activation Code 1-5, 3-8 Installation method 1-5
Administrator password
Resetting 3-5 Local installation 2-3
Setting 3-4 Remote 2-9
Audience P-2
J
C Java plug-in warning 3-4
Component update 3-14 Java plug-in, enable 3-4
Configuration file 2-9 Java Runtime Environment (JRE) 1-4
ConfigFilePath 2-11
group deploy 2-14 K
RemoteInstall tool directories and files 2-10 Kernel Hook Module 2-16
single deploy 2-13 Extracting package 2-17
Control Manager Installation 2-17
Folder name 2-6 Kernel Hook Module (KHM) 2-16
Product display name 2-6 KHM.module/ 2-10
Proxy setting 2-6 Knowledge Base P-2, B-6, B-8–B-9
Server IP address 2-6 Known issues B-9
Server port 2-6 URL for Knowledge Base describing B-9
URL for readme documents describing B-9
D Konqueror Desktop Environment 1-4
Debug logs
Location 3-16 L
Default password B-5 Logon
Document conventions P-3 screen 3-4
Documentation set P-2 Logon session control 3-2
E M
End user license agreement 2-4 Man pages P-2
European Institute of Computer Antivirus Research
(EICAR) 3-14 O
Online help P-2
I–1
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
P Subdirectory 2-10
Password RemoteInstall 2-10
default B-5 RemoteInstall.conf
incorrect B-5 keys 2-11
rejected B-5 RemoteInstall.conf 2-10
Patch B-8 RemoteInstall.csv 2-10
Patent No. 1-ii
Preface P-1
S
Pre-installation Security patch B-8
ServerProtect 2-18
Information you may need 1-4
Service pack B-8
Pre-installation steps 1-1
Product license 2-7 Skip product activation 2-8
Software requirements 1-2
Proxy servers 1-4
Supported distributions and kernels 1-2
Proxy setting 3-5
Component update 3-6 Supported Web browsers 1-4
Supported X Windows desktop environement 1-4
General 3-5
Software updates B-8
Q hot fix B-8
Quick Access console 1-4 patch B-8
security patch B-8
R service pack B-8
Readme file P-2 Start services 2-17
Real-time Starting ServerProtect services 2-17
scan 3-3 syslog-ng 3-15
Register to Control Manager 2-5 syslog-ng.conf 3-15
Registration System requirements 1-2
Product 3-9 Hardware 1-2
Registration key 3-8 Software 1-2
Remote installation
Default configuration file 2-10 T
Deploy the KHM 2-18 Test virus 3-14
Group deployment 2-13 tmsplx.xml 2-10
Single deployment 2-12 tmsplx.xml.template 2-10
Specify clients 2-12 Trend Micro Control Manager 1-4
remote.install.splx 2-10 TrendLabs B-7
RemoteInstall Troubleshooting B-2
conf keys 2-11
Convert CVS-formatted files 2-11
U
Uninstallation 2-19
Extracting 2-9
Update Center P-3
Features 2-9
group deploy 2-13 Upgrading from Previous Versions 1-5
Upgrading from previous versions 1-5
Options 2-15
Upgrading to the full version 3-11
parameters 2-16
Result files after execution 2-14 URLs
Knowledge Base containing known issues B-9
Running 2-14
readme documents containing known issues B-9
I–2
Index
I–3
Trend Micro™ ServerProtect™ for Linux 3.0 Getting Started Guide
I–4