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
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
On this page

Method 2: Using DOS System Commands to Check Processes

Updated on 2024-10-08 GMT+08:00

This section describes how to use DOS commands to check processes.

Common Commands

Command

Description

cd

Switch to the following directory:

  • Current directory: [./] It can be omitted.
  • One level up: [../]
  • Two levels up: [../../]

dir /a: (disk)

Display all files (including system files and hidden files) by default.

more

Display file contents in the split-screen mode.

tasklist

Check process status.

netstat -ano

View links.

wmic startup list full

View automatic startup programs.

net user

View users.

Example commands are as follows:

  • Search for the files that contain DR under the D:\Apps\ directory: dir /a-d /s "D:\Apps\IDE" | findstr "DR"
  • Search for the files and directories that contain exe in drive C: dir /s C: | findstr "exe"

Procedure

  1. Check whether abnormal processes exist.

    Command: tasklist

    Based on the query result, locate abnormal processes that are neither system processes nor service application processes.

  2. View the network analysis result to check whether abnormal IP addresses are connected to the host.

    Query command: netstat –ano

    1. Based on the query result, locate the suspicious addresses that are neither service connection ports nor external addresses used for service connections.
    2. Check whether the suspicious address is an international address of malicious or abnormal services.
    3. Locate the target process (for example, vchost.exe) from the query result based on the PID value of the abnormal connection (for example, 2240).

  3. Check for abnormal users.

    1. Run the following command: net user

    2. Run the following command to query the time when the user changed the host password: net user username (for example, administrator)

    3. Run the following command to check whether the system has been restarted: systeminfo

      After a host is restarted, data is automatically deleted. To query file directories, perform Step 4.

  4. Check for abnormal files.

    Run the following command: dir /s file_directory (for example, C:) | findstr "exe"

    Query the .exe files and directories in a disk (for example, C:). Based on the query result, locate abnormal files that are not system files or application-created files. Lock abnormal files.

    NOTE:

    You are advised to check the following directories: windows, windows\system32, windows/system32 \drivers, c:\program files\internet explorer/, c:\program files\internet explorer\plugin, and c:\program files\common files\microsoft shared.

  5. View the Windows host login log (login success event ID: 4624) to check for abnormal logins to the host.

    1. Open Control Panel, choose Administrative Tools > Computer Management > System Tools > Event Viewer > Windows Logs > Security, and click Filter Current Log on the right.
    2. Enter 4624 in the Includes/Excludes Event IDs box.
      Figure 1 Filtering current logs
    3. The query results are displayed. See Figure 2.
      Figure 2 Viewing results

  6. If the problem persists, you can submit a service ticket.

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