Security
SEMPRE: Semantic-Aware Protocol Reverse Engineering via Consistency-Driven Joint Optimization
arXiv cs.CR0 views
arXiv:2610.31844v1 Announce Type: new Abstract: Protocol reverse engineering (PRE) is essential for understanding undocumented or proprietary communication formats, enabling security-critical tasks such as vulnerability discovery, malware C2 analysis, and IDS signature generation. However, existing PRE techniques rely on brittle hand-written rules, under-model contextual dependencies among neighboring fields, and often fail on messages with nested sub-protocols. We present SEMPRE, a fully automated PRE framework that replaces ad-hoc heuristics with recursive LLM reasoning grounded in fine-grained dynamic program analysis. SEMPRE uses taint-flow and loop traces to guide an LLM-driven tree-of-thought search that slices messages into fields while detecting nested sub-payloads, producing a hierarchical layout. It then infers each field's type and role and iteratively refines boundaries by freezing high-confidence segments and re-running detection under semantic constraints, yielding an EM-style procedure that monotonically improves structure and semantics until convergence. Evaluated on a broad corpus of mainstream protocols against six state-of-the-art (vs. <0.4 for all baselines) and 0.72 for semantic inference (vs. 0.13 for BinPRE). Ablations confirm the contribution of each component, and a case study on a prolific real-world botnet demonstrates practical utility.
Source:https://arxiv.org/abs/2610.31844PreviousFooling LLM Safety Guards into Judging the Wrong TextNextIncomparable Minima in Agent Tool Authorization
Related posts
Testing and rebuilding Node.js snapshot artifacts after CVE-2026-106074
0dev.to Node
From predictable IDs to workflow risk: analyzing Node.js CVE-2026-106074
0dev.to Node
Upgrade planning for CVE-2026-106074 across Node.js 22, 24, and 26
0dev.to Node
I found 560 malware repos while building a GitHub trending site. GitHub removed them in a day
0dev.to OpenSource
PHP2Shell: The PHP Vulnerability Everyone Is Talking About Right Now (And How to Fix It)
0dev.to Security

HomeView could double as a HomeKit security camera, shows code
09to5Mac