GithubHelp home page GithubHelp logo

mmamun1 / authpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rheiland/authpy

0.0 0.0 0.0 2.18 MB

Python scripts to analyze an authentication dataset.

Python 27.07% Jupyter Notebook 72.93%

authpy's Introduction

authpy

Python scripts to analyze an authentication dataset.

The authentication dataset from LANL (http://csr.lanl.gov/data/auth/) provides a valuable benchmark dataset for researchers in cybersecurity and/or graphs/networks.

We recommend using the Anaconda Python 3 distribution.

Getting Started

We begin by generating two files from the original dataset:

  • time_secs_binary_f32.dat - a binary file containing just the time (secs) data (32-bit values)
  • auth_graph_adjlist.dat - an ASCII file containing the global graph (as an adjacency list)

The script create_time_graph_files.py will generate both of them. However, it took about 8 hours on a laptop. So, the (compressed) global graph file is in the /data directory. The other file (times) can be generated using create_time_file.py (which takes just a few minutes).

Sample scripts

$ ipython --matplotlib

Python 3.4.2 |Anaconda 2.1.0 
...
Using matplotlib backend: MacOSX

In [1]: %run create_time_file
...

In [2]: %run histo_time

matplotlib plot of histogram of time events

Interactive matplotlib window with pan, zoom, rubberband buttons


In [3]: %run readG_draw

After some time, the full graph will be plotted (below, for what it's worth). You can then interactively pan and zoom in on regions of interest.

authN graph

Global, static authN graph


In [4]: %run readG_hub_subgraph

hub subgraph

A hub as a subgraph


hub subgraph

authpy's People

Contributors

rheiland avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.