{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T19:32:09Z","timestamp":1795203129073,"version":"4.10.3"},"reference-count":54,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2021,6,24]],"date-time":"2021-06-24T00:00:00Z","timestamp":1624492800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["JSAN"],"abstract":"<jats:p>Statistical traffic analysis has absolutely exposed the privacy of supposedly secure network traffic, proving that encryption is not effective anymore. In this work, we present an optimal countermeasure to prevent an adversary from inferring users\u2019 online activities, using traffic analysis. First, we formulate analytically a constrained optimization problem to maximize network traffic obfuscation while minimizing overhead costs. Then, we provide OPriv, a practical and efficient algorithm to solve dynamically the non-linear programming (NLP) problem, using Cplex optimization. Our heuristic algorithm selects target applications to mutate to and the corresponding packet length, and subsequently decreases the security risks of statistical traffic analysis attacks. Furthermore, we develop an analytical model to measure the obfuscation system\u2019s resilience to traffic analysis attacks. We suggest information theoretic metrics for quantitative privacy measurement, using entropy. The full privacy protection of OPriv is assessed through our new metrics, and then through extensive simulations on real-world data traces. We show that our algorithm achieves strong privacy protection in terms of traffic flow information without impacting the network performance. We are able to reduce the accuracy of a classifier from 91.1% to 1.42% with only 0.17% padding overhead.<\/jats:p>","DOI":"10.3390\/jsan10030038","type":"journal-article","created":{"date-parts":[[2021,6,24]],"date-time":"2021-06-24T23:22:14Z","timestamp":1624576934000},"page":"38","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["OPriv: Optimizing Privacy Protection for Network Traffic"],"prefix":"10.3390","volume":"10","author":[{"given":"Louma","family":"Chaddad","sequence":"first","affiliation":[{"name":"Department of Electrical and Computer Engineering, American University of Beirut, Beirut 1107 2020, Lebanon"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1939-2740","authenticated-orcid":false,"given":"Ali","family":"Chehab","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, American University of Beirut, Beirut 1107 2020, Lebanon"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ayman","family":"Kayssi","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, American University of Beirut, Beirut 1107 2020, Lebanon"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,6,24]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"148","DOI":"10.1007\/978-3-642-36784-7_7","article-title":"A methodological overview on anomaly detection","volume":"7754","author":"Callegari","year":"2013","journal-title":"Data Traffic Monit. Anal."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"101842","DOI":"10.1016\/j.adhoc.2019.02.001","article-title":"An intrusion detection system for connected vehicles in smart cities","volume":"90","author":"Aloqaily","year":"2019","journal-title":"Hoc Netw."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1153","DOI":"10.1109\/COMST.2015.2494502","article-title":"A survey of data mining and machine learning methods for cyber security intrusion detection","volume":"18","author":"Buczak","year":"2015","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2715","DOI":"10.1109\/TAC.2013.2266831","article-title":"Attack detection and identification in cyber-physical systems","volume":"58","author":"Pasqualetti","year":"2013","journal-title":"IEEE Trans. Autom. Control"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1016\/j.comnet.2017.02.011","article-title":"Privacy-aware contextual localization using network traffic analysis","volume":"118","author":"Das","year":"2017","journal-title":"Comput. Netw."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Wang, T. (2020, January 18\u201320). High precision open-world website fingerprinting. Proceedings of the 2020 IEEE Symposium on Security and Privacy (SP), San Francisco, CA, USA.","DOI":"10.1109\/SP40000.2020.00015"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Wang, C., Kennedy, S., Li, H., Hudson, K., Atluri, G., Wei, X., Sun, W., and Wang, B. (2020, January 8\u201310). Fingerprinting encrypted voice traffic on smart speakers with deep learning. Proceedings of the 13th ACM Conference on Security and Privacy in Wireless and Mobile Networks, Linz, Austria.","DOI":"10.1145\/3395351.3399357"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"White, A.M., Matthews, A.R., Snow, K.Z., and Monrose, F. (2011, January 22\u201325). Phonotactic reconstruction of encrypted voip conversations: Hookt on fon-iks. Proceedings of the 2011 IEEE Symposium on Security and Privacy, Oakland, CA, USA.","DOI":"10.1109\/SP.2011.34"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Wang, Q., Yahyavi, A., Kemme, B., and He, W. (2015, January 28\u201330). I know what you did on your smartphone: Inferring app usage over encrypted data traffic. Proceedings of the 2015 IEEE conference on communications and network security (CNS), Florence, Italy.","DOI":"10.1109\/CNS.2015.7346855"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Taylor, V.F., Spolaor, R., Conti, M., and Martinovic, I. (2016, January 21\u201324). Appscanner: Automatic fingerprinting of smartphone apps from encrypted network traffic. Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), Saarbruecken, Germany.","DOI":"10.1109\/EuroSP.2016.40"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Yamansavascilar, B., Guvensan, M.A., Yavuz, A.G., and Karsligil, M.E. (2017, January 26\u201329). Application identification via network traffic classification. Proceedings of the 2017 International Conference on Computing, Networking and Communications (ICNC), Santa Clara, CA, USA.","DOI":"10.1109\/ICCNC.2017.7876241"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Chaddad, L., Chehab, A., Elhajj, I.H., and Kayssi, A. (2021). Optimal Packet Camouflage against Traffic Analysis. ACM Trans. Priv. Secur., in press.","DOI":"10.1145\/3442697"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1988","DOI":"10.1109\/COMST.2018.2883147","article-title":"Towards the deployment of machine learning solutions in network traffic classification: A systematic survey","volume":"21","author":"Pacheco","year":"2018","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"800","DOI":"10.1109\/TNSM.2019.2933358","article-title":"A survey on big data for network traffic monitoring and analysis","volume":"16","author":"Drago","year":"2019","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"673","DOI":"10.1007\/s12243-020-00770-7","article-title":"A review on machine learning\u2013based approaches for internet traffic classification","volume":"75","author":"Salman","year":"2020","journal-title":"Ann. Telecommun."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"355","DOI":"10.1002\/nem.1901","article-title":"A survey of methods for encrypted traffic classification and analysis","volume":"25","author":"Velan","year":"2015","journal-title":"Int. J. Netw. Manag."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Dhote, Y., Agrawal, S., and Deen, A.J. (2015, January 12\u201314). A survey on feature selection techniques for internet traffic classification. Proceedings of the 2015 International Conference on Computational Intelligence and Communication Networks (CICN), Jabalpur, India.","DOI":"10.1109\/CICN.2015.267"},{"key":"ref_18","unstructured":"Fu, X., Graham, B., Bettati, R., and Zhao, W. (2003, January 18\u201320). On countermeasures to traffic analysis attacks. Proceedings of the IEEE Systems, Man and Cybernetics SocietyInformation Assurance Workshop, West Point, NY, USA."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Dyer, K.P., Coull, S.E., Ristenpart, T., and Shrimpton, T. (2012, January 21\u201323). Peek-a-boo, i still see you: Why efficient traffic analysis countermeasures fail. Proceedings of the 2012 IEEE Symposium on Security and Privacy, Francisco, CA USA.","DOI":"10.1109\/SP.2012.28"},{"key":"ref_20","unstructured":"Qu, B., Zhang, Z., Guo, L., Zhu, X., Guo, L., and Meng, D. (2012, January 8\u201310). An empirical study of morphing on network traffic classification. Proceedings of the 7th International Conference on Communications and Networking in China, Kunming, China."},{"key":"ref_21","unstructured":"Wright, C.V., Coull, S.E., and Monrose, F. (2009). Traffic Morphing: An Efficient Defense Against Statistical Traffic Analysis. NDSS, Internet Society. Citeseer."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"86","DOI":"10.1109\/TWC.2013.121013.121473","article-title":"Thwarting Wi-Fi side-channel analysis through traffic demultiplexing","volume":"13","author":"Zhang","year":"2013","journal-title":"IEEE Trans. Wirel. Commun."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Juarez, M., Imani, M., Perry, M., Diaz, C., and Wright, M. (2016). Toward an efficient website fingerprinting defense. European Symposium on Research in Computer Security, Springer.","DOI":"10.1007\/978-3-319-45744-4_2"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Imani, M., Rahman, M.S., and Wright, M. (2018, January 15\u201319). Adversarial traces for website fingerprinting defense. Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, ON, Canada.","DOI":"10.1145\/3243734.3278493"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Lu, D., Bhat, S., Kwon, A., and Devadas, S. (2018, January 15\u201319). Dynaflow: An efficient website fingerprinting defense based on dynamically-adjusting flows. Proceedings of the 2018 Workshop on Privacy in the Electronic Society, Toronto, ON, Canada.","DOI":"10.1145\/3267323.3268960"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Sirinam, P., Imani, M., Juarez, M., and Wright, M. (2018, January 15\u201319). Deep fingerprinting: Undermining website fingerprinting defenses with deep learning. Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, ON, Canada.","DOI":"10.1145\/3243734.3243768"},{"key":"ref_27","unstructured":"Liberatore, M., and Levine, B.N. (November, January 30). Inferring the source of encrypted HTTP connections. Proceedings of the 13th ACM Conference on Computer and Communications Security, Alexandria, VA, USA."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Panchenko, A., Niessen, L., Zinnen, A., and Engel, T. (2011, January 17). Website fingerprinting in onion routing based anonymization networks. Proceedings of the 10th Annual ACM Workshop on Privacy in the Electronic Society, Chicago, IL, USA.","DOI":"10.1145\/2046556.2046570"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"2985","DOI":"10.1002\/dac.2519","article-title":"Concurrent multipath traffic impersonating for enhancing communication privacy","volume":"27","author":"Liu","year":"2014","journal-title":"Int. J. Commun. Syst."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Hu, Y., Li, X., Liu, J., Ding, H., Gong, Y., and Fang, Y. (2018, January 20\u201324). Mitigating Traffic Analysis Attack in Smartphones with Edge Network Assistance. Proceedings of the 2018 IEEE International Conference on Communications (ICC), Kansas City, MO, USA.","DOI":"10.1109\/ICC.2018.8422190"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Gokcen, Y., Foroushani, V.A., and Heywood, A.N.Z. (2014, January 17\u201318). Can we identify NAT behavior by analyzing Traffic Flows?. Proceedings of the 2014 IEEE Security and Privacy Workshops, San Jose, CA, USA.","DOI":"10.1109\/SPW.2014.28"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Syverson, P., Dingledine, R., and Mathewson, N. (2004). Tor: The secondgeneration onion router. Security Symposium, USENIX Association.","DOI":"10.21236\/ADA465464"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Yuan, Z., and Wang, C. (2016, January 28\u201329). An improved network traffic classification algorithm based on Hadoop decision tree. Proceedings of the 2016 IEEE International Conference of Online Analysis and Computing Science (ICOACS), Chongqing, China.","DOI":"10.1109\/ICOACS.2016.7563047"},{"key":"ref_34","unstructured":"Hodo, E., Bellekens, X., Iorkyase, E., Hamilton, A., Tachtatzis, C., and Atkinson, R. (September, January 29). Machine learning approach for detection of nontor traffic. Proceedings of the 12th International Conference on Availability, Reliability and Security, Reggio Calabria, Italy."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1043","DOI":"10.1109\/TNSE.2019.2901994","article-title":"A dive into the dark web: Hierarchical traffic classification of anonymity tools","volume":"7","author":"Montieri","year":"2019","journal-title":"IEEE Trans. Netw. Sci. Eng."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Shmatikov, V., and Wang, M.H. (2006). Timing analysis in low-latency mix networks: Attacks and defenses. European Symposium on Research in Computer Security, Springer.","DOI":"10.1007\/11863908_2"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Fu, X., Graham, B., Bettati, R., Zhao, W., and Xuan, D. (2003, January 6\u20139). Analytical and empirical analysis of countermeasures to traffic analysis attacks. Proceedings of the 2003 International Conference on Parallel Processing, Kaohsiung, Taiwan.","DOI":"10.1109\/ICPP.2003.1240613"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Wang, W., Motani, M., and Srinivasan, V. (2008, January 27\u201331). Dependent link padding algorithms for low latency anonymity systems. Proceedings of the 15th ACM conference on Computer and Communications Security, Alexandria, VA, USA.","DOI":"10.1145\/1455770.1455812"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Levine, B.N., Reiter, M.K., Wang, C., and Wright, M. (2004). Timing attacks in low-latency mix systems. International Conference on Financial Cryptography, Springer.","DOI":"10.1007\/978-3-540-27809-2_25"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"1011","DOI":"10.1109\/SURV.2011.092311.00082","article-title":"Evasion techniques: Sneaking through your intrusion detection\/prevention systems","volume":"14","author":"Cheng","year":"2011","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"1321","DOI":"10.1109\/TIFS.2016.2515050","article-title":"A dummy-based approach for preserving source rate privacy","volume":"11","author":"Diyanat","year":"2016","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Iacovazzi, A., and Baiocchi, A. (2013, January 9\u201313). Investigating the trade-off between overhead and delay for full packet traffic privacy. Proceedings of the 2013 IEEE International Conference on Communications Workshops (ICC), Budapest, Hungary.","DOI":"10.1109\/ICCW.2013.6649446"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Iacovazzi, A., and Baiocchi, A. (2012, January 27\u201331). From ideality to practicability in statistical packet features masking. Proceedings of the 2012 8th International Wireless Communications and Mobile Computing Conference (IWCMC), Limassol, Cyprus.","DOI":"10.1109\/IWCMC.2012.6314247"},{"key":"ref_44","unstructured":"Fu, X., Graham, B., Bettati, R., and Zhao, W. (2003, January 19\u201322). On effectiveness of link padding for statistical traffic analysis attacks. Proceedings of the 23rd International Conference on Distributed Computing Systems, Providence, RI, USA."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Wang, W., Zhu, M., Wang, J., Zeng, X., and Yang, Z. (2017, January 22\u201324). End-to-end encrypted traffic classification with one-dimensional convolution neural networks. Proceedings of the 2017 IEEE International Conference on Intelligence and Security Informatics (ISI), Beijing, China.","DOI":"10.1109\/ISI.2017.8004872"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Chaddad, L., Chehab, A., Elhajj, I.H., and Kayssi, A. (2018, January 15\u201319). App traffic mutation: Toward defending against mobile statistical traffic analysis. Proceedings of the IEEE INFOCOM 2018-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Honolulu, HI, USA.","DOI":"10.1109\/INFCOMW.2018.8406899"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"245","DOI":"10.1016\/j.dcan.2019.09.002","article-title":"AdaptiveMutate: A technique for privacy preservation","volume":"5","author":"Chaddad","year":"2019","journal-title":"Digit. Commun. Netw."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Chaddad, L., Chehab, A., Elhajj, I.H., and Kayssi, A. (2019, January 19\u201321). Mobile traffic anonymization through probabilistic distribution. Proceedings of the 2019 22nd Conference on Innovation in Clouds, Internet and Networks and Workshops (ICIN), Paris, France.","DOI":"10.1109\/ICIN.2019.8685871"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Chaddad, L., Chehab, A., Elhajj, I.H., and Kayssi, A. (July, January 30). Network Obfuscation for Net Worth Security. Proceedings of the 2020 Seventh International Conference on Software Defined Systems (SDS), Paris, France.","DOI":"10.1109\/SDS49854.2020.9143919"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1145\/584091.584093","article-title":"A mathematical theory of communication","volume":"5","author":"Shannon","year":"2001","journal-title":"ACM Sigmobile Mob. Comput. Commun. Rev."},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"109","DOI":"10.1049\/iet-ifs.2018.5186","article-title":"Detecting anomalous traffic in the controlled network based on cross entropy and support vector machine","volume":"13","author":"Han","year":"2019","journal-title":"IET Inf. Secur."},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"8309","DOI":"10.1007\/s10586-018-1755-5","article-title":"Anomaly network traffic detection algorithm based on information entropy measurement under the cloud computing environment","volume":"22","author":"Yang","year":"2019","journal-title":"Clust. Comput."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"2358","DOI":"10.1109\/JSAC.2018.2869997","article-title":"JESS: Joint entropy-based DDoS defense scheme in SDN","volume":"36","author":"Kalkan","year":"2018","journal-title":"IEEE J. Sel. Areas Commun."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1214\/aoms\/1177729694","article-title":"On information and sufficiency","volume":"22","author":"Kullback","year":"1951","journal-title":"Ann. Math. Stat."}],"container-title":["Journal of Sensor and Actuator Networks"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2224-2708\/10\/3\/38\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:23:15Z","timestamp":1760163795000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2224-2708\/10\/3\/38"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,6,24]]},"references-count":54,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2021,9]]}},"alternative-id":["jsan10030038"],"URL":"https:\/\/doi.org\/10.3390\/jsan10030038","relation":{},"ISSN":["2224-2708"],"issn-type":[{"value":"2224-2708","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,6,24]]}}}