• No results found

User Interface for Process Calculus for DoS attack Resistance Analysis

N/A
N/A
Protected

Academic year: 2020

Share "User Interface for Process Calculus for DoS attack Resistance Analysis"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

2017 2nd International Conference on Computer Science and Technology (CST 2017) ISBN: 978-1-60595-461-5

User Interface for Process Calculus for

DoS-attack Resistance Analysis

Motoshi Ikeda and Shin-ya NISHIZAKI

a*

Department of Computer Science, Tokyo Institute of Technology 2-12-1, Ookayama, Meguro, Tokyo 152-8552, Japan

a[email protected]

*Corresponding author

Keywords: Process Calculus, User Interface, Interactive Reasoning.

Abstract. We proposed a process calculus for Denial-of-Service attack resistance,

Spice calculus, which is an extended variation of Milner’s pi-calculus, adding a type system for cost estimation. Though we have studied theoretical aspects of the calculus, a practical application has not yet been developed. In this paper, we design and implement a user interface of reasoning in the Spice calculus. In the user interface, we harmonize both command-line and graphical interfaces. We explain the user interface, giving an example of an actual execution.

Introduction

In this section, we describe several background notions. The process calculus is a formal model of concurrent computation, where a computational step is formalized as a transition between expressions. The calculus of communicating systems (CCS) is a process calculus proposed by Milner [1] in 1980, which provides parallelism and synchronous communication. In 1992, Milner extended CCS as the pi-calculus [2][3][4] by adding name passing, name generation, and name restriction. The pi-calculus has been applied to various applications; the Spi-calculus is a variation of the pi-calculus [5] for

We proposed a new calculus for analysis of Denial-of-Service attack resistance, the Spice-calculus [6][7][8], which is an extension of the spi-calculus. We showed that we can describe the SYN-flood attack [6] and the signaling system [8]. We developed a cooperative technique of model checking and a network simulator using the spice calculus as the formal framework [7].

A theorem prover is software for checking proofs of formal logic. Many implementations of theorem prover have been developed during the last 50 years. Atypical one from the early days is LCF (Logic for Computable Functions) [9] developed by Milner et al., in 1972. The successors of LCF are the HOL prover [10], Isabelle [11], and Coq [12]. A characteristic of the family of these provers is backward interactive reasoning [9] [10].

(2)

Research Purpose

In this paper, we propose a new user interface for the reasoning of the process calculus. The main characteristic of the user interface is cooperation of the graphical representation and textual description, which creates substantial synergy. We implement the reasoning system of the Spice calculus and show concrete examples of the system.

User Interface for the Spice Calculus

The spice calculus [6] is a process calculus for analyzing Denial-of-Service attack resistance, which is an extension of the pi-calculus [4][2][3] and the spi-calculus [5].

A process is the primary expression of the spice calculus, which formulates a concurrent program, originally defined in the pi-calculus.

The definition of the processes is given in the previous paper [6]. The meaning of the processes is defined by the transition systems: reduction relation and commitment relation. The inner-process computation is formalized as the former and the inter-process computation as the latter. Computation costs are attached to each transition. The reduction relation is given as a ternary relation

> :

among processes and and a cost , which means that if a one-step computation from to is carried out, then the cost is entailed. The commitment relation is a quinary relation

⊢ → :

among a configuration type , processes , a name α, an agent process and the cost assignment σ. The agent process is an extension of the process including an intermediate form during communication. The configuration type conveys information on construction of parallel machines in which the process is executed.

(3)

User Interface for Reasoning of the Spice Calculus

In this work, we propose a good combination of textual and graphical interface of reasoning of the Spice calculus. Especially, we focus on the interactive inquiry of transition paths.

[image:3.612.141.479.294.462.2]

The overview of our reasoning system is presented in Fig. 1. In many areas of software application, the graphical user interface using a mouse and a touch screen is now popular and mainstream. However, as regards input, textual input is more effective and powerful than graphical input. Actually, the textual input interface is adopted by theorem provers such as the HOL prover [10], Isabelle [11], Coq [12], Mizar [15], etc. In these theorem provers, the output interfaces are textual. As seen in Fig. 1, the output interface becomes more efficient if it is both textual and graphical. In our reasoning system, we add the graphical output interface to the system. We show the harmonization of textual and graphical methods in the user interface by an actual example below. Our system is implemented in the programming language Java and executed on a MacBookAir with the following specifications: OS X El Capitan, Intel Core i7 (2.2GHz), and main memory 8GB.

Figure 1. Overview of Reasoning System.

We explain a simple example of process transition. We consider the process presented in Fig. 2.

[image:3.612.143.479.522.663.2]
(4)
[image:4.612.131.495.68.257.2]

Figure 3. Execution of tarai process in verbose mode.

In Fig. 3, a user chooses the verbose mode. The system shows that there are two options: one is communication between the first and the second processes, and the other is communication between the first and the third. Next, the user chooses the former option. Then, the system shows that there are two options: one is communication between the first and the second processes and the other is communication between the second and third.

In Fig. 4, the user chooses the simplified mode and then executes the expand command, which searches all possible transitions to depth 5 in the transition derivation tree.

Figure 4. Execution of tarai process in simplified mode.

[image:4.612.122.491.402.633.2]
(5)
[image:5.612.152.476.65.259.2]

Figure 5. Tree Diagram of trace in Figure 4.

An attacker and a victim in the SYN-flood attack [6] is formalized as the process presented in Fig. 6. The tree diagram of the process is shown in Fig. 8.

[image:5.612.150.469.313.669.2]
(6)

read. Therefore, we display both textual and visual tree diagrams representing non-deterministic branches during execution of processes such as those in Figs. 5 and 8.

Conclusion

[image:6.612.142.487.269.616.2]

In this paper, we proposed a new design fora user interface of reasoning in the Spice calculus. In the user interface, both command-line and graphical interfaces are harmonized. We show the effectiveness of the user interface through the actual interaction between the user and the reasoning system. At the moment, our reasoning system supports the operational semantics formalized as a transition system. As a next step, we will apply our new design of the user interface to other forms of reasoning such as the analyzing system collaborated by a model checker and a network simulator [7]. There are many works [16] [17] on methods against attacks through the internet. It is also an interesting issue to study a new user interface for network defense and intrusion detection systems.

(7)
[image:7.612.122.490.69.140.2]

Figure 8. Tree diagram of Figure 7.

Acknowledgement

This work was supported by Grants-in-Aid for Scientific Research (C) (24500009).

References

[1] R. Milner. Communication and Concurrency. Prentice-Hall, Inc., 1989.

[2] R. Milner, J. Parrow, and D. Walker. “A calculus of mobile processes, i,” Information and Computation, vol. 100, no. 1, pp. 1–40, 1992.

[3] R. Milner, J. Parrow, and D. Walker. “A calculus of mobile processes, ii,” Information and Computation, vol. 100, no. 1, pp. 41 – 77, 1992.

[4] D. Sangiorgi and D. Walker. Pi-Calculus: A Theory of Mobile Processes. Cambridge University Press, 2001.

[5] M. Abadi and A. D. Gordon. “A calculus for cryptographic protocols: The spi calculus,” Information and Computation, vol. 148, no. 1, pp. 1 – 70, 1999.

[6] D. Tomioka, S. Nishizaki, and R. Ikeda. “A cost estimation calculus for analyzing the resistance to denial-of-service attack,” in Software Security – Theories and Systems., ser. Lecture Notes in Computer Science, vol. 3233. Springer Berlin Heidelberg, 2004, pp. 25–44.

[7] R. Ikeda, K. Narita, and S. Nishizaki. “Cooperation of model checking and network simulation for cost analyses of distributed systems,” International Journal of Computers and Applications, vol. 33, no. 4, pp. 323–329, 2011.

[8] Y. Ibayashi and S. Nishizaki. “Formalization of signaling system by process calculus,” IERI Procedia, vol. 10, pp. 160–168, 2014.

[9] L. C. Paulson. Logic and Computation: Interactive Proof with Cambridge LCF. Cambridge University Press, 1987.

[10] M. J. C. Gordon and T. F. Melham, Eds., Introduction to HOL: A Theorem Proving Environment for Higher Order Logic. Cambridge University Press, 1993. [11] T. Nipkow, L. C. Paulson, and M. Wenzel. Isabelle/HOL — A Proof Assistant for Higher-Order Logic, ser. LNCS. Springer, 2002, vol. 2283.

(8)

[14] L. Caires and H. T. Vieira. SLMC: A Tool for Model Checking Concurrent Systems against Dynamical Spatial Logic Specifications. Springer Berlin Heidelberg, 2012, pp. 485–491.

[15] A. Naumowicz and A. Korniłowicz. A Brief Overview of Mizar. Springer Berlin Heidelberg, 2009, pp. 67–72.

[16] R. K. Deka, K. P. Kalita, D. Bhattacharya, J. K. Kalita. “Network defense:Approaches, methods and techniques,” J. Netw. Comput. Appl. 2015, 57, 71–84.

Figure

Figure 1. Overview of Reasoning System.
Figure 3. Execution of tarai process in verbose mode.
Figure 5. Tree Diagram of trace in Figure 4.
Figure 7. Execution of SYN-flood Attack Process in simplified mode.
+2

References

Related documents

In class exams(imbedded questions) discussion questions (Rubric) unit assignments (rubric) presentations (skill sheets)role playing (rubric) Practical walk through fire

(2018) found that root cali- bration in combination with concatenated data can lead to extreme overestimation of young divergence times, and in light these known biases, we

In collaboration with Business Policies and CSR in Block 2 a specific management format (franchising) will be analysed applying a real-life case study

(A) The structure of BlNucB (cyan) indicates that it belongs to a novel subgroup of the ␤␤␣ (or His-Me finger) family of non-specific endonucle- ases, as exemplified by Smendo

By using data exploration and analytics, insurers will be able to rank and weigh hundreds of new variables generated by telematics to develop highly accurate telematics pricing

The aim of this experiment was to analyze the biogas production potential using cattle manure compared with activated sludge used as inoculums for biogas production from

An Evidence and Attribute model Based Software Credibility Assessment Tool...