Learning Classification of Freenet Traffic Flow Based on Machine

Learning Classification of Freenet Traffic Flow Based on Machine

Journal of Communications Vol. 13, No. 11, November 2018 Classification of Freenet Traffic Flow Based on Machine Learning Seungwoon Lee1, Seung-hun Shin2, and Byeong-hee Roh1 1 Dept. of Computer Engineering, Ajou University, Suwon 16499, Korea 2 Dasan University College, Ajou University, Suwon 16499, Korea Email: {swleeyg, sihnsh, bhroh}@ajou.ac.kr Abstract—An anonymous overlay network is a virtual and management. This is different from individuals who logical network which can assure privacy but is often misused focus on privacy. Especially for organization, misuse of as a crime. Therefore, it is necessary to find users operating the an anonymous overlay network can lead to security abnormal overlay network in managed network for network problems and also cause traffic loads. In this case, the use administrator. However, there is a lack of research on host of an anonymous overlay network should be detected. detection using Freenet which is one of the popular anonymous overlay networks and all of previous methods require that at Unlike Tor, there is a lack of research on Freenet that least one Freenet node be inserted into the network. In this we are focusing in this paper. Baumeister et al. [7] and paper, we propose classification of Freenet traffic flow based on Tian et al. [8]-[10] proposed an information tracking machine learning. Through this, it is possible to identify the attack using the vulnerability of the Freenet protocol. host operating the Freenet inside the network without joining Roos et al. [11] proposed statistical method to measure Freenet. We also evaluate the performance of classification the scale of Freenet, and Levin et al. [12] passive algorithms. Among them, Decision Tree is most effective with technique for detecting Freenet downloaders. However, 94% of precision and 0.0029 sec of time spent. all of these methods require that at least one Freenet node Index Terms—Freenet, anonymous overlay network, traffic be inserted into the network. When the device becomes a classification, network security Freenet node, its storage is used for file sharing. The storage stores encrypted files that may be used to commit a crime. It is needed to discover Freenet nodes without I. INTRODUCTION joining. These methods also target the node already in An anonymous overlay network is a virtual and logical Freenet. This is unnecessary for the network network which cannot be accessed via typical internet administrator who want to find the Freenet user in browsers. Commonly used anonymous overlay network managed network. services include Freenet [1], Tor [2], and I2P [3] were In this paper, we propose Freenet traffic flow designed to be difficult to track with using non-standard classification based on machine learning. The network protocols, ensuring anonymity. Because those networks administrator monitors whole flows on the border router. provide strong anonymity, the number of users is These flows are filtered according to the nature of Freenet. gradually increasing and several software companies such The filtered flows are finally judged whether it is Freenet as Facebook and Firefox have begun to support them [4], traffic flow or not by the classification algorithm. Using [5]. this method, only monitoring traffic dump can detect that A problem with an anonymous overlay network is that the host is running the Freenet without joining the Freenet there are many cases to abuse of anonymity and network. especially, there are black markets in which malicious The contributions of this paper include the following: software, illegal contents, drugs, guns are traded. Because Freenet node detection without joining Freenet anonymous overlay networks are not accessible through Tailoring method for Classification of Freenet traffic regular search engines like Google, it is easy to avoid flow from a set of captured traffic tracking from the government. For this reason, Optimized machine learning algorithm for real-time anonymous overlay networks are also known as Darknet. Freenet detection For example, the most threatening Ransomware in recent The remainder of this paper is organized as follows. In years, WannaCry includes a module to install Tor for Section II, we introduce Freenet briefly and review the trading Bitcoin [6]. related works. In Section III, we analyze the From a network administrator’s point of view, it is characteristics of Freenet traffic flow and propose the necessary to find and respond to users who operate the Classification of Freenet traffic flow based on Machine abnormal overlay network in the network under Learning. We evaluate the performance of classification method in Section IV, and conclude this paper and Manuscript received March 20, 2018; revised October 22, 2018. discuss our future work in Section V. Corresponding author email: [email protected] doi:10.12720/jcm.13.11.654-660 ©2018 Journal of Communications 654 Journal of Communications Vol. 13, No. 11, November 2018 II. BACKGROUND minimum is 576. Even it is configurable, the user does not change the default value in general. A. Freenet Port Number Randomization Freenet has been Freenet, developed by Ian Clarke, is one of the assigned the port randomly during installation and representative services of anonymous overlay networks. supports manual change of port number. This prevent It can be regarded as a decentralized data repository for Freenet node from tracking and detection using the port sharing information against censorship. Basically, Freenet number. That is, the port number cannot be used as a node can publish and subscribe anonymously with Key function of classification. based Peer-to-Peer (P2P) method. Without key, it is B. Related Work unable to obtain the target data. Here are two routing Several studies have been conducted to collect features why it is difficult to detect Freenet traffic flows. information on Freenet. Baumeister et al. [7] proposed a Location Value Routing in Freenet uses their own Routing Table Insertion attack. Through this attack, the feature called location value rather than a shortest path neighbor of the target node can be configured as the algorithm used in a typical network. Location value is attacker's node. If all neighbor nodes of the target are specified by hashing the XOR operation value with attackers, the anonymity of the node is not guaranteed. various values such as the position value and seed value Tian et al. [8]-[10] proposed a traceable vulnerability of the neighbors. Freenet nodes act as logical routers as and a countermeasure against UID. UIDs uniquely well as senders and receivers. When a node receives a file assigned to each message are stored for each node so that request from a neighbor node, it relays the request no loop is generated. However, in the earlier version of message to the neighbors while hiding the request Freenet, the UID changes in the node where the data information like the onion routing (Tor). At this time, the exists in the node transmitting the data back. Therefore, route to be forwarded is determined by the location value an attacker can assume that the node whose UID changes not the IP address of the destination. The node also is the node holding the data. This is a factor that greatly periodically changes this value to avoid tracking. hinders the anonymity provided by Freenet. The authors Key-Based Routing Another routing feature of proposed a dynID (Dynamic ID) scheme to change the Freenet is key-based data transmission. In Freenet, all UID for each hop, and applied to the official update content can be represented by a hashed key value. The Roos et al. [11] wanted to measure the scale of Freenet hash value of the content is also converted to a location by inserting 80 nodes into the Freenet in 2014. These value and stored in the node with the closest location monitoring nodes logged all messages sent, received or value. Because of the hash function for which the result is relayed. They also measured the session length with the completely different even if the data are slightly different, neighbors and the inter-session length. According to this the key value is completely different even for similar files. experiment, the average number of online nodes Due to this, when similar files are stored on a Freenet, it connected to Freenet can be estimated as 2,000-3,000. can automatically prevent data from being stored in the Levine et al. [12] proposed a passive technique for same or adjacent nodes. Nodes use keys when requesting detecting Freenet downloaders. They derived a Bayesian data. The request node asks its neighbor who has the framework for testing whether a peer may be closest location value to the location value of the key to downloading a document, based on counting the requests see if it has the data. The data is transmitted if there is the observed. This can determine if the node is the Original data in it. In the contrast, neighbor asks its neighbor Requester or the relay node that requested the data. It whether it has file if there is no data. As this process is requires only single node, but must own the manifests to repeated, the request message is delivered to the node that monitor in advance. has the data, and the file is delivered to the requesting In the studies above-mentioned, the detectors must join node along the path the message was sent. in the network as a Freenet node. When the detector joins The characteristics at the packet level are as follows. Freenet, encrypted files that cannot be opened are stored UDP Freenet nodes send packets with UDP (User in the detector's node and other nodes share the file via Datagram Protocol) as transport layer protocol. Freenet the detector. This may result in wasted resources at the packet includes an IPv4 header of 20 bytes and a UDP detector's node, as well as engaging in illegal activities.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us