NetBackup™ Security and Encryption Guide
- Read this first for secure communications in NetBackup
- Communication failure scenarios
- Increasing NetBackup security
- Security deployment models
- Auditing NetBackup operations
- About audit events
- Section I. Identity and access management
- About identity and access management
- AD and LDAP domains
- Access keys
- API keys
- Auth.conf file
- Role-based access control
- Default RBAC roles
- NetBackup interface access for OS Administrators
- Smart card or digital certificate
- Single Sign-On (SSO)
- NetBackup Access Control Security (NBAC)
- Configuring NetBackup Access Control (NBAC)
- Configuring Access Control host properties for the primary and media server
- Access Control host properties dialog for the client
- Troubleshooting Access Management
- Windows verification points
- UNIX verification points
- Verification points in a mixed environment with a UNIX primary server
- Verification points in a mixed environment with a Windows primary server
- About determining who can access NetBackup
- Viewing specific user permissions for NetBackup user groups
- Configuring multifactor authentication
- Configuring multi-person authorization
- Section II. Encryption of data-in-transit
- NetBackup CA and NetBackup certificates
- About the Security Management utilities
- About host management
- Adding shared or cluster mappings
- Allowing or disallowing automatic certificate reissue
- About global security settings
- About host name-based certificates
- About host ID-based certificates
- Using the Certificate Management utility to issue and deploy host ID-based certificates
- About NetBackup certificate deployment security levels
- Setting up trust with the primary server (Certificate Authority)
- About reissuing host ID-based certificates
- About Token Management for host ID-based certificates
- About the host ID-based certificate revocation list
- About revoking host ID-based certificates
- Host ID-based certificate deployment in a clustered setup
- About deployment of a host ID-based certificate on a clustered NetBackup host
- Migrating NetBackup CA
- Configuring data-in-transit encryption (DTE)
- Configure the DTE mode on a client
- Modify the DTE mode on a backup image
- How DTE configuration settings work in various NetBackup operations
- External CA and external certificates
- About external CA support in NetBackup
- Configuration options for external CA-signed certificates
- ECA_CERT_PATH for NetBackup servers and clients
- About certificate revocation lists for external CA
- About certificate enrollment
- Configure an external certificate for the NetBackup web server
- About external certificate configuration for a clustered primary server
- Regenerating keys and certificates
- NetBackup CA and NetBackup certificates
- Section III. Encryption of data at rest
- Data at rest encryption security
- About NetBackup client encryption
- Configuring standard encryption on clients
- About configuring standard encryption from the server
- Configuring legacy encryption on clients
- About configuring legacy encryption from the client
- About configuring legacy encryption from the server
- Additional legacy key file security for UNIX clients
- NetBackup key management service
- About FIPS enabled KMS
- Installing KMS
- Configuring KMS
- About key groups and key records
- Overview of key record states
- Configuring NetBackup to work with KMS
- About using KMS for encryption
- KMS database constituents
- Command line interface (CLI) commands
- About exporting and importing keys from the KMS database
- Troubleshooting KMS
- External key management service
- Configuring KMS credentials
- Configuring KMS
- Creating keys in an external KMS
- Working with multiple KMS servers
- Data at rest encryption security
- Ciphers used in NetBackup for secure communication
- FIPS compliance in NetBackup
- Disable FIPS mode for NetBackup
- NetBackup web services account
- Running NetBackup services with non-privileged user (service user) account
- Running NetBackup commands with non-privileged user account
- Immutability and indelibility of data in NetBackup
- Anomaly detection
- Section IV. Malware scanning
- Introduction
- Malware tools
- Configurations
- Performing malware scan
- Managing scan tasks
- Malware scan configuration parameters
Prerequisites for a scan host
A scan host is a host machine that has the required malware tool configured. Once it is integrated with NetBackup, NetBackup initiates scanning on the scan host.
Ensure that you meet the following prerequisites:
The minimum required configuration for the scan host is 8 CPU and 32-GB RAM.
The malware tool must be installed and configured.
For the supported operating systems of the scan host, refer Software Compatibility List.
The scan host must have a share type configured, that is, an NFS or SMB client.
NetBackup footprint is not required on the scan host. The existing systems with the NetBackup client or media server can be used as scan host, too.
The scan host must be reachable from the media server over SSH.
Note:
SSH connection to scan host from the media server must be successful.
The malware tool extracts the archives to a temporary location for scanning purposes.
Linux scan host:
/tmp
is usedWindows scan host:
%TEMP%
is usedFor archive scanning purposes, it is recommended to have free disk space of 10 GB on scan host.
Note:
Any other malware scanners installed on scan host with on-access/real time protection enabled can interfere with backup scanning. Hence it is advised to disable or add NFS/SMB mounts on the scan host to exclusion list of the scanner.
For example, on Windows scan host, user must disable the
option of the Windows Defender while malware scan is in progress.For supporting non-English characters on Windows scan host, enable multibyte characters support.
For more information on enabling multibyte characters support in Microsoft Windows Server 2019, refer to Retrieve Data in UTF-8 on Windows.
Depending on the platform, perform the following:
(For Windows)
OpenSSH must be configured on windows scan host. Create the firewall rule for OpenSSH so that scan host is accessible from media server.
Note the following:
For Windows 2016, get OpenSSH from GIT hub repository and for Windows 2019, enable OpenSSH server feature. For more details, refer to Microsoft documentation.
Microsoft Visual C/C++ Redistributable is an additional dependency if media server is updated to 10.1.1 and above.
Visual C/C++ run-time library DLL is required to execute nbmalwareutil utility on windows scan host. The runtime DLL can be obtained from Microsoft Visual C++ Redistributable latest supported downloads.
(For Linux)
For Linux scan host default login shell must be bash.
For NetBackup malware detection utility to execute on scan host, install
libnsl.so.1
library on scan host. If the latest version oflibnsl
library file is present (for example,/usr/lib64/libnsl.so.2
), then create a softlink file/usr/lib64/libnsl.so.1
which points to/usr/lib64/libnsl.so.2
file.Example for creating softlink file:
# cd /usr/lib64 # ln -sf libnsl.so.2 libnsl.so.1
Note:
For assistance on installing
libnsl
* library file, contact operating system administrator.For non-administrator user on windows: Non-administrator user of windows scan host must be added to the administrators group.
For non-root user on Linux:
Allow
ssh
connection using non-root user.For example: Add the Allow Users root scanuser entry in the
/etc/ssh/sshd_config
file.Note:
Scan user is a non-root user created in the system.
Provide user permission to mount and umount. Add user permission entry in
sudoers
file.For example: In the
/etc/sudoers
file add one of the following:scanuser ALL=(ALL) NOPASSWD:ALL
scanuser ALL=(ALL) NOPASSWD:/bin/umount, /bin/mount
Configure malware tool using non-root user on the scan host.
Note:
If scanning is done using root user, then change the permission of the
/tmp/malware
folder to provide write permissions to the non-root user.Note:
For example: chmod a+rwx /tmp/malware
The minimum required configuration for the scan host is 8 CPU and 32-GB RAM.
For the supported operating systems of the scan host, refer Software Compatibility List.
NetBackup footprint is not required on the scan host. The existing systems with the NetBackup client or media server can be used as scan host, too.
(For Linux) The scan host must be reachable from the media server over SSH.
Note:
SSH connection to scan host from the media server must be successful.
See Configuring scan host using Ansible.
Prerequisites for Windows scan host for NFS share type
Run the scan host credential validation again from Web UI if changes are done to ID mapping.
- Enable local
passwd
file mapping using PowerShell:C:\Users\Administrator> Set-NfsMappingStore -EnableUNMLookup $True -UNMServer localhost C:\Users\Administrator> nfsadmin mapping The following are the settings on localhost Mapping Server Lookup : Enabled Mapping Server : localhost AD Lookup : Disabled AD Domain :
- The entry must be as follows in the respective files (in file type format):
Note:
Ensure that the scanuser and scangroup are created. The scanuser must be part of the scangroup and Administrators group.
In
C:\Windows\System32\drivers\etc\passwd
file:scanuser:x:1001:1001:Description:C:\Users\scanuser
In
C:\Windows\System32\drivers\etc\group
file:scangroup:x:1001:1001
- Restart
nfsadmin
client as follows:nfsadmin client stop
nfsadmin client start
- Verify the ID (UID/GID) mapping for user by running the following command using PowerShell:
Get-NfsMappedIdentity -AccountName scanuser -AccountType User UserIdentifier : 1001 GroupIdentifier : 1001 UserName : scanuser PrimaryGroup : SupplementaryGroups :
Note:
For VMware and cloud workload policy scanning, UID and GID mapping must be set to 0.
(If scan host is created in Azure or AWS from marketplace images) Enable root access for scan host as follows:
Change the root password using the following command:
- sudo -i passwd
Change
/etc/ssh/sshd_config
file to provide the permit for root login as follows:"PermitRootLogin yes" "PasswordAuthentication yes"
Restart the service with the following command:
- service sshd reload
Change
/etc/cloud/cloud.cfg
file as follows to enable root user:disable_root 0