Giter VIP home page Giter VIP logo

botnet-dga-classifier's People

Contributors

nickwallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

botnet-dga-classifier's Issues

Download Files into Data/

The required data files are currently downloaded into the R session's temp directory. This will change for each R session. This is not typically an issue except when generating R markdowns. RMD's are built in a new session each time, which causes the data files to be downloaded each and every time.

Magnitude of Length Overwhelming Dictionary Words Feature

The initial results give roughly twice as much importance to length versus dictionary words. This may simply be because the magnitude of length (min = 1, mean = 10.98, max = 63) is greater than the magnitude of dictionary words (min = 0, mean = 0.13, max = 1.0).

Simply centering and scaling these features should resolve the issue.

Dictionary Word Count Favors Long Domain Names

If the minimum length of an acceptable dictionary word is 2, we can see anomalies like the following.

legit: facebook.com has 6 dictionary words
malicious: trkirbiintwifllswdawckvinon.ru has 17 dictionary words

As currently implemented, the feature does not seem to distinguish legit from malicious domains as good as it could. We also know that malicious domains tend to have more characters generally.

Visualize Poor Sensitivity of Malicious Domains

The model is only able to correctly classify 9.2% of malicious domains (sensitivity). How can this be visualized?

Create a plot of only those that are malicious. Then do a scatter plot of length versus dictionary and color by whether they were correctly classified or not.

Length of Domain Name

The length of the domain name itself is likely to be an important differentiator between malicious and benign domain names.

Count Dictionary Words in the Domain

The number of valid dictionary words embedded as substrings within the domain is likely to be a good differentiator between malicious (DGA-generated) and benign domain names.

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.