反彈shell告警事件詳情查詢
更新時間 2025-01-16 10:31:28
最近更新時間: 2025-01-16 10:31:28
分享文章
接口功能介紹
反彈shell產生告警事件后,用戶可以對已經產生的告警事件詳情進行查詢。
接口約束
此功能為收費功能。確認已經購買服務器配額,并且開啟服務器防護。如果沒有購買配額,可按照頁面提示進行購買。如果沒有開啟防護,請在服務器列表頁開啟機器防護。
URI
POST /v1/reverseShell/event/queryDetail
路徑參數
無
Query參數
無
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| regionid | 是 | String | 資源池id | 100054c0416811e9a6690242ac110002 | |
| urlType | 是 | String | 請求地址類型。CTAPI | CTAPI | |
| Content-Type | 是 | String | Content-Type | application/json |
請求體body參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| queryParam | 是 | Object | 查詢參數 | 查詢參數 | queryParam |
表 queryParam
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| id | 是 | String | 反彈shell事件id | RES20001 |
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | String | 狀態碼 200-成功 | ||
| error | String | 返回碼 CTCSSCN_000000:成功 CTCSSCN_000001:失敗 CTCSSCN_000003:用戶未簽署協議,安全衛士系統無法正常使用 CTCSSCN_000004:鑒權錯誤 CTCSSCN_000005:用戶沒有付費版配額,功能不可用 |
CTCSSCN_000000 | |
| message | String | 返回信息 | 成功 | |
| returnObj | Object | 返回對象 | ReverseShellEventDto |
表 ReverseShellEventDto
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| id | String | 告警事件id | RES2023101001000100 | |
| status | Integer | 狀態 0-未刪除 1-已刪除 2-已加白 |
0 | |
| connectProcess | String | 連接進程 | bash | |
| connectProcessCmd | String | 連接進程命令行 | bash | |
| destIp | String | 目標主機 | 10.10.10,1 | |
| destPort | String | 目標端口 | 26 | |
| publicIp | String | 服務器公網ip | 10.10.10.2 | |
| privateIp | String | 服務器私網主ip | 10.10.10.2 | |
| agentGuid | String | 服務器唯一標識agentGuid | AAAA-BBB-CCCC-DDD | |
| custName | String | 服務器名稱 | cust | |
| timestamp | String | 發現時間,yyyy-mm-dd HH:mm:ss | 2023-10-10 00:00:00 | |
| riskLevel | String | 安全等級 1-低危 2-中危 3-高危 |
3 | |
| protocol | String | 協議 | ICMP | |
| connectPid | String | 連接進程id | 1 | |
| parentProcess | String | 父進程 | bash | |
| parentProcessCmd | String | 父進程命令行 | bash | |
| parentPid | String | 父進程id | 1 | |
| handleTime | String | 處理時間 yyyy-mm-dd HH:mm:ss | 2023-10-10 00:00:00 |
枚舉參數
無
請求示例
請求url
無
請求頭header
{"regionid": "100054c0416811e9a6690242ac110002","Content-Type":"application/json","urlType": "CTAPI"}
請求體body
{"queryParam": {"id": "RES2023101011110"}}
響應示例
{"statusCode": "200","error": "CTCSSCN_000000","message": "查詢成功!","returnObj": {"id": "idxxx","status": 0,"connectProcess": "cmd.exe","connectProcessCmd": "cmd.exe asas","destIpPort": "10.1.1.1:80","destIp": "10.1.1.1","destPort": "80","publicIp": "10.2.2.2","privateIp": "10.3.3.3","protocol": "ICMP","connectPid": "1111","parentProcess": "BASH.SH","parentProcessCmd": "BASH -I","parentPid": "222","custName": "ET-15","agentGuid": "agentGuid","timestamp": "2023-08-06 12:00:00","handleTime": "2023-08-06 14:00:00","riskLevel": 0}}
狀態碼
請參考
錯誤碼
請參考