Projects tagged ‘detection’ and ‘java’


[7 total ]

2 Users
 

Stream Utilities (EasyStream)Small set of utilities for dealing with streams. You can use this library for: 'Convert' an OutputStream into an InputStream. If it's the first time you think about it ... [More] , you'd better have a look at this preamble. Stream statistics gathering: bytes read/written, bit rate. Stream buffering: read the content of an InputStream multiple times or seek to a definite position. Stream wiring: While reading the data from an InputStream "tee" it to supplied OutputStream(s) or write data to multiple OutputStream(s) at the same time. EasyStream is a natural extension of Apache commons-io, providing advanced solutions to some common but not trivial problem. Focus is on performance and memory usage. Format detection (WazFormat)This library is a format identification framework that integrates a native format identification engine with droid and in future will integrate mime-utils and apache tika. Supports more than 60 file formats. on the fly detection: it wraps the original InputStream so it's able to "preserve" the data in it for further processing (the data is eventually buffered to disk or to memory but the users won't notice it). Nested detection: it can detect what is inside a bzip2 stream or a PKCS#7 document. Result of identification is an Enum. Most of identification libraries return a string that must be further parsed by the calling software. What is next ?Take a 5 minutes tutorial: stream utilities, format identification. Check out the API ( easystream and wazformat ) download the latest version (see the link on the right) or if you're a Maven2 user install it. post your questions on the users forum. .gadget-title { margin-bottom: 2px; } function resizeIframeHandler(opt_height) { var elem = document.getElementById(this.f); if (!elem) return; if (!opt_height) { elem.style.height = undefined; } else { opt_height = Math.max(10, opt_height); elem.style.height = opt_height + 'px'; } } gadgets.rpc.register("resize_iframe", resizeIframeHandler); gadgets.rpc.register('set_title', function(title) { var elem = document.getElementById(this.f + '_title'); if (elem) { elem.innerHTML = gadgets.util.escape(title); } }); Any help is appreciated (also comment or suggestion or bug reports). If you want to contribute please contact me through the forum and request for a membership. [Less]
Created about 1 year ago.

0 Users

Java implementation on speeded up robust features SURF. SURF (Speeded Up Robust Features) is a robust image descriptor, first presented by Herbert Bay et al. in 2006, that can be used in computer ... [More] vision tasks like object recognition or 3D reconstruction. It is partly inspired by the SIFT descriptor. The standard version of SURF is several times faster than SIFT and claimed by its authors to be more robust against different image transformations than SIFT. SURF is based on sums of 2D Haar wavelet responses and makes an efficient use of integral images. As basic image features it uses a Haar wavelet approximation of the determinant of Hessian blob detector. More about surf on http://en.wikipedia.org/wiki/SURF Currenty this project is refactored version of http://processingsurf.altervista.org/ where the dependency of Processing is removed. The general idea is to create java SURF lib that can be easily integrated into excising projects also to give various example sub projects interesting usage of SURF for machine learning and computer vision projects [Less]
Created 4 months ago.

0 Users

Intelligent Secure Systems IDS in JavaAuthors: Jason Laver, Nicholas Pike, Jeffery Prokop What is it?An IDS (Intrusion Detection System) is a System designed to detect security intrusions on a given ... [More] system. An intrusion detection system detects many types of malicious network traffic and computer usage that can't be detected by a conventional firewall. This includes network attacks against vulnerable services, data driven attacks on applications, host based attacks such as privilege escalation, unauthorized logins and access to sensitive files, and malware (viruses, trojan horses, and worms). IDS' can come in two distinct flavors, Anomaly and Misuse Based IDS. AnomalyAnomaly based detection relies upon an easily identifiable pattern of normal use. Anything that does not fall within the boundaries of this normal use is flagged as a possible intrusion. The advantage of this is that as new attacks are generated, the IDS does not necessarily need to be modified in order to counter this. Any use that is out of the ordinary is immediately flagged. Conversely, if a system does not have a regular pattern of normal use, then many false positives (good use flagged as bad) can occur. MisuseMisuse based detection relies upon identifiable patterns and signatures of 'bad' use. Here, signatures and patterns of known bad use is used to check system use against. If use matches something known by the IDS, it is bad. Otherwise, all traffic not recognized is considered good. In a system where normal traffic cannot be easily characterized by a pattern, Misuse IDS becomes more effective since less false positives are found. However, false negatives (bad use flagged as good) can occur as new attacks not known to the system have no problem gaining access. How does it work?Quite simply, both IDS systems function the same way. Both rely on proper pattern recognition in order to analyze and correctly flag traffic. In order to do this, we used statistical analysis in order to create a general model for our IDS to check against. Step 1: Get the DataFirst, we have to get the data that we build our data set out of. In the case of Anomaly Based IDS, we have to get a large set so examples of normal usage. For Misuse Based IDS, we have to get examples of known bad traffic and misuse. For our project, these were provided to us in the form of 41 comma delineated factors for each packet. These 41 factors are defined in the assignment document. Step 2: Create a SignatureNow that we have a large collection of data, it's time for some descriptive statistics. We will then find the Q1(first quartile) and Q3(third quartile) values for each of the factors that we are checking for. This is a way to normalize our data and remove any outliers from our data population. Step 3: Compare Traffic to SignatureFinally, all that's left is to compare an instance of traffic to our signature. This is done by simply seeing if a factor in the traffic falls within the quartile values in the factor of our signature. If this is true, our traffic has one more thing in common with our signature. Key :: Factor=y and Traffic=X and Signature=S Common Count = 0 FOR ALL Factors IF S(Q1)y < Xy < S(Q2)y THEN Common Count+=1 So, how do we measure then how many commonalities dictate a flagged match to our signature? Well, we created an integer variable called a Security Level(SECURITY_LEVEL) for just this purpose. The security level defines a number that which if the commonality count is greater than or equal to the Security Level, then we flag the traffic as matching the signature. In order to set the Security Level, we used a set of test traffic where misuse and normal usage counts were known (2200 packets, 2000 normal, 200 misuse) and ran our IDS against it until the Security Level gave us comparable results to what we knew to be good and bad in our test data. Developement ProcessThe workload for the development of this software is as follows: Nicholas Pike : Gathering statistics - Reading in of signatures for processing Identifying thresholds by generating quartiles from pertinent data colums Parsing of data (BSReader.java) - Read in a prepare data files in a useable format Jason Laver : Parsing of data (ISSBDataParser.java) - Read in a prepare data files in a useable format AnomalyIDS.java - Reading in, analyzing, and outputing of attack results based on thresholds Jeff Prokop : MisuseIDS.java - Reading in, analyzing, and outputting of attack results based on known breaches The team met on several occassions to coordinate work efforts and overall design. The majority of time was spent on the implementation of the Anomaly and Misuse classes from conception to execution. Estimated man hours = 18 - 20 hours [Less]
Created 12 months ago.

0 Users

Detect software design patterns in Java software using static and dynamic code analysis. I just finished packing up the software with examples and a set of scripts that are needed to run the ... [More] examples. Download this package http://mb-pde.googlecode.com/files/pde.examples.tar.gz Run static: java -cp ./conf/log4j.properties:./lib/log4j-1.2.15.jar:pde.jar ca.yorku.cse.designpatterns.PatternDetectionEngine -static Run dynamic: java -cp ./conf/log4j.properties:./lib/log4j-1.2.15.jar:pde.jar ca.yorku.cse.designpatterns.PatternDetectionEngine -dynamic Introduction - http://code.google.com/p/mb-pde/wiki/Introduction Approach - http://code.google.com/p/mb-pde/wiki/Topic Results - http://code.google.com/p/mb-pde/wiki/Results This project is new and still in development. Right now I am working on documenting the software and the methods to detect software design patterns that were introduced in this work. Please let me know if you have questions. Design patterns abstract reusable object-oriented software design. Each pattern solves design problems that occur in every day software development. The detection of design patterns during the process of software reverse engineering can provide a better understanding of the software system. The latest tools rely on the abstract syntax tree representation of the source code for fact extraction. Our approach uses static and dynamic code analysis to detect design pattern in Java applications. We use the roles, responsibilities and collaboration information of each design pattern to define static and dynamic definitions. The static definitions are used to find candidate instances during the static analysis. After the static analysis we validate the found candidate instances using the dynamic behavior of design patterns. For the dynamic analysis we instrument the Java bytecode of the application we are analyzing with additional code fragments and extract method traces from the running application. These method traces represent the dynamic facts of an application. We present several restrictions that are used to define design patterns dynamically. After the dynamic validation we rank the results according on how good they match the dynamic definitions. This thesis introduces a new approach in detection of object-oriented design patterns in Java applications. We test our approach using the 23 original GoF design patterns and analyze the results. Compared to other tools, our software achieves better results in detecting design patterns. The methods we choose for our approach work great in detecting patterns given the static and dynamic facts as input files. [Less]
Created 12 months ago.

0 Users

Projet 1984 Projet de fin d'année de DUT Informatique Auteur: Antoine Poulet Guillaume Matta Emilie Houziaux Permet de detecter des mouvement à l'aide d'une webcam en utilisant des filtres ... [More] (gaussien,.......) Fait en Java et utilisant l'API JM [Less]
Created 12 months ago.

0 Users

The project offers an implementation of the Randomized Hough Transform for Ellipse Detection, as described in the Basca et al. article (1). (1) Cosmin A. Basca, Mihai Talos and Remus Brad ... [More] , Randomized Hough Transform for Ellipse Detection with Result Clustering, Proceedings of IEEE EUROCON 2005, The International Conference on "Computer as a Tool", vol. II, pp.1397-1400, Belgrade Serbia November 2005, ISBN 1-4244-0049-X, http://remus.ulbsibiu.ro/publications/papers/eurocon2005.pdf [Less]
Created 8 months ago.

0 Users

JVAT is a video annotation tool, which is used to draw SVG animations over videos. These SVG documents can be separate files or they can be stored in video containers along with the video. ... [More] Algorithms used in JVAT: Canny Edge Detector http://en.wikipedia.org/wiki/Canny_edge_detector Sobel Operator http://en.wikipedia.org/wiki/Sobel_operator Blob Detection http://v3ga.net/processing/BlobDetection/ Either Jffmpeg or Fobs4JMF is required to view video files properly. Screenshots edge detection samples: http://yfrog.com/0iblobedp http://yfrog.com/3dblobed2p http://yfrog.com/3dcannyp http://yfrog.com/3dsobelp drawing sample: http://yfrog.com/3dmanualp [Less]
Created 2 months ago.