scieee AI-readable full text Open interactive document viewer

Development of a sanitization tool to share securely private data for critical-infrastructure protection

Aumatell Salom, Guillermo

Abstract

The project arose thanks to the participation of the Universitat Politècnica de Catalunya in the European project H2020, called CIPSEC. Its collaboration consists on the creation of a tool able to anonymize data picked up from cyber-attacks targeting different enterprises for its further analyisis. This work consists on the creation of a tool which allows the sanitation of files for its further use being able to ensure the security of the information. Finally, this tool is a little platform which allows to perform a personalized sanitation.

Full text

GRAU EN ENGINYERIA DE TECNOLOGIES I SERVEIS DE TELECOMUNICACIÓ Development of a sanitization tool to share securely private data for critical-infrastructure protection FINAL DEGREE PROJECT Student: Guillermo Aumatell Salom Advisors: Jordi Forné Muñoz and David Rebollo-Monedero 2018-2019 Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 2 I would like to express my very great appreciation to Professors Jordi Forné and David Rebollo- Monedero, my research supervisors, for their guidance and encouragement. I would also like to extend my thanks to the rest of the team for their help in offering me the resources. Finally, I wish to thank my parents for their support throughout my studies. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 3 Abstract The anonymization of data is a relatively new and important aspect that allows to guarantee privacy and to be able to progress technologically without putting in danger confidential information. The project arose thanks to the participation of the Universitat Politècnica de Catalunya in the European project H2020, called CIPSEC. Its collaboration consists on the creation of a tool able to anonymize data picked up from cyber-attacks targeting different enterprises for its further analyisis. This work consists on the creation of a tool which allows the sanitation of files for its further use being able to ensure the security of the information. Finally, this tool is a little platform which allows to perform a personalized sanitation. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 4 Resum La anonimització de dades és un aspecte relativament nou i important que permet assegurar la privatització i poder seguir avançant tecnològicament sense posar en risc informació confidencial. El projecte va sorgir gracies a la participació per part de la Universitat Politècnica de Catalunya en el projecte europeu H2020 denominat CIPSEC. La seva col·laboració consisteix en la creació de una eina que anonimitzi las dades recol·lectades dels ciberatacs registrats en distintes companyies per el seu posterior ús en investigacions. Aquest treball consisteix en la creació d’una eina que permeti la sanitització de fitxers per el seu posterior ús podent assegurar la seguretat en la informació. Finalment aquesta eina és una petita plataforma que permet dur a terme una sanitització personalitzada. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 5 Resumen La anonimización de datos es un aspecto relativamente nuevo e importante que permite asegurar la privatización y poder seguir avanzando tecnológicamente sin poner en riesgo información confidencial. El proyecto surgió gracias a la participación por parte de la Universitat Politècnica de Catalunya en el proyecto europeo H2020 denominado CIPSEC. Su colaboración consiste en la creación de una herramienta que anonimice los datos recolectados de los ciberataques registrados en distintas compañías para su posterior uso en investigaciones. Este trabajo consiste en la creación de una herramienta que permite la sanitización de ficheros para su posterior uso pudiendo asegurar la seguridad en la información. Finalmente, esta herramienta es una pequeña plataforma con varios programas que permiten llevar a cabo una sanitización personalizada. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 6 Revision history and approval record Revision Date Purpose 0 01/12/2018 Document creation 1 27/12/2018 Document revision 2 04/01/2019 Document v0.9 finished 3 07/01/2019 Document Revision by supervisor 4. 13/01/2019 Document v1. finished DOCUMENT DISTRIBUTION LIST Name e-mail Guillermo Aumatell Salom guillermoau[email protected]m Jordi Forné Muñoz [email protected]c.edu David Rebollo-Monedero [email protected] Written by: Guillermo Aumatell Reviewed and approved by: Jordi Forné Date 05/01/2019 Date 07/01/2019 Name Guillermo Aumatell Name Jordi Forné Position Project Author Position Project Supervisor Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 7 Table of contents Abstract ......................................................................................................................................... 3 Resum ............................................................................................................................................ 4 Resumen ........................................................................................................................................ 5 Revision history and approval record ........................................................................................... 6 Table of contents ........................................................................................................................... 7 List of figures ................................................................................................................................. 8 1. Introduction............................................................................................................................... 9 1.1. Motivation .......................................................................................................................... 9 1.2. Goals ................................................................................................................................... 9 1.3. Content ............................................................................................................................. 10 2. State of Art .............................................................................................................................. 11 2.1. Sanitization for Cybersecurity .......................................................................................... 11 2.2. CIPSEC ............................................................................................................................... 13 2.2.1 UPC Contribution........................................................................................................ 15 3. Tool Description ...................................................................................................................... 17 3.1. Specifications.................................................................................................................... 17 3.2. Architecture ...................................................................................................................... 18 4. Sanitization (ANTeater) ........................................................................................................... 20 5. Policies (ANTpolicies) .............................................................................................................. 23 6. Audit (ANTanalyst) .................................................................................................................. 27 7. Data Base ................................................................................................................................. 28 8. Platform ................................................................................................................................... 30 9. Conclusions.............................................................................................................................. 32 10. References ............................................................................................................................. 33 11. Annex ..................................................................................................................................... 34 11.1. Code and Files ................................................................................................................ 34 11.2. Interesting Regular Expressions ..................................................................................... 35 11.3. CIPSEC File – Example..................................................................................................... 36 Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 8 List of figures Figure 1. Data Security Lifecycle (DSL) ........................................................................................ 12 Figure 2. CIPSEC - Project Overview ............................................................................................ 13 Figure 3. CIPSEC - Partners .......................................................................................................... 14 Figure 4. CIPSEC - UPC Contribution Architecture ...................................................................... 15 Figure 5. CIPSEC - UPC Contribution Software ............................................................................ 15 Figure 6. TheANT - DSL ................................................................................................................ 17 Figure 7. TheANT – DSL - 2 .......................................................................................................... 17 Figure 8. TheANT - Architecture .................................................................................................. 18 Figure 9. ANTeater - Software ..................................................................................................... 20 Figure 10. ANTeater - example.................................................................................................... 21 Figure 11. ANTeater – example executed ................................................................................... 22 Figure 12. ANTeater – Result ...................................................................................................... 22 Figure 13. ANTpolicies – Policy File ............................................................................................. 23 Figure 14. ANTpolicies – Policy File example .............................................................................. 24 Figure 15. ANTpolicies - Software ............................................................................................... 25 Figure 16. ANTpolicies – example ............................................................................................... 25 Figure 17. ANTpolicies – Predetermined options ....................................................................... 26 Figure 18. ANTanalyst - Software ................................................................................................ 27 Figure 19. Data Base - Architecture ............................................................................................ 28 Figure 20. Data Base – ANT_LOGS example ................................................................................ 28 Figure 21. Data Base – ANT_ANON example .............................................................................. 29 Figure 22. Data Base – ANT_POL example .................................................................................. 29 Figure 23. Data Base – ANT_USERS example .............................................................................. 29 Figure 24. Platform - Connection ................................................................................................ 30 Figure 25. Platform – config.txt ................................................................................................... 30 Figure 26. Platform - Login .......................................................................................................... 31 Figure 27. Platform - TheANT ...................................................................................................... 31 Figure 28. TheANT – Repository .................................................................................................. 34 Figure 29. TheANT – Code ........................................................................................................... 34 Figure 30. TheANT – Policies ....................................................................................................... 34 Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 9 1. Introduction This final degree project deals with the development of a tool that allows the user to sanitize files in order to eliminate confidential or unwanted information. The whole tool has been created on the basis of the CIPSEC project, in which the Universitat Politècnica de Catalunya participates. Based on the demand for the project, the tool has been developed in a specific way trying to make the final product as complete as possible, not only to be used in cybersecurity sector, but in other areas too. Throughout this document, the different parts of this tool will be studied and analyzed. The main reasons that led to take certain development decisions will be explained. And last but not least, several possible projections towards the future of this tool will be submitted. Next, we present the reasons that have led to develop this tool. 1.1. Motivation More and more data are generated in the world. All data analysts are eager to obtain them and be able to treat them in order to have even more objective information. This information can help to obtain great benefits. It can bring about better product propositions to the customers, higher sales, greater profits, and also better research or even higher estimates of future events. All sorts of benefits could be obtained if all these data were available, but it is not always possible. Much of this information is generated by users doing normal things in their lives like using the phone, studying, working, taking public transports… There are a lot of things that generate data, however we can’t use all this information! Why? The users do not want to relinquish it. Why should I share all my data with companies to allow them to make profits on my account? Why freely? Why should I share my data with all the people letting my preferences be known? If a company has a lot of personal data from their users, why can’t they use it to share and investigate? This is a matter of privacy! Nobody wants to give up to all the world his personal data. But what would happen if the collected information did not indicate any personal data? There would be no problem and information could be shared. This project allows to anonymize the files that the user decides on the basis of certain conditions that will be seen later on. The files that will be anonymized contain cybersecurity data, attacks made to organizations. When those files are anonymized, they can be shared safely without transferring confidential information of the people who otherwise would be victims. This action permits to share information to improve the investigations. 1.2. Goals The objective of this project is to have a tool that anonymizes files in a specific format to share data between organizations without any risk. That tool will be a small platform with three different software components that are going to be interconnected to reach better results. All those software can be independent from each other and each one has a specific function. The main goal is to reach a simple, clear and easy tool that anyone can use without sanitization knowledge nor expertise. It is meant to be like “a tool for Dummies!” Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 16 software designed is prepared to receive the data with JSON format and to return the sanitized data with the same format. If we think about these outlines, we can see that Data that are included in the MISP Database are sanitized. Therefore all that data don’t include any personal information. That means that we can share this final database without compromising anything. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 17 3. Tool Description We are going to present the Platform: The ANT. First of all, we will present the specifications and the needs that have led us to make the decisions that will be seen later. It must be taken into account that the basis of this project has been the European CIPSEC project and all decisions have been taken regarding its requirements. 3.1. Specifications As indicated in the second section (2.1 Sanitization for Cybersecurity), there exists six phases in data progression. Where we participated was focusing on the Share phase. TheANT permits to share data without sensitive information. Figure 6. TheANT - DSL If we change the direction of possible flow in the six phases, forcing the system to anonymize the information just before sharing it, we could promise total privacy by using these data. This means that there can be no danger in sharing this information. Figure 7. TheANT – DSL - 2 Using these schemes, we built a platform that includes three software: ANTeater, ANTpolicies and ANTanalyst. All of them are used to sanitize file with JSON extension. Obviously they can be used independently of each other but they complement each other in order to get the maximum performance out of the tool. In the following sections, each of the tools that make up this platform will be explained in detail. Now we are going to introduce them in order to contextualize their utilities. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 18 Who carries out the anonymization is ANTeater. It is responsible for generating the sanitization and deliver to the user, if desired, the “clean” file. The user can choose the type of anonymization that he wants in each field of the selected file. Some types of anonymization are indicated in section 2.1 Sanitization for Cybersecurity. How can the user know exactly what is going to be applied? In order to know what is going to be applied, some policy files are used. This policy files are JSon files that contain all the necessary information. The anonymization of this project is based on the use of regular expressions: a method used in programming for pattern matching. So the policy files include the regular expressions needed and some more information that will be explained in section 5. Policies (ANTpolicies). To apply sanitization policies without difficulties you can use ANTpolicies. Finally, as stated in the second section (2. State of Art), GDPR includes some clarifications about how to prove any erasure of the data. To be able to adapt to the law, we are going to use a Database to save all the user actions logs. All this information can be analyzed and observed from ANTanalyst. That has been a brief summary of the different tools and how they connect with each other. All this platform has been programmed with Python Language [5] due to CIPSEC Project requirements. Now let’s discuss how the architecture has been assembled to fit the pieces of the puzzle. 3.2. Architecture TheANT Platform is a platform with three software that could be used to sanitize files and save logs. To do that it was important to have an architecture that treats the programs independently. That permits to simplify future improvements and even third parties can develop their programs and include them in a quick and simple way to the platform. There are three blocks in this architecture: the software that can be used to sanitize files, the directory where the files (policy files and files to sanitize) are saved and the Database which is used to register all the logs that generate all the software. Figure 8. TheANT - Architecture Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 19 Each software use the database to save every action that the user executes: sanitize a file, change a policy file, add a new policy to a policy file, which policy are used to sanitize a file… All this things are logged in the database to be able to keep track of the files. Other feature of this database is the possibility to have users that share this database. We will talk about that in section 7. Data Base. This platform can be used with or without a Data Base Connection. It was created thinking in the possibility that a company could use it with several persons at the same time. If we only need to sanitize private files, it is possible to use it in local mode without any connection. We are going to look in more depth at each of the aspects of this platform. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 20 4. Sanitization (ANTeater) ANTeater is the main software component of the platform. It’s the main mechanism that allows the user to sanitize a file and record it, if desired. We are going to see all the features. First, we can see that it has a simple graphic interface without too many options. It’s designed exclusively to sanitize files. We can see a menu, two blank boxes and a button ‘Start’. On the left box we will see the file that will be sanitized and on the right box the sanitized file. Let’s go to see an example while we comment each feature. Figure 9. ANTeater - Software If we display the menu, we can see the two main options: Load Document and Load Policy. We are going to see an example with a fake file to simplify reading. If we load a document (LOG_00001.json) and a Policy File (policy_logs.json) we will see that the document is displayed on the left box, and the options that are available on the policy file are displayed between the two boxes. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 21 Figure 10. ANTeater - example We can see in the file some sensitive data like IP Address (SRC_IP), the Operating System (OS, that’s a sensitive field due to Zero Day attacks), the Router ID (it could be sensitive due to the extra information that a user can obtain) and some others fields. We assume that we are interested to share this log with someone but we don’t want him to know our IP Address and our Operating System. We have selected a Policy File and it appears two options to sanitize: OS and Source IP. Each one can have multiple options to use. In this case we have selected a Partial Suppression sanitization for the field ‘OS’ and a Pseudonymisation option for the Source IP field. Each option will be explained in section 5. Policies (ANTpolicies). If we click on Start, the result appears with the fields that we were interested on sanitizing. The field ‘SRC_IP’ after the execution indicates 255.255.255.255. We can know that it is an Address IP, but not the value. And the OS is indicating us that the Operating System is Windows, but we don’t know the version. Then we are protected from some attacks (or at least hindering their job). Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 22 Figure 11. ANTeater – example executed Finally, if we agree with the result, we can extract the file and save it in the Repository. As we had mentioned, this platform works well with a company with several people using this platform. So, to speed up the saving process, the final file is saved with a name using a pattern including the date of the execution. Figure 12. ANTeater – Result We can see that it includes first the word RESULT and finally the date in which it has been executed. In conclusion, to sanitize a file we need to have prepared a Policy File. To create it we can use any text editor (Notepad, Notepad++, jedit, Left…) or we can use ANTpolicies that facilitates widely our work. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 23 5. Policies (ANTpolicies) ANTpolicies is the software that helps to create or modify policy files. The policy files have a simple structure meant to be simple and clear. You don’t need to use this tool to modify each policy file but it can help you. We are going to study the two main elements of this tool: the files and his functionalities. All the policy files have the same structure: Figure 13. ANTpolicies – Policy File Each file has some policies, each one with the same fields. In each policy there may be several sub-policies indicating the name, the regular expression, the target of the regular expression and the substitution to use in the regular expression. What is a Regular Expression? This project is not aimed to explain in depth the regular expressions by themselves, but it’s true that they are the basis of the functioning of the tools. A regular expression [6] (regex or regexp) is a sequence of character that defines a searching pattern. We are going to show a simple example to understand it better. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 24 Let’s imagine that we have the following regular expression: ‘([A-Z])\w+’. That regexp means it will match all the set of characters that contain an uppercase letter [A-Z] and some characters after it \w+. We are going to apply this regular expression to any text: Regular Expression: ([A-Z])\w+ Text: ‘In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing. An olla of rather more beef than mutton, a salad on most nights, scraps on Saturdays, lentils on Fridays, and a pigeon or so extra on Sundays, made away with three-quarters of his income.’ 1 We can see that the regular expression matches all the words starting with an uppercase which have some characters after it. This is the operation of regular expressions; with a defined grammar you can look for patterns in texts and modify them. As we have seen, the policy files are based on regular expressions and now that we know better the operation of a regular expression we are going to analyze the policy file that we used in the example of section 4. Sanitization (ANTeater). Figure 14. ANTpolicies – Policy File example 1 Cervantes Saavedra, M. (1608), The Ingenious Nobleman Sir Quixote of La Mancha. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 25 As we can see, we have two main policies: Source IP and OS. The first one, Operating System, is searching a content that includes some letters followed by a number. This is useful for windows versioning. This regular expression serves to mask the windows version. The second policy: Source IP is searching an IP Address. Depending on which sub-policy you choose, it transforms data into one or other solution. For example, a Partial Suppression transforms an IP Address 194.178.1.1 into 194.178.X.X. Pseudonymisation policy transforms data disabling all the contents and showing 255.255.255.255. These are just some example of a policy file. Let’s see how the tool works. That’s the main aspect of this tool. As we can see, this tool serves to modify policy files without needing to know the structure we have seen at the beginning of this section. Figure 15. ANTpolicies - Software We are going to Load the policy file that we are studying: ‘policy_logs.json’. When the policy file is loaded, we can see all the content of the file on the tool and, of course, it can be modified. Figure 16. ANTpolicies – example We can change the content of the file and press Save to obviously save the changes that we have made. The New button resets all the fields and the Delete Button deletes the Policy that is Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 32 9. Conclusions Finally, the project that consisted in creating a tool that would allow to anonymize files with a specific format was transformed into a more functional and not so closed tool. We managed to make it accept any JSon file with different formats, and make it able to sanitize the chosen fields, using a clear and simple pattern which is based on a plain text file. It works not only with computer security documents but with any data. The needs of the user define the way in which a file will be anonymized using this powerful tool: regular expressions. Difficulties were always present, when faced with the generalization so that it could work with any file. A lot of time was needed to make it as simple as possible, both functionally and technically. The user that will harness this software doesn’t need to know anything about programming! What we sought at all times was to satisfy current needs of the European CIPSEC project, yet not to remain there but go further and reach more areas with the same software. Thanks to all the difficulties, this platform was born. Of course it can keep on improving and growing far more, combining different technologies. If I was to improve this work, the first improvement I would love to implement would be the use of machine learning for automatic detection of data type and then automatic sanitization, automatic email system to help to improve the platform, database encryption... For anonymization is one of the fundamental ethical challenges of nowadays in the information society. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 33 10. References [1] Edgar, D. (2003-2004) Data Sanitization Techniques. Retrieved from: http://www.orafaq.com/papers/data_sanitization.pdf [2] CIPSEC (2016-2019) Enhancing Critical Infrastructure Protection with innovative SECurity framework. Retrieved from: https://www.cipsec.eu/ [3] IBM Knowledge Center. Estructura de base de datos relacional. Retrieved from: https://www.ibm.com/support/knowledgecenter/es/SSFGJ4_7.6.0/com.ibm.mbs.doc/configur /r_ctr_db_structures.html [4] Viejo, A. and Sánchez, D. (Jan 2016) Enforcing Transparent Access to Private Content in Social Networks by Means of Automatic Sanitization. Retrieved from: https://crisesdeim.urv.cat/web/docs/publications/journals/917.pdf [5] Python Software Foundation. Retrieved from: https://www.python.org/psf-landing/ [6] GSkinner. RegExr: Learn, Build and Test RegEx. Retrieved from: https://regexr.com/ [7] International Data Sanitization Consortium. Data Sanitization Regulations. Retrieved from: https://www.datasanitization.org/data-sanitization-regulations/ [8] J. Shekhar, M. Chandra Pandey, R. Kumar Singh, D. Singh Rathor, R. Tiwari. (2012) Key Challenges in Data Security Lifecycle in the Cloud Computing. International Conference on Recent Trends in Engineering & Technology (ICRTET2012) ISBN: 978-81-925922-0-6. Retrieved from: https://pdfs.semanticscholar.org/9939/6c5942b3eb7174418fb86591c708d8b819b1.pdf [9] D. Rebollo-Monedero, C. Hernández-Baigorri, J. Forné, M. Soriano (2018), "Incremental k- Anonymous Microaggregation in Large-Scale Electronic Surveys with Optimized Scheduling", IEEE Access. [Online]. Retrieved from: http://doi.org/10.1109/ACCESS.2018.2875949 [10] U.S. Gov. Account. Office (GAO), Rep. Congr. Cmte. GAO-15-290, Feb. 2015. High risk series: An update. Ensuring the security of federal information systems and cyber critical infrastructure and protecting the privacy of personally identifiable information. Retrieved from: www.gao.gov/assets/670/668415.pdf [11] Regul. (EU) 2016/679, Eur. Parliam., Apr. 2016. General Data Protection Regulation (GDPR). Retrieved from: http://eur-lex.europa.eu/eli/reg/2016/679/2016-05-04 [12] MISP Project. Open Source Threat Intelligence Platform & Open Standards for Threat Information Sharing. Retrieved from: https://www.misp-project.org/ Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 34 11. Annex 11.1. Code and Files This project is composed of a tool and default policy files for initial use. All this material is attached to this project and this is the repository: Figure 28. TheANT – Repository In each folder we can find the documents that we need to execute the platform. The code is composed by the next files: Figure 29. TheANT – Code In the Policies folder we can find some default policy files. Figure 30. TheANT – Policies All files sanitized are placed on the Results folder. On the document folder the user can place his files. Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 35 11.2. Interesting Regular Expressions REGEX REPEX TARGET COMMENT (\\d{1,3}\\.)(\\d{1,3}\\.)\\d{1,3}\\.\\d{1,3}$ \\1\\2X.X IP Address Subnet Mask /16 (\\d{1,3}\\.)(\\d{1,3}\\.)\\d{1,3}\\.\\d{1,3}$ 255.255.255.255 IP Address No information 192\\.168\\.\\d{1,3}\\.\\d{1,3} 192.168.X.X IP Address Only privates address 10\\.(5[3-9]|[7-9]\\d|1\\d\\d|2[0- 4]\\d|25[0-5])\\.(1?\\d\\d?|2[0-4]\\d|25[0- 5])\\.(1?\\d\\d?|2[0-4]\\d|25[0-5]) 10.X.X.X IP Address IP Address between 10.53.0.0 to 10.255.255.255 ^([0-9]|[1-9][0-9]|[1-9][0-9][0-9]|10[0-2][0- 3])$ Well Known Port Ports Ports between 1- 1023 ^(\\w+)@(\\w+)(\\.com|\\.es|\\.net) EMAIL@\\2\\3 Email Email .com / .es / .net ^([A-Z][a-z]+)( \\d{1,2})*$ \\1 Version Unknown Operating System Operating System without the version ^00\\:40\\:96\\:\\w\\w\\:\\w\\w\\:\\w\\w$ CISCO Systems, Inc. MAC Address Vendor identity ^7C\\:C3\\:A1\\:\\w\\w\\:\\w\\w\\:\\w\\w$ Apple, Inc. MAC Address Vendor identity Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 36 11.3. CIPSEC File – Example {"AlarmEvent": { "USERNAME": "", "SRC_IP": "45.77.86.114", "BACKLOG_ID": "563102ff7123414eb55fa6f60219da36", "DATE": "2018-07-17 18:42:07", "DST_IP": "10.244.67.117", "USERDATA7": "", "USERDATA6": "", "FILENAME": "", "PRIORITY": 4, "RELIABILITY": 10, "ORGANIZATION": "clinic", "SENSOR": "AD14C6F3975ED9860E32190EA3DF2535", "SID_NAME": "directive_event: Detected access to SAMBA in Honeypot", "USERDATA2": "", "USERDATA3": "", "USERDATA1": "tcp", "PROTOCOL": 6, "RISK": 4, "USERDATA4": "", "USERDATA5": "", "EVENT_ID": "2a99be5ab6ee43588cbd3bb17029420b", "USERDATA8": "", "USERDATA9": "", "PLUGIN_NAME": "cyber-monitor", "DST_IP_HOSTNAME": "00000000", "RELATED_EVENTS": "[89f011e885a4080027ea052c6df02d06,89f111e885a4080027ea052c1b3cd914]", "PASSWORD": "", "PLUGIN_SID": "2", "CATEGORY": "Recon", "SRC_IP_HOSTNAME": "00000000", "SUBCATEGORY": "Scanner", "RELATED_EVENTS_INFO": { "a": { "userdata2": null, Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 37 "userdata3": null, "userdata1": "tcp", "userdata6": null, "userdata7": null, "userdata4": null, "userdata5": null, "userdata8": null, "userdata9": null, "date": "1531852636", "plugin_sid": 14, "src_port": 61189, "log": "Ikp1bCAxNyAyMDozNzoxNiAxMC4wLjIuMiA/Pz8/Pz9kaW9uYWVhLXN5c2xvZyBhY2NlcHRlZCBjb25uZWN0aW9uIGZyb20gcmVtX2h vc3Q9NDUuNzcuODYuMTE0LHJlbV9wb3J0PTYxMTg5LGxvY2FsX2hvc3Q9ODQuODguNjcuMTE3LGxvY2FsX3BvcnQ9NDQ1LHRyYW5z cG9ydD10Y3AsY29uX3Byb3RvPXNtYmQgIg==", "event_id": "89f011e885a4080027ea052c6df02d06", "filename": null, "src_ip": "45.77.86.114", "device": "10.0.2.44", "plugin_id": 110000, "username": null, "tzone": "2.0", "dst_ip": "84.88.67.117", "interface": "enp0s3", "dst_port": 445, "fdate": "2018-07-17 18:37:16", "organization": "clinic" }, "b": { "userdata2": null, "userdata3": null, "userdata1": "tcp", "userdata6": null, "userdata7": null, "userdata4": null, "userdata5": null, "userdata8": null, "userdata9": null, Development of a sanitization tool to securely share private data for critical-infrastructure protection Final Degree Project. Guillermo Aumatell Salom 38 "date": "1531852927", "plugin_sid": 14, "src_port": 51332, "log": "Ikp1bCAxNyAyMDo0MjowNyAxMC4wLjIuMiA/Pz8/Pz9kaW9uYWVhLXN5c2xvZyBhY2NlcHRlZCBjb25uZWN0aW9uIGZyb20gcmVtX 2hvc3Q9NDUuNzcuODYuMTE0LHJlbV9wb3J0PTUxMzMyLGxvY2FsX2hvc3Q9ODQuODguNjcuMTE3LGxvY2FsX3BvcnQ9NDQ1LHRyY W5zcG9ydD10Y3AsY29uX3Byb3RvPXNtYmQgIg==", "event_id": "89f111e885a4080027ea052c1b3cd914", "filename": null, "src_ip": "45.77.86.114", "device": "10.0.2.44", "plugin_id": 110000, "username": null, "tzone": "2.0", "dst_ip": "84.88.67.117", "interface": "enp0s3", "dst_port": 445, "fdate": "2018-07-17 18:42:07", "organization": "clinic" } }, "PLUGIN_ID": "70000", "SRC_PORT": 51332, "DST_PORT": 445 } }