tencent cloud

Feedback

DescribeReverseShellEvents

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 obtain the list of Reverse Shell.

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: DescribeReverseShellEvents.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Limit No Integer Number of returns, with the maximum value being 100.
Offset No Integer Offset, which defaults to 0
Filters.N No Array of Filter Filter criteria
  • Keywords - String - required: no - keyword (host's private IP address|process name)
  • Order No String Sorting method: sort by number of requests. asc: ascending order; desc: descending order.
    By No String Sorting field. CreateTime: occurrence time.

    3. Output Parameters

    Parameter Name Type Description
    List Array of ReverseShell List content
    TotalCount Integer Total number
    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 Obtaining the Reverse Shell List

    This example shows you how to obtain the reverse Shell list.

    Input Example

    POST / HTTP/1.1
    Host: cwp.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeReverseShellEvents
    <Common request parameters>
    
    {}
    

    Output Example

    {
        "Response": {
            "TotalCount": 1,
            "List": [
                {
                    "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": "/data/anaconda3/bin/pytho****",
                    "ProcTree": "null",
                    "Status": 0,
                    "CreateTime": "2024-09-27 15:43:56",
                    "MachineName": "机器名称",
                    "DetectBy": 1,
                    "MachineExtraInfo": {
                        "WanIP": "1.1.1.1",
                        "PrivateIP": "1.1.1.1",
                        "NetworkType": 0,
                        "NetworkName": "vpc-d7f***",
                        "InstanceID": "ins-12332112",
                        "HostName": "hn***"
                    },
                    "Pid": 0,
                    "RiskLevel": 1
                }
            ],
            "RequestId": "be6f6eec-0825-4e67-ab9a-c8568bbf736c"
        }
    }
    

    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
    InvalidParameter Incorrect parameter.
    InvalidParameter.IllegalRequest Invalid request.
    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.