arXiv Science⌕ Search

arXiv subjects

Shengchen Duan

Publications and source records attributed to Shengchen Duan.

4 recordsLinked to original sources

Slow Cleanup, Fast Extraction: Persistent Permissions and Fund Activity during Recovery from Ethereum Authorization Incidents

Ethereum users authorize applications to transfer tokens on their behalf. These approvals can expose later deposits when application vulnerabilities are exploited. We investigate when remediation justifies ending emergency monitoring of existing approvals. We track 403 approval relationships across six incidents for 30 days after disclosure and validate the analysis on two additional protocols. Linking remediation, approval histories, and transaction order distinguishes spending under retained permissions from spending under later allowance settings. In Unibot, half the sampled approvals were explicitly cleared by approximately 5 hours and 35 minutes after disclosure. Before allowance clearing, two repurchases by one wallet were followed by repeat extractions after 60 and 84 seconds, respectively. In Multichain, incoming funds were transferred out using an existing approval within one block (a batch of transactions). The account's token balance was zero at both block boundaries. Retrospectively, verified entry-point closure evidence reduced decisions to retain approvals across four checkpoints from 1,023 to 176. With only evidence confirmed available at the decision time, the count remained 1,023. These findings support continuing, ending, or reassessing monitoring of the original incident path. Our open-source toolkit reconstructs permission histories and fund activity and reproduces monitoring decisions, helping responders identify permissions requiring attention.

cs.CR↗

Obfuscation as an Effective Signal for Prioritizing Cross-Chain Smart Contract Audits: Large-Scale Measurement and Risk Profiling

Obfuscation raises the interpretation cost of smart-contract auditing, yet its signals are hard to transfer across chains. We present HOBFNET, a fast surrogate of OBFPROBE, enabling million-scale cross-chain scoring. The model aligns with tool outputs on Ethereum (PCC 0.9158, MAPE 8.20 percent) and achieves 8-9 ms per contract, yielding a 2.3k-5.2k times speedup. Across BSC, Polygon, and Avalanche, we observe systematic score drift, motivating within-chain percentile queues (p99 as the main queue, p99.9 as an emergency queue). The high-score tail is characterized by rare selectors, external-call enrichment, and low signature density, supporting secondary triage. Cross-chain reuse is tail-enriched and directionally biased from smaller to larger ecosystems. On two publicly alignable cross-chain spillover cases, both fall into the p99 queue, indicating real-world hit value. We deliver a two-tier audit queue and a cross-chain linkage workflow for practical security operations.

cs.CR↗

Understanding and Characterizing Obfuscated Funds Transfers in Ethereum Smart Contracts

Scam contracts on Ethereum have rapidly evolved alongside the rise of DeFi and NFT ecosystems, utilizing increasingly complex code obfuscation techniques to avoid early detection. This paper systematically investigates how obfuscation amplifies the financial risks of fraudulent contracts and undermines existing auditing tools. We propose a transfer-centric obfuscation taxonomy, distilling seven key features, and introduce ObfProbe, a framework that performs bytecode-level smart contract analysis to uncover obfuscation techniques and quantify obfuscation complexity via Z-score ranking. In a large-scale study of 1.03 million Ethereum contracts, we isolate over 3 000 highly obfuscated contracts and identify two scam archetypes, three high-risk contract categories, and MEV bots that employ a variety of obfuscation maneuvers such as inline assembly, dead code insertion, and deep function splitting. We further show that obfuscation substantially increases both the scale of financial damage and the time until detection. Finally, we evaluate SourceP, a state-of-the-art Ponzi detection tool, on obfuscated versus non-obfuscated samples and observe its accuracy drop from approximately 80 percent to approximately 12 percent in real-world scenarios. These findings highlight the urgent need for enhanced anti-obfuscation analysis techniques and broader community collaboration to stem the proliferation of scam contracts in the expanding DeFi ecosystem.

cs.CR↗

Disassembling Obfuscated Executables with LLM

Disassembly is a challenging task, particularly for obfuscated executables containing junk bytes, which is designed to induce disassembly errors. Existing solutions rely on heuristics or leverage machine learning techniques, but only achieve limited successes. Fundamentally, such obfuscation cannot be defeated without in-depth understanding of the binary executable's semantics, which is made possible by the emergence of large language models (LLMs). In this paper, we present DisasLLM, a novel LLM-driven dissembler to overcome the challenge in analyzing obfuscated executables. DisasLLM consists of two components: an LLM-based classifier that determines whether an instruction in an assembly code snippet is correctly decoded, and a disassembly strategy that leverages this model to disassemble obfuscated executables end-to-end. We evaluated DisasLLM on a set of heavily obfuscated executables, which is shown to significantly outperform other state-of-the-art disassembly solutions.

cs.CR↗