Support articles

Other WithSecure Products

  • How to locally disable real-time scanning for Linux Security 64?

    Read more
    Issue:

    How do I locally disable real-time scanning for Linux Security 64?

    Resolution:

    Use this command to locally disable / enable the real-time scanning in LS64

    To enable: /opt/f-secure/linuxsecurity/bin/lsctl set oas disabled false
    To disable: /opt/f-secure/linuxsecurity/bin/lsctl set oas disabled true

    Configuring settings with the lsctl utility | Linux Security 64 | Latest | WithSecure User Guides

  • Unable to connect to Policy Manager Server via the Policy Manager console

    Read more
    Issue:

    Unable to connect to Policy Manager Server via the Policy Manager console. 
    ​

    Resolution:

    If logging in to Policy Manager Console fails, make sure that the WithSecure Policy Manager (wspms) service is running. If it is not running, check the fspms-service.log if you see the following is logged repeatedly in:

    [ERROR]    Server process crashed, exit code was 1

    This suggest that the Policy Manager Java process crashes at startup, which could stop the Policy Manager admin to logon to the Policy Manager Console since the Policy Manager Server service is not running. 

    You would need to make sure that the listening ports used by Policy Manager Server service are not in use by any other process. This is the most common reason why the Policy Manager Server service (wspms) fails to start. 

    1. Open a Command Prompt and run the command "netstat -anb" to check and ensure that there is no port conflict present by checking that no other process that is currently using the default 80 and 443 ports that Policy Manager Server service will try to use as listening ports. Alternatively, look into netstat-anb.log in the wsdiag. 

    If the issue happens due to port conflicts, you should as first choice either stop the conflicting service or reconfigure it to use another port. As a second choice, you may consider changing the host module's port numbers from 80 and 443 to other available ports, such as 85 and 455 by using these steps:

    1. Stop the Policy Manager Server service (net stop wspms)
    2. Open the Registry Editor
    3. Navigate to HKLM\Software\WithSecure\Policy Manager\Policy Manager Server
    4. Modify the values of HttpPortNum and HttpsPortNum to the new ports (e.g., 85 and 455).
    5. Start the Policy Manager Server service (net start wspms)

    Remember to configure the clients to connect to the new port. 

    If no port conflict is present, move to the next step. 

    2. Stop the Policy Manager Server service, and backup the H2DB folder in the directory: C:\ProgramData\WithSecure\NS\Policy Manager\Policy Manager Server\Data\

    3. Run the H2DB recovery tool (fspms-db-recover.bat), and the database maintenance tool (fspms-db-maintenance-tool.exe) to fix the potential corruption in the H2DB. You can find the tools in the directory,C:\Program Files\WithSecure\Policy Manager\Policy Manager Server\bin\ where Policy Manager Server is installed.

    NOTE: Refer to README-recover-db.txt in the same directory on how to use the H2DB recovery tool.

    If none of the above-mentioned help, proceed to re-install the Policy Manager Server on top of the existing installation.

     

    If the h2database.log has a number of errors similar to the following:

    ERROR [h2database] - fspms:jdbc[10] exception
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsException"; SQL statement:
    SELECT oid_id, value FROM status WHERE domain_id=? [50000-164]

    Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8000 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

    To resolve the issue, we can do the following:

    1. Stop the WithSecure Policy Manager service (net stop wspms)
    2. Back up the H2DB located at: C:\ProgramData\WithSecure\NS\Policy Manager\Policy Manager Server\data
    3. Run the database maintenance tool, fspms-db-maintenance-tool.exe located at: C:\Program Files\WithSecure\Policy Manager\Policy Manager Server\bin
    4. Start the WithSecure Policy Manager service (net start wspms)
    5. Try logging in to the Policy Manager Console again
  • How can I exclude a file or folder from real-time scanning from the local Client Security or Server Security user interface?

    Read more
    Issue:

    How can I exclude a file or folder (object) from real-time scanning from the local Client Security or Server Security user interface?

    Resolution:

    Follow these steps to create a real-time scanning exclusion:

    1. Open the Client Security  or Server Security user interface
    2. Go to Settings 
    3. Go to the Malware Protection settings page
    4. In the Real-time scanning section, click View quarantine
    5. Go to the Excluded tab
    6. Click Add new 
    7. Enter the file or folder path

    Note: this will also exclude the file or folder path from all security scans, including: Real-time scanning, DeepGuard, Web Traffic Scanning (Advanced Network Protection), Connection Control

  • Where to configure HTTP Proxy configuration for Policy Manager For Linux

    Read more
    Issue:

    Where to configure HTTP Proxy configuration for Policy Manager For Linux?

     

    Resolution:

    The proxy configuration file path for Linux is: 

    /var/opt/f-secure/fspms/data/fspms.proxy.config

    Policy Manager service restart is required after changing fspms.proxy.config.

    # /etc/init.d/fspms stop
    # /etc/init.d/fspms start
    
  • Linux Security 64 Real-time scanning action "Do Nothing" is still preventing access to detected file

    Read more
    Issue:

    We have for Linux Security 64 set the Real-time scanning Action for Malware, Action for Potentially Unwanted Applications and Action for suspicious files as  "Do nothing" when there is a detection.

    We expected that in that case Linux Security 64 would only report the finding to Policy Manager Console. But in fact, Linux Security 64 will not only report the finding, but it will also prevent access to the detected file. 

    Resolution:

    When Linux Security 64 real-time scanning detects a file, even if the action is set as "Do nothing", it will indeed block access to the file. This is the intended behavior or logic of the function. 

    The workaround is to create either a file or folder exclusion if you need to be able to access the detected file. 

    You can create a file or folder exclusion for Linux Security 64 using the Policy Manager Console:

    1. Log in to the Policy Manager Console
    2. Select a host or policy domain from the domain tree
    3. Go to the Settings tab
    4. Navigate to Linux > Real-time scanning
    5. In the Files to scan section, add the file or folder path to the Files and folders excluded from scanning list
    6. Distribute the policy (Ctrl + D) 
  • Can we use HTTP proxy to install Linux Security 64?

    Read more
    Issue:

    Linux Security 64 and Policy Manager Server are located on different networks, therefore HTTP proxy would be needed during installation. How to set HTTP proxy when installing Linux Security 64?

    Resolution:

    Linux Security 64 product has a single, global HTTP proxy setting, which is always used when the product makes HTTP requests to external services.

    You can configure the global HTTP proxy setting using a command line option either when activating the product or with the lsctl utility after you have activated the product.

    If you use the command line option to define the product settings, the product saves the configuration as a local setting override. This means that once you have finished activating the product, you can view the settings with the following command: lsctl get http_proxy.

    Local overrides take precedence over the configuration that is retrieved from remote management services (WithSecure Elements Endpoint Protection or Policy Manager). To configure the proxy settings remotely, you have to mark the setting as locked in the management service. When the setting is locked, the value set in the profile or policy that is distributed from the management service is always used, even if a local configuration exists.

    You can also change the proxy settings in the Policy Manager Console. The global HTTP proxy setting does not affect communication with Policy Manager.

    When you use Policy Manager to manage the product, updates are downloaded from Policy Manager Server. The global HTTP proxy setting does not affect this communication either.

    You can define one or more Policy Manager Proxies in Policy Manager Console. If you have defined a Policy Manager Proxy, this is used to handle the communication with Policy Manager. If you configure multiple Policy Manager Proxies, the product automatically switches to using the next available proxy if the connection with one proxy fails.

    As the product must retrieve the Policy Manager Proxy configuration from Policy Manager Server, it must be able to make an initial connection to the main Policy Manager Server to get the proxy configuration.

    If the product cannot connect to Policy Manager Server when trying to download updates, it falls back to using the WithSecure update servers directly. This communication does not use a HTTP proxy.

     

    1. 1. Set the HTTP proxy:
      • To set the proxy when you run the activation or installer command, include the --http-proxy option in the command:

      --http-proxy=<host address>:<host port number>

       
    2. Note: The product supports basic authentication for HTTP proxies. If the specified proxy requires authentication, use the --http-proxy=username:password@host:port format to specify the credentials for the proxy.
      • To set the proxy after activation, run the following lsctl commands:

      /opt/f-secure/linuxsecurity/bin/lsctl set http_proxy host <host address>
      /opt/f-secure/linuxsecurity/bin/lsctl set http_proxy port <host port number>
      /opt/f-secure/linuxsecurity/bin/lsctl set http_proxy enabled true

    3. Run the following command to check the proxy setting: /opt/f-secure/linuxsecurity/bin/lsctl get http_proxy

    This returns the current settings:

    {
    "enabled": true,
    "host": <host address>,
    "port": <host port number>
    }

  • Where can I get separately available fspm-definitions-update-tool for Linux Security 64?

    Read more
    Issue:

    Where can I get separately available stand-alone Linux version of fspm-definitions-update-tool for Linux Security 64? I need the Linux version of fspm-definitions-update-tool for creating update archives for isolated deployments of Business Suite Linux Security 64. 

    Resolution:

    The stand-alone Linux version of fspm-definitions-update-tool is available in the WithSecure Download Center on the Linux Security 64 page. https://www.withsecure.com/en/support/product-support/business-suite/linux-security

    The Policy Manager User Guide includes instructions on how to use the fspm-definitions-update-tool: Updating malware definitions in isolated networks | Policy Manager | 16.10 | WithSecure User Guides 

  • How to check Policy Manager Server alias for CA certificate ?

    Read more
    Issue:

    How to check Policy Manager Server alias for CA certificate ?

    Resolution:

    You can open a Command Prompt with administrator privileges and navigate to the following folder: C:\Program Files\WithSecure\Policy Manager\jre\bin

    Then run command: keytool.exe -list -storetype pkcs12 -keystore c:\test\keystore.p12 -v

    This command lists the contents of a PKCS#12 keystore file and prints full details for each entry.

    First you’ll get the keystore type, provider, and number of entries. Then, for each entry:

    • The alias (the name the entry is stored under)
    • The entry type, such as PrivateKeyEntry (a private key plus its certificate chain) or trustedCertEntry (a certificate only)
    • The creation date
    • The certificate chain length
    • For each certificate: owner and issuer (distinguished names), serial number, validity dates, SHA-1 and SHA-256 fingerprints, signature algorithm, public key algorithm and size, and any extensions such as Subject Alternative Names and key usage

     

  • How to move Policy Manager Server location to other drive and path from default location?

    Read more
    Issue:

    How to move WithSecure Policy Manager Server location to other drive and custom path from the default location?

    Resolution:
    To change the location of Policy Manager Server data, you can follow the steps below:
    1. Stop the Policy Manager Server service (net stop wspms)
    2. Open the Windows Registry Editor (regedit)
    3. Navigate to HKLM/SOFTWARE\WithSecure\Policy Manager\Policy Manager Server\
    4. Open ApplicationDataDirectory
    5. Check the path from the value data and backup the folder
    6. Change the value to the location where you want Policy Manager Server to save the data
    7. Copy the backed up data to the new path which you entered in the ApplicationDataDirectory value data field
    8. Start the Policy Manager Server service (net start wspms)
    Now the Policy Manager Server data is saved to the new location. 
     
    The same move can be done for Policy Manager Console, but the registry path is HKLM/SOFTWARE\WithSecure\Policy Manager\Policy Manager Console\
  • How to check if a scheduled scan has completed in Linux Security 64?

    Read more
    Issue:

    How to check if a scheduled scan has finished in Linux Security 64?

    Resolution:

    A scan report will be created in Policy Manager Console > Scan Report tab. 
    There's no scan result report generated in Linux Security 64 side.

    Detections will be logged in /var/log/messages.

    Scan log of schedule scanning is logged in access.log as well as real-time scanning and manual scanning.

    On a Linux workstation or server locally,  Business Suite Linux Security 64 output to the system log the scan settings, when the scan has started and when the scan has ended. System log location depends on the Linux distro being used:

    • /var/log/syslog 
    • /var/log/journal
    • /var/log/messages

    The scheduled scan start and finish logs come from the scand process while the scan settings logs come from the lspmd process.

     

    Below you can see an example of the timestamps of past scheduled scans that are listed in a system log.

     

    • lspmd [1930]: report {source=scheduled scan] scan schedule changed; schedule={"hour":15,"minute":10,"days":["friday"]}
    • scand [5243]: report [source=scheduled scan]: scan started
    • scand[5243]: report [source=scheduled scan]: scan finished

     

    For example, on a Ubuntu Linux installation you can easily list the scan settings and the scan start and finish times by using the following terminal command:

    • grep "scheduled scan" /var/log/syslog