API Resources

GET
/v3/index/{index}

從您選擇的索引取得所有文件的分頁清單。預設每頁最多顯示 100 份文件。

路徑參數

indexstringrequired

漏洞利用、漏洞或 IP 情資索引的名稱

URL 範例:

https://api.vulncheck.com/v3/index/exploits

適用於所有索引的查詢參數

limit

指定回應中要回傳的項目數量。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?limit=300
start_cursor

開始一個分頁查詢工作階段。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?start_cursor
cursorstring

指定分頁查詢工作階段的游標。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?cursor=ZmZmZDYyMzIqNmNlZi00NGZmLWJkOGItZnFkMWY3ODIxMDJp

注意:每個回應都會在 _meta.next_cursor 中提供下一頁的游標。請持續以此游標發出請求,直到回應中不再包含游標為止。

為了讓回應保持在可管理的大小,即使後面還有更多記錄,單一頁面的記錄數也可能少於 limit。在這類頁面上,_meta.truncated 會是 true,並由 _meta.warnings 說明原因。

cvestring (CVE-YYYY-N{4-7})

指定要在索引中搜尋的 CVE ID。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?cve=CVE-2023-22527
lastModStartDatestring (YYYY-MM-DD)

指定用於篩選的最後修改起始日期。

注意:最後修改日期記錄於 _timestamp 欄位。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?lastModStartDate=2024-01-01
lastModEndDatestring (YYYY-MM-DD)

指定用於篩選的最後修改結束日期。

注意:最後修改日期記錄於 _timestamp 欄位。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?lastModEndDate=2024-01-01
pubStartDatestring (YYYY-MM-DD)

指定用於篩選的發布起始日期。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?pubStartDate=2024-01-01
pubEndDatestring (YYYY-MM-DD)

指定用於篩選的發布結束日期。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?pubEndDate=2024-01-01
updatedAtStartDatestring (YYYY-MM-DD)

指定起始日期,用於篩選資料來源內容的更新。

URL 範例:

https://api.vulncheck.com/v3/index/moxa?updatedAtStartDate=2024-01-01
updatedAtEndDatestring (YYYY-MM-DD)

指定結束日期,用於篩選資料來源內容的更新。

URL 範例:

https://api.vulncheck.com/v3/index/moxa?updatedAtEndDate=2024-01-01
datestring (YYYY-MM-DD)

依指定的確切日期篩選索引資料。此參數的作用等同於 將 pubStartDate 與 pubEndDate 設為相同的日期值。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?date=2024-01-01
aliasstring

指定要搜尋的別名。

URL 範例:

https://api.vulncheck.com/v3/index/vulncheck-nvd2?alias=PrintNightmare
iavastring

指定要搜尋的 IAVA ID。

sortstring

指定用來排序結果的欄位。可用選項:_timestamp 或 date_added。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?sort=date_added
orderstring

指定結果的排序方式。可用選項:asc(遞增)或 desc(遞減)。

URL 範例:

https://api.vulncheck.com/v3/index/exploits?order=asc

適用於特定索引的查詢參數

botnetstring

指定要搜尋的殭屍網路名稱。VulnCheck 支援的殭屍網路列於 botnet 索引文件中。

URL 範例:

https://api.vulncheck.com/v3/index/botnets?botnet=Fbot
threat_actorstring

指定要搜尋的威脅行為者。VulnCheck 支援的威脅行為者名稱列於 threat-actors 索引文件中。

URL 範例:

https://api.vulncheck.com/v3/index/threat-actors?threat_actor=UNC2630
mitre_idstring

指定威脅行為者的 MITRE ATT&CK 群組 ID,以在 threat-actors 索引中搜尋。

URL 範例:

https://api.vulncheck.com/v3/index/threat-actors?mitre_id=G0013
misp_idstring

指定威脅行為者的 MISP ID,以在 threat-actors 索引中搜尋。

URL 範例:

https://api.vulncheck.com/v3/index/threat-actors?misp_id=3570552c-c46f-428e-9472-744a14e6ece7
ransomwarestring

指定要搜尋的勒索軟體集團。VulnCheck 支援的勒索軟體集團列於 ransomware 索引文件中。

適用於 IP 情資索引的查詢參數

以下選用查詢參數適用於 ipintel-3d、ipintel-10d、ipintel-30d 與 ipintel-90d IP 情資索引。

asnstring

指定要篩選的 ASN(例如 "AS719")。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?asn=AS394107
cidrstring

指定要篩選的 CIDR 或 IP 位址。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?cidr=77.68.0.0/16
countrystring

指定要篩選的國家(例如 "China")。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?country=China
country_codestring

指定要篩選的國家代碼(例如 "CN")。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?country_code=CN
idstring

指定要篩選的偵測 ID("c2"、"initial-access" 或 "honeypot")。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?id=honeypot
hostnamestring

指定要篩選的主機名稱(例如 "example.com")。

URL 範例:

https://api.vulncheck.com/v3/index/ipintel-3d?hostname=example.com

適用於 Canary 情資索引的查詢參數

src_countrystring

指定要篩選的國家代碼(例如 "IR")。

URL 範例:

https://api.vulncheck.com/v3/index/vulncheck-canaries-3d?src_country=IR
dst_countrystring

指定要篩選的國家代碼(例如 "US")。

URL 範例:

https://api.vulncheck.com/v3/index/vulncheck-canaries-3d?dst_country=US

請求範例

curl --request GET \
    --url https://api.vulncheck.com/v3/index/exploits \
    --header "Accept: application/json" \
    --header 'Authorization: Bearer insert_token_here'

回應

{
  "_benchmark": 0.122322,
  "_meta": {
    "timestamp": "2024-02-23T20:35:43.732591251Z",
    "index": "exploits",
    "limit": 100,
    "total_documents": 79387,
    "sort": "_timestamp",
    "parameters": [
      {
        "name": "cve",
        "format": "CVE-YYYY-N{4-7}"
      },
      {
        "name": "alias"
      },
      {
        "name": "iava",
        "format": "[0-9]{4}[A-Z-0-9]+"
      },
      {
        "name": "threat_actor"
      },
      {
        "name": "mitre_id"
      },
      {
        "name": "misp_id"
      },
      {
        "name": "ransomware"
      },
      {
        "name": "botnet"
      },
      {
        "name": "published"
      },
      {
        "name": "lastModStartDate",
        "format": "YYYY-MM-DD"
      },
      {
        "name": "lastModEndDate",
        "format": "YYYY-MM-DD"
      },
      {
        "name": "pubStartDate",
        "format": "YYYY-MM-DD"
      },
      {
        "name": "pubEndDate",
        "format": "YYYY-MM-DD"
      }
    ],
    "order": "desc",
    "page": 1,
    "total_pages": 794,
    "max_pages": 6,
    "first_item": 1,
    "last_item": 100
  },
  "data": [
    {
      "id": "CVE-2023-50387",
      "public_exploit_found": true,
      "commercial_exploit_found": false,
      "weaponized_exploit_found": false,
      "max_exploit_maturity": "poc",
      "reported_exploited": false,
      "reported_exploited_by_threat_actors": false,
      "reported_exploited_by_ransomware": false,
      "reported_exploited_by_botnets": false,
      "inKEV": false,
      "inVCKEV": false,
      "timeline": {
        "nvd_published": "2024-02-14T16:15:00Z",
        "nvd_last_modified": "2024-02-23T02:15:00Z",
        "first_exploit_published": "2024-02-18T00:00:00Z",
        "most_recent_exploit_published": "2024-02-18T00:00:00Z"
      },
      "trending": {
        "github": false
      },
      "epss": {
        "epss_score": 0.03814,
        "epss_percentile": 0.9159,
        "last_modified": "2024-02-23T10:38:41.361178Z"
      },
      "counts": {
        "exploits": 1,
        "threat_actors": 0,
        "botnets": 0,
        "ransomware_families": 0
      },
      "exploits": [
        {
          "url": "https://github.com/knqyf263/CVE-2023-50387",
          "name": "knqyf263/CVE-2023-50387 exploit repository",
          "refsource": "github-exploits",
          "date_added": "2024-02-18T00:00:00Z",
          "exploit_maturity": "poc",
          "exploit_availability": "publicly-available",
          "exploit_type": "initial-access",
          "validation_level": "vulncheck-exploit-dev-review",
          "reference_url": "https://raw.githubusercontent.com/knqyf263/CVE-2023-50387/main/README.md",
          "clone_ssh_url": "git@github.com:knqyf263/CVE-2023-50387.git",
          "clone_ssh_url_cached": "git@git-poc.vulncheck.com:github.com/knqyf263/CVE-2023-50387.git",
          "commit_hash": "e62663f2297f27cd5c786b5b2cd16fc9cfe478ba",
          "date_cached": "2024-10-21T18:59:56Z"
        }
      ],
      "date_added": "2024-02-18T00:00:00Z",
      "_timestamp": "2024-02-23T15:15:57.600519Z"
    }
  ]
}