Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Scanning for Viruses

Updated on 2025-01-07 GMT+08:00

Once a static virus file is started, it may become a malicious process and become a security risk of servers. Therefore, scanning static virus files is important in server security protection. HSS virus scan function can scan virus files on servers and provides the following virus scan methods:

  • Quick Scan: Quick virus scanning tasks can save time and costs. This function scans and removes preset key system files and directories.
  • Full-disk Scan: A time-consuming full-disk virus scanning can be implemented on servers.
  • Custom Scan: You can customize virus scanning tasks as required.

Constraints

Quick Scan

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Server Protection > Virus Scan.
  4. Click Quick Scan. The dialog box is displayed.
  5. Set parameters related to the quick scan task as prompted.

    • Task Name: You can customize a task name.
    • Select Server: Select the server for which you want to perform quick scan.
      NOTE:

      A server being scanned cannot be selected for another scan task.

    • Handling Policy: Select the handling mode for the detected virus files.
      • Automatic Handling: Virus files that have been further confirmed are automatically isolated. Suspicious files are labeled with suspicious and need to be handled after manual confirmation.
      • Manual Handling: Alarms are generated only for detected infected files. You need to manually confirm the files before handling them.

  6. Click Scan and start the scan task.

Full-disk Scan

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Server Protection > Virus Scan.
  4. Click Full-disk Scan. The dialog box is displayed.
  5. Set parameters related to the full-disk scan task as prompted.

    • Task Name: You can customize a task name.
    • Select Server: Select the server for which you want to perform full-disk scan.
      NOTE:

      A server being scanned cannot be selected for another scan task.

    • Handling Policy: Select the handling mode for the detected virus files.
      • Automatic Handling: Virus files that have been further confirmed are automatically isolated. Suspicious files are labeled with suspicious and need to be handled after manual confirmation.
      • Manual Handling: Alarms are generated only for detected infected files. You need to manually confirm the files before handling them.

  6. Click Scan and start the scan task.

Custom Scan

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Server Protection > Virus Scan.
  4. Click Custom Scan.
  5. Set the parameters of the Custom Scan policy as prompted. For details about the parameters, see Custom antivirus policy parameters.

    Table 1 Custom antivirus policy parameters

    Parameter

    Description

    Task Name

    Name of a custom antivirus task.

    Startup Type

    Scan task execution type.

    • Scan Now: Start a scan immediately.
    • Scan Later: Start a scan at the specified time. You can set the start time to a time within one month.
    • Periodic Start: Start a scan periodically based on your settings.

    Start

    If Startup Type is set to Scan Later, configure this parameter to set the start time of the scan.

    Schedule

    If Startup Type is set to Periodic Start, configure this parameter to set the scan period.

    File Type

    Type of the file to be scanned. Currently, the following types of files can be scanned:

    • Executable: executable files and dynamic link libraries (DLLs), such as .exe, .dll, and .so files.
    • Compressed: such as .zip, .rar, and .tar
    • Script: such as .bat, .py, and .ps1
    • Document: such as TXT, DOC, and PDF
    • Image: such as BMP, JPG, and GIF
    • Audio & Video: such as MP3, MP4, and FLV files

    (Optional) Directory Settings

    Directory where virus-infected files need to be scanned. If this parameter is not set, full scan is performed by default. Full scan does not cover network directories.

    (Optional) Exclude Specified Directories

    Directories that do not require virus scan.

    Select Server

    Servers to be scanned. Servers using any of the following policies cannot be selected:

    • Policy whose Startup Type is Scan Now: A scan is in progress.
    • Policy whose Startup Type is Scan Later: A custom scan policy using the same startup time as the current policy is in effect.
    • Policy whose Startup Type is Periodic Start: A custom periodic scan has been scheduled.

    Handling Policy

    Select the processing mode for the detected virus files.
    • Automatic Handling: Virus files that have been further confirmed are automatically isolated. Suspicious files are labeled with suspicious and need to be handled after manual confirmation.
    • Manual Handling: Alarms are generated only for detected infected files. You need to manually confirm the files before handling them.

  6. Click Scan and start the scanning task.

Viewing Scan Task Status

  • Viewing task status
    1. On the Virus Scan page, click the Scan tasks to view the execution status of virus scan tasks.
      • To view information about specific scan tasks, configure search criteria in the search box above the scan task list.
      • To stop an ongoing scan task, click Cancel in the Operation column of the task.
      • To retry a failed scan task, click Scan Again in the Operation column of the task.
      Figure 1 Viewing scan tasks
    2. Click to view the scan status and number of scanned files of each server.
      • To stop scanning a server, click Cancel in the Operation column of the server.
      • To retry a failed scan on a server, click Scan Again in the Operation column of target server.
  • Viewing and handling viruses

    After a virus scan task is complete, you can manually handle the detected virus files based on service requirements. For details, see Viewing and Handling Viruses.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback