Jun Sun

Jun Sun

Auto-generated profile, based on publicly available information

Jun Sun

Singapore Management University, Singapore, Singapore

Research Focus & Metrics

Academic Career Length

23Years (2004-Present)

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

Representative Publications

View All Publications
1 November 2017
Verified
Conference Paper
Closed access
JIJun Inoue
Jun Inoue
YYYoriyuki Yamagata
Yoriyuki Yamagata
YCYuqi Chen
Yuqi Chen
CPChristopher M. Poskitt
Christopher M. Poskitt
JSJun Sun
Jun Sun
In this paper, we propose and evaluate the application of unsupervised machine learning to anomaly detection for a Cyber-Physical System (CPS). We compare two methods: Deep Neural Networks (DNN) adapted to time series data generated by a CPS, and one-class Support Vector Machines (SVM). These methods are evaluated against data from the Secure Water Treatment (SWaT) testbed, a scaled-down but fully operational raw water purification plant. For both methods, we first train detectors using a log generated by SWaT operating under normal conditions. Then, we evaluate the performance of both methods using a log generated by SWaT operating under 36 different attack scenarios. We find that our DNN generates fewer false positives than our one-class SVM while our SVM detects slightly more anomalies. Overall, our DNN has a slightly better F measure than our SVM. We discuss the characteristics of the DNN and one-class SVM used in this experiment, and compare the advantages and disadvantages of the two methods.

1 January 2009
Verified
Book Chapter
Open access
PDF file
JSJun Sun
Jun Sun
YLYang Liu
Yang Liu
JDJin Song Dong
Jin Song Dong
Jun PangJun Pang
Jun Pang
Recent development on distributed systems has shown that a variety of fairness constraints (some of which are only recently defined) play vital roles in designing self-stabilizing population protocols. Current practice of system analysis is, however, deficient under fairness. In this work, we present PAT, a toolkit for flexible and efficient system analysis under fairness. A unified algorithm is proposed to model check systems with a variety of fairness effectively in two different settings. Empirical evaluation shows that PAT complements existing model checkers in terms of fairness. We report that previously unknown bugs have been revealed using PAT against systems functioning under strong global fairness.

13 June 2022 in IEEE Transactions on Dependable and Secure Computing
Verified
Journal Article
Closed access
YXYinxing Xue
Yinxing Xue
JYJiaming Ye
Jiaming Ye
WZWei Zhang
Wei Zhang
JSJun Sun
Jun Sun
LMLei Ma
Lei Ma
JZJianjun Zhao
Jianjun Zhao
Smart contract transactions are increasingly interleaved by cross-contract calls. While many tools have been developed to identify a common set of vulnerabilities, the cross-contract vulnerability is overlooked by existing tools. Cross-contract vulnerabilities are exploitable bugs that manifest in the presence of more than two interacting contracts. Existing methods are however limited to analyze a maximum of two contracts at the same time. Detecting cross-contract vulnerabilities is highly non-trivial. With multiple interacting contracts, the search space is much larger than that of a single contract. To address this problem, we present xFuzz, a machine learning guided smart contract fuzzing framework. The machine learning models are trained with novel features (e.g., word vectors and instructions) and are used to filter likely benign program paths. Comparing with existing static tools, machine learning model is proven to be more robust, avoiding directly adopting manually-defined rules in specific tools. We compare xFuzz with three state-of-the-art tools on 7,391 contracts. xFuzz detects 18 exploitable cross-contract vulnerabilities, of which 15 vulnerabilities are exposed for the first time. Furthermore, our approach is shown to be efficient in detecting non-cross-contract vulnerabilities as well—using less than 20% time as that of other fuzzing tools, xFuzz detects twice as many vulnerabilities.

1 January 2023 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
YZYuan Zhou
Yuan Zhou
YSYang Sun
Yang Sun
YTYun Tang
Yun Tang
YCYuqi Chen
Yuqi Chen
JSJun Sun
Jun Sun
ZYZijiang Yang
Zijiang Yang

31 January 2017 in IEEE Transactions on Information Forensics and Security
Verified
Journal Article
Closed access
YXYinxing Xue
Yinxing Xue
GMGuozhu Meng
Guozhu Meng
YLYang Liu
Yang Liu
TTTian Huat Tan
Tian Huat Tan
HCHongxu Chen
Hongxu Chen
JZJie Zhang
Jie Zhang
Although a previous paper shows that existing anti-malware tools (AMTs) may have high detection rate, the report is based on existing malware and thus it does not imply that AMTs can effectively deal with future malware. It is desirable to have an alternative way of auditing AMTs. In our previous paper, we use malware samples from android malware collection Genome to summarize a malware meta-model for modularizing the common attack behaviors and evasion techniques in reusable features. We then combine different features with an evolutionary algorithm, in which way we evolve malware for variants. Previous results have shown that the existing AMTs only exhibit detection rate of 20%-30% for 10 000 evolved malware variants. In this paper, based on the modularized attack features, we apply the dynamic code generation and loading techniques to produce malware, so that we can audit the AMTs at runtime. We implement our approach, named Mystique-S, as a service-oriented malware generation system. Mystique-S automatically selects attack features under various user scenarios and delivers the corresponding malicious payloads at runtime. Relying on dynamic code binding (via service) and loading (via reflection) techniques, Mystique-S enables dynamic execution of payloads on user devices at runtime. Experimental results on real-world devices show that existing AMTs are incapable of detecting most of our generated malware. Last, we propose the enhancements for existing AMTs.

1 January 2008
Verified
Book Chapter
Closed access
PDF file
JSJun Sun
Jun Sun
YLYang Liu
Yang Liu
JDJin Song Dong
Jin Song Dong