Skip to content

pmourlanne/seclab_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code I've written for my project while working at the UCSB Seclab. The overall goal is to spot suspicious activity by looking at the connexion data.

networkx is needed to run most of the scripts. R and rpy2 are needed to plot the graphs.

A quick description of what's in here:

Clustering the accounts and building the communities

  • cluster.py contains the ClusterTool that lets us build the graph and find the communities within it
  • graph.py is a weighted graph, derived from the networkx graph class
  • community.py is a modified version of the community detection algorithm found here http://perso.crans.org/aynaud/communities/
  • clustering.py shows how I built my communities useing the parsed output from the connexion data

Studying these communities

  • timeseries.py contains the Timeseries class which speaks for itself. It also contains two other classes, IPUsageGraph and AccountUsageGraph that allow us to plot IPs or Accounts activity over time.
  • profile.py contains the ProfileList class. It's used to create and store users' profiles from the raw output. We can also compute the IP/user-agent correlation with this class.
  • profiling.py, like clustering.py, shows how I used my code to obtain the results showed in the paper

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages