All Products
Search
Document Center

Security Center:ListAgentlessMaliciousFiles

Last Updated:Jan 20, 2026

Queries malicious files that are detected by agentless detection tasks.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListAgentlessMaliciousFilesget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese.
  • en: English.
zh
LevelsstringNo

The severities of the malicious files. Separate multiple values with commas (,). Valid values:

  • serious
  • suspicious
  • remind
remind,suspicious
FuzzyMaliciousNamestringNo

The name of the malicious file that you want to query.

Note Fuzzy match is supported.
WebShell
CurrentPageintegerYes

The page number.

1
PageSizestringYes

The number of entries per page.

20
MaliciousMd5stringNo

The MD5 hash value of the malicious file.

d836968041f7683b5459****
UuidstringNo

The UUID of the asset.

d2d94e8b-bb25-4744-8004-1e08a53c****
EventIdlongNo

The event ID.

81****
RemarkstringNo

The remarks for the asset affected by the vulnerability. The value can be the private IP address, public IP address, or name of the asset. Fuzzy match is supported.

192.168.XX.XX
DealedstringNo

Specifies whether the vulnerability is handled. Valid values:

  • Y: The vulnerability is handled.
  • N: The vulnerability is not handled.
Y
MaliciousTypestringNo

The alert type.

Valid values when Lang is set to zh:

  • WebShell
  • Malicious Software
  • Malicious Script

Valid values when Lang is set to en:

  • WebShell
  • Malicious Software
  • Malicious Script
WebShell
ScanRangearrayNo

The source of the malicious file.

stringNo

The source of the malicioud file. Valid values:

  • agentless: Host Detection.
  • ecs_snapshot: User Snapshot.
  • ecs_image: User Image.
agentless

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

CE343162-35BF-565E-B85E-8E3B7A2B****
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

23
Countinteger

The number of entries returned on the current page.

20
Listarray<object>

The malicious files.

Listobject
Idlong

The event ID.

1****
FirstScanTimestamplong

The timestamp generated when the first scan was performed. Unit: milliseconds.

168257753****
LatestScanTimestamplong

The timestamp generated when the last scan was performed. Unit: milliseconds.

168257753****
Levelstring

The severity of the malicious file. Valid values:

  • serious
  • suspicious
  • remind
serious
MaliciousMd5string

The MD5 hash value of the malicious file.

1f2e13a7c51ee89316ae50066515****
FilePathlong

The file path.

/root/etc/g****
Uuidstring

The UUID of the asset.

49e25e0f-bb51-4a5a-a1b3-13a4ddaa****
InstanceNamestring

The name of the asset.

sql-test-001****
InternetIpstring

The public IP address of the server.

8.210.XX.XX
IntranetIpstring

The private IP address of the server.

172.25.XX.XX
TargetIdstring

The ID of the asset that is scanned.

m-****
TargetNamestring

The name of the asset that is scanned.

jenkins****
TargetTypestring

The type of the asset that is scanned. Valid values:

  • 2: The scanned asset is an image.
2
DownloadUrlstring

The URL to download the malicious image sample.

https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/rule/V3.166.2/totalpackage_rule_V3.16_6.2_tip_20230220110****
HighLightstring

The highlighted JSON string.

{\"highlight\":{\"ruleVersion\":\"20230223\",\"ruleId\":600139,\"events\":[[207,284]]}}
Notesarray<object>

The remarks.

notesobject
Notestring

The remark.

Serious***
NoteIdstring

The ID of the remark.

50****
NoteTimestring

The time when the remark was created.

2023-04-27 14:49:21
Detailsarray<object>

The details of the alert event.

detailsobject
Namestring

The name of the detailed item.

MD5
Typestring

The type of the detailed item.

text
Valuestring

The value of the detailed item.

1
NameKeystring

The name key of the detailed item.

${suspicious.mp.db.maliciousfilemd5}
MaliciousNamestring

The name of the malicious file.

WebShell
Partitionstring

The partition of the disk.

/dev/xvda1
OperateResultstring

The handling result of the alert.

addWhitelist.USER.Success
OperateTimestampstring

The timestamp generated when the alert is handled. Unit: milliseconds.

168257753****
MaliciousTypestring

The type of the virus.

WebShell

Examples

Sample success responses

JSONformat

{
  "RequestId": "CE343162-35BF-565E-B85E-8E3B7A2B****",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 23,
    "Count": 20
  },
  "List": [
    {
      "Id": 0,
      "FirstScanTimestamp": 0,
      "LatestScanTimestamp": 0,
      "Level": "serious",
      "MaliciousMd5": "1f2e13a7c51ee89316ae50066515****",
      "FilePath": 0,
      "Uuid": "49e25e0f-bb51-4a5a-a1b3-13a4ddaa****",
      "InstanceName": "sql-test-001****",
      "InternetIp": "8.210.XX.XX",
      "IntranetIp": "172.25.XX.XX",
      "TargetId": "m-****",
      "TargetName": "jenkins****",
      "TargetType": 2,
      "DownloadUrl": "https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/rule/V3.166.2/totalpackage_rule_V3.16_6.2_tip_20230220110****",
      "HighLight": "{\\\"highlight\\\":{\\\"ruleVersion\\\":\\\"20230223\\\",\\\"ruleId\\\":600139,\\\"events\\\":[[207,284]]}}",
      "Notes": [
        {
          "Note": "Serious***",
          "NoteId": "50****",
          "NoteTime": "2023-04-27 14:49:21"
        }
      ],
      "Details": [
        {
          "Name": "MD5",
          "Type": "text",
          "Value": 1,
          "NameKey": "${suspicious.mp.db.maliciousfilemd5}"
        }
      ],
      "MaliciousName": "WebShell",
      "Partition": "/dev/xvda1",
      "OperateResult": "addWhitelist.USER.Success",
      "OperateTimestamp": "168257753****",
      "MaliciousType": "WebShell"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-03The Error code has changed. The request parameters of the API has changedView Change Details
2023-09-12The Error code has changed. The request parameters of the API has changed. The response structure of the API has changedView Change Details