Ziming Zhao

Ziming Zhao

Auto-generated profile, based on publicly available information

Ziming Zhao

School of Software Technology, Zhejiang University, Ningbo, China

Research Focus & Metrics

Academic Career Length

10Years (2017-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
28 February 2023 in IEEE Transactions on Dependable and Secure Computing
Verified
Journal Article
Closed access
ZSZhuoxue Song
Zhuoxue Song
ZZZiming Zhao
Ziming Zhao
FZFan Zhang
Fan Zhang
GXGang Xiong
Gang Xiong
GCGuang Cheng
Guang Cheng
Bin ChenBin Chen
Bin Chen
Traffic classification occupies a significant role in cybersecurity and network management. The widespread of encryption transmission protocols such as SSL/TLS has led to the dominance of deep learning based approaches. In cybersecurity, strong adversaries often complicate their strategies by constantly developing emerging attacks. Meanwhile, security practitioners desire to grasp the reasons for inference results. However, existing deep learning approaches lack efficient adaptation for incremental traffic types and often have less interpretability. In this paper, we propose I $^{2}$ RNN, an Incremental and Interpretable Recurrent Neural Network for encrypted traffic classification. The I $^{2}$ RNN proposes a novel propagation process to extract the sequence fingerprints from sessions with local robustness. Meanwhile, this proposal provides interpretability including time-series feature attribution and inter-class similarity portrait. Moreover, we design I $^{2}$ RNN in an incremental manner to adapt to emerging traffic types. The I $^{2}$ RNN only needs to train an additional set of parameters for the newly added traffic type rather than retraining the whole model with the entire dataset. Extensive experimental results show that our I $^{2}$ RNN can achieve remarkable performance in traffic classification, incremental learning, and model interpretability. Compared with other local interpretability methods, our I $^{2}$ RNN exhibits excellent stability, robustness, and effectiveness in the interpretation of network traffic data.

13 May 2024
Verified
Conference Paper
Open access
ZZZiming Zhao
Ziming Zhao
ZLZhaoxuan Li
Zhaoxuan Li
ZSZhuoxue Song
Zhuoxue Song
WLWenhao Li
Wenhao Li
FZFan Zhang
Fan Zhang
To detect unknown attack traffic, anomaly-based network intrusion detection systems (NIDSs) are widely used in Internet infrastructure. However, the security communities realize some limitations when they put most existing proposals into practice. The challenges are mainly concerned with (i) fine-grained emerging attack detection and (ii) incremental updates/adaptations. To tackle these problems, we propose to decouple the need for model capabilities by transforming known/new class identification issues into multiple independent one-class learning tasks. Based on the above core ideas, we develop Trident, a universal framework for fine-grained unknown encrypted traffic detection. It consists of three main modules, i.e., tSieve, tScissors, and tMagnifier are used for profiling traffic, determining outlier thresholds, and clustering respectively, each of which supports custom configuration. Using four popular datasets of network traces, we show that Trident significantly outperforms 16 state-of-the-art (SOTA) methods. Furthermore, a series of experiments (concept drift, overhead/parameter evaluation) demonstrate the stability, scalability, and practicality of Trident.

3 February 2023 in IEEE Transactions on Dependable and Secure Computing
Verified
Journal Article
Closed access
ZZZiming Zhao
Ziming Zhao
ZLZhaoxuan Li
Zhaoxuan Li
JJJialun Jiang
Jialun Jiang
FYFengyuan Yu
Fengyuan Yu
FZFan Zhang
Fan Zhang
SGShize Guo
Shize Guo
Traffic detection systems based on machine learning have been proposed to defend against cybersecurity threats, such as intrusion attacks and malware. However, they did not take the impact of network-induced phenomena into consideration, such as packet loss, retransmission, and out-of-order. These phenomena will introduce additional misclassifications in the real world. In this paper, we present ${\sf ERNN}$ , a robust and end-to-end RNN model that is specially designed against network-induced phenomena. As its core, ${\sf ERNN}$ is designed with a novel gating unit named as session gate that includes: (i) four types of actions to simulate common network-induced phenomena during model training; and (ii) the Mealy machine to update states of session gate that adjusts the probability distribution of network-induced phenomena. Taken together, ${\sf ERNN}$ advances state-of-the-art by realizing the model robustness for network-induced phenomena in an error-resilient manner. We implement ${\sf ERNN}$ and evaluate it extensively on both intrusion detection and malware detection systems. By practical evaluation with dynamic bandwidth utilization and different network topologies, we demonstrate that ${\sf ERNN}$ can still identify 98.63% of encrypted intrusion traffic when facing about 16% abnormal packet sequences on a 10 Gbps dataplane. Similarly, ${\sf ERNN}$ can still robustly identify more than 97% of the encrypted malware traffic in multi-user concurrency scenarios. ${\sf ERNN}$ can realize $\sim$ 4% accuracy more than SOTA methods. Based on the Integrated Gradients method, we interpret the gating mechanism can reduce the dependencies on local packets (termed dependency dispersion ). Moreover, we demonstrate that ${\sf ERNN}$ possesses superior stability and scalability in terms of parameter settings and feature selection.

22 September 2023 in IEEE Transactions on Software Engineering
Verified
Journal Article
Open access
ZLZhaoxuan Li
Zhaoxuan Li
SLSiqi Lu
Siqi Lu
RZRui Zhang
Rui Zhang
ZZZiming Zhao
Ziming Zhao
RLRujin Liang
Rujin Liang
SGSheng Gao
Sheng Gao
With the economic development of Ethereum, the frequent security incidents involving smart contracts running on this platform have caused billions of dollars in losses. Consequently, there is a pressing need to identify the vulnerabilities in contracts, while the state-of-the-art (SOTA) detection methods have been limited in this regard as they cannot overcome three challenges at the same time. (i) Meet the requirements of detecting the source code, bytecode, and opcode of contracts simultaneously; (ii) reduce the reliance on manual pre-defined rules/patterns and expert involvement; (iii) assist contract developers in completing the contract lifecycle more safely, e.g. , vulnerability repair and abnormal monitoring. With the development of machine learning (ML), using it to detect the contract runtime execution sequences (called instances) has made it possible to address these challenges. However, the lack of datasets with fine-grained sequence labels poses a significant obstacle, given the unreadability of bytecode/opcode. To this end, we propose a method named VulHunter that extracts the instances by traversing the Control Flow Graph built from contract opcodes. Based on the hybrid attention and multi-instance learning mechanisms, VulHunter reasons the instance labels and designs an optional classifier to automatically capture the subtle features of both normal and defective contracts, thereby identifying the vulnerable instances. Then, it combines the symbolic execution to construct and solve symbolic constraints to validate their feasibility. Finally, we implement a prototype of VulHunter with 15K lines of code and compare it with 9 SOTA methods on five open source datasets including 52,042 source codes and 184,289 bytecodes. The results indicate that VulHunter can detect contract vulnerabilities more accurately (90.04% accurate rate and 85.60% F1 score), efficiently (only took 4.4 seconds per contract), and robustly (0% analysis failed rate) than the SOTA methods. Also, it can focus on specific metrics such as precision and recall by employing different baseline models and hyperparameters to meet the various user requirements, e.g. , vulnerability discovery and misreport mitigation. More importantly, compared with the previous ML-based arts, it can not only provide classification results, defective contract source code statements, key opcode fragments, and vulnerable execution paths, but also eliminate misreports and facilitate more operations such as vulnerability repair and attack simulation during the contract lifecycle.

19 December 2023 in Computers & Security
Verified
Journal Article
Closed access
ZZZiming Zhao
Ziming Zhao
ZLZhaoxuan Li
Zhaoxuan Li
ZZZhihao Zhou
Zhihao Zhou
JYJiongchi Yu
Jiongchi Yu
ZSZhuoxue Song
Zhuoxue Song
RZRui Zhang
Rui Zhang

12 October 2022 in Empirical Software Engineering
Verified
Journal Article
Closed access
PDF file
ZLZhaoxuan Li
Zhaoxuan Li
SLSiqi Lu
Siqi Lu
RZRui Zhang
Rui Zhang
RXRui Xue
Rui Xue
WMWenqiu Ma
Wenqiu Ma
SGSheng Gao
Sheng Gao