Langhui

Buffer Overflow Detection Rule Dataset

500~10,000 buffer zones spill detection of five-mix data ⁇ stack spill + stack spill + formatting string + integer spill ⁇ ATT&CK T1203 map ⁇ binary security AI training specialisation

2-3 Weeks
Delivery Cycle
XML Rules
Structured Detection Rules
PCAP Traffic
Real Network Traffic
HTTP Reconstruction
Request / Response Text
2-4 Weeks
Delivery Cycle

Dataset Overview

Definition:Buffer Overflow Detection Rule Dataset (BOF)is provided byChangsha Langhui Information Technology Co., Ltd.The binary security detection data set that is built by the security lab. Each data set is used to read: "XML Rules + PCAP Traffic + HTTP Reconstructed Text + Attack Type Labels + Ground Truth"The five-dimensional association structure organization, covering the Stack OverFlow, Heap OverFlow, Formatted Strings, Integer OverFlow, Off-by-One Five Subtype, ATT&CK Framework T1203 (using client-end loopholes), was designed to generate examples of training and fuzzing tests for binary gap detection models.

Dataset NameBuffer Overflow Detection Rule Dataset (BOF)
Total Data Volume500~10,000
Data TypeFive-member group: XML rule + PCAP flow + HTTP returned text + attack type label + standard answer
Data SourceLanghui Security Laboratory + CVE/NVD Open Gap Database
License TypeCommercial Licensing Complete authorization documents are attached
Delivery Cycle2-3 Weeks
Buffer spill typeStack OverFlow, Heap OverFlow, Formatted String Broken, Integer OverFlow, Off-by-One
ATT&CK MappingT1203(Exploitation for Client Execution)
Output FormatJSONL / CSV / PCAP
LanguageChinese-English Bilingual

Core Data Fields

Each data contains six categories of rule identification, XML detection rules, attack payload, HTTP restore text, PCAP traffic, and standard answers, covering the complete closed loop from rule definition to validation evaluation.

Field CategoryField CountTypical Fields
Rule Identifier4rule_id (rule _KEEP_core_ID), rule_name (name of rule), overflow_type (spill type), severity (serious level: CC/High)
XML Detection Rules3rule_xml (XML rule in IDS/IPS format), vulnerable_function (hazard function: stcpy/gets/printf/scanf, etc.), payload_pattern (Payload feature mode)
Attack Payload4Payload (attack Payload in the original), overflow_ type (spill type), buffer_size (buffer zone size), overwrite_length (covering length)
HTTP Reconstructed Text3http_request (full HTTP request), http_response (full HTTP response), content_ type (response to Content-Type)
PCAP Traffic4pcap_file (PCAP file name), pcap_size (file size), packet_count (number of data packets), protocol (transport layer protocol)
Ground Truth4is_overflow (for spill attack: True/false), overflow_type (spray subtype), vulnerable_function (a leak function), available

Data Sample Showcase

The following is a sample structured JSON after de-identification, showing the typical format of SQL injection quintuple detection data.

{
  "entry_id": "BOF-2024-001836",
  "rule_id": "BOF-STACK-0073",
  "rule_name": "Stack Buffer Overflow via strcpy()",
  "overflow_type": "Stack Overflow",
  "severity": "Critical",
  "rule_xml": "<rule id=\"951120\" phase=\"2\">\n  <operator>detectBufferOverflow</operator>\n  <action>block</action>\n  <pattern>Content-Length:\\s*(\\d{4,})</pattern>\n  <anomaly>request_body_length > expected_buffer_size</anomaly>\n</rule>",
  "payload": "AAAA...AAAA256 bytes - overwrites return address with 0x42424242",
  "buffer_size": 128,
  "overwrite_length": 256,
  "vulnerable_function": "strcpy(dest_buffer, user_input)",
  "http_request": "POST /cgi-bin/vuln_binary HTTP/1.1\r\nHost: target.test\r\nContent-Type: application/octet-stream\r\nContent-Length: 256\r\n\r\noverflow_payload",
  "http_response": "HTTP/1.1 200 OK\r\n\r\n<html>...<pre>Segmentation fault (core dumped)</pre>...</html>",
  "pcap_file": "bof_stack_strcpy.pcap",
  "pcap_size": "18923",
  "packet_count": 34,
  "technique_id": "T1203",
  "cve_ref": "CVE-2023-XXXXX",
  "answer": {
    "is_overflow": true,
    "overflow_type": "Stack Buffer Overflow",
    "vulnerable_function": "strcpy",
    "exploitable": true
  }
}

AI Application Scenarios

Binary Hole Detection Model

The 10,000 buffer zones have spilled over the binary gap detection model of CNN/GNN architecture, which automatically identifies the two-digit security gap from the network traffic and Payload model, such as the spill, the stacking, etc.

The example of fuzzy testing

A rich spill of Payload variant and hazard function mapping, training AI models to automatically generate examples of fuzzy tests for hazard functions such as stcpy/gets/printf to increase Fuzzing coverage.

Gap Use Detection

Training AI detection models to identify gaps in real time, based on ret addr overlaying patterns (ret addr rewrite/ROP chain) and formatting string utilization features (any address writing/%n usage).

Patchual authentication AI

Based on the gap information on CVE linkages and the binary differences of patches, training AI models automatically validate patches and detect the possibility of patches bypassing.

CGC training materials

Structured five-metaset data can be used directly for the AHE/CRA training of automated gap-deeping and repair (DARPA CGC) system to promote automated binary security.

Code security audit

Hazard function mapping + loophole data, training code audit of AI automatically locates buffer zone spill points in the C/C++ source code, generating recommendations for repairing security functions such as stncpy/snprintf.

Frequently asked questions

How are datasets authorized? Can it be used for business AI training?
This dataset is provided byChangsha Langhui Information Technology Co., Ltd.Provide business authorizations to explicitly cover business AI training and safety product development.
What buffer zone spill type is covered?
The five main subtypes of the covered stacks (Stack Overflow), the Heap Overflow, the formatted string leaks, the integer Overflow, the Off-by-One, and Payload covers the Linux/Windows two platforms.
What is the hazard function coverage?
The classic hazard C functions covering the stcpy, stcat, gets, sprintf, vsprinf, scaf, prinf family (fprintf/snprintf) and unsafe usage of memory operations such as memcpy, memmove, etc.
PCAP traffic format?
The PCAP file contains a complete TCP connection process, with Payload embedded in HTTP Body (Content-Type: application/octet-stream) in binary flow, indicating key memory areas for spill point offsets and overlays.
How do you obtain data or business advice?
This dataset is provided byChangsha Langhui Information Technology Co., Ltd.Our DataAssets API platform supports both standard datasets and on-demand customization. Please contact us for a detailed data catalog, sample preview, and quote plan.

A buffer zone spill detection programme that needs to be customized?

Changsha Langhui Information Technology Co., Ltd. The DataAssetsAPI platform is dedicated to providing high-quality, compliant web security data assets for AI companies and research institutions. Supports flexible combinations by SQL injection subtype, by database platform, and by detection rule format.

Data sample preview Customization of BOF programmes Professional technical support