Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to obtain local privilege escalation information details.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribePrivilegeEventInfo. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| Id | Yes | Integer | Event ID |
| Parameter Name | Type | Description |
|---|---|---|
| PrivilegeEventInfo | PrivilegeEventInfo | Local privilege escalation details |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribePrivilegeEventInfo
<Common request parameters>
{
"Id": 12
}
{
"Response": {
"PrivilegeEventInfo": {
"Uuid": "05f0bcab-****-4ea4-8109-bcd03d5598f7",
"UserName": "root",
"UserGroup": "1000",
"ProcessName": "privilege",
"CmdLine": "./privilege",
"ParentProcName": "bash",
"ParentProcUser": "1000",
"CreateTime": "2024-09-06 14:17:45",
"Status": 0,
"FullPath": "/tmp/privilege",
"ParentProcGroup": "1000",
"ParentProcPath": "/usr/bin/bash",
"PsTree": "[{\"pid\":32528,\"exe\":\"/tmp/a.out\",\"account\":\"root:1002\",\"cmdline\":\"/tmp/a.out\",\"ssh_service\":\"172.*.*.104:22\",\"ssh_source\":\"113.*.*.*:12753\",\"start_time\":1715655696}]",
"NewCaps": "SYS_RAWIO|DAC_OVERRIDE|DAC_READ_SEARCH|FOWNER|FSETID|KILL|SETGID|SETUID|SETPCAP|LINUX_IMMUTABLE|NET_BIND_SERVICE|NET_BROADCAST|NET_ADMIN|NET_RAW|IPC_LOCK|IPC_OWNER|SYS_MODULE|CHOWN|BLOCK_SUSPEND|WAKE_ALARM|SYSLOG|MAC_ADMIN|MAC_OVERRIDE|SETFCAP|AUDIT_CONTROL|AUDIT_WRITE|LEASE|MKNOD|SYS_TTY_CONFIG|SYS_TIME|SYS_RESOURCE|SYS_NICE|SYS_BOOT|SYS_ADMIN|SYS_PACCT|SYS_PTRACE|SYS_CHROOT",
"ModifyTime": "2024-09-06 14:17:45",
"MachineName": "machine name",
"ProcFilePrivilege": "-rwsr-xr-x",
"HostIp": "1.*.*.1",
"Quuid": "05f0bcab-****-4ea4-8109-bcd03d5598f7",
"Id": 10001,
"MachineWanIp": "1.*.*.1",
"SuggestScheme": "1. Check whether the system has new users added or users with abnormal permissions;\n2. Check for malicious processes and invalid ports, and remove suspicious startup items and scheduled tasks;\n3. Isolate or delete related Trojan files;\n4. Conduct risk detection on the system and reinforce security. For details, see the following link:\n[Linux]https://www.tencentcloud.com/document/product/296/9604?from_cn_redirect=1\n[Windows]https://www.tencentcloud.com/document/product/296/9605?from_cn_redirect=1",
"HarmDescribe": "After compromising the server, the hacker may exploit specific vulnerabilities to enhance user permission or directly obtain root user privileges for further malicious actions."
"Tags": [],
"References": [],
"MachineStatus": "ONLINE"
},
"RequestId": "f7f4d0bc-171d-491e-b97b-5c9bcb5a52a0"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error |
| InternalError.MainDBFail | Failed to manipulate the data. |
| InvalidParameter | Incorrect parameter. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| InvalidParameter.MissingParameter | Missing parameter. |
| InvalidParameter.ParsingError | Incorrect parameter parsing. |
| InvalidParameterValue | Invalid parameter value. |
| MissingParameter | Missing parameter error. |
| ResourceNotFound | The resource does not exist. |
| ResourceNotFound.MachineNotFound | The scanning machine does not exist. |
| ResourceUnavailable | The resource is not available. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan