Giter VIP home page Giter VIP logo

dga's Introduction

结合ES的DGA落地方案

数据源

ES抽取

判断思路:

  1. 计算域名中每个字母出现的随机性熵值,熵值越高随机性越高
  2. 判断域名中的英文元音字母所占的比重,判断域名可读性
  3. 将域名拆分后根据n-gram排名,排名越低越可疑
  4. 满足以上三个条件筛选出来的域名,判断同一个IP一天内发起长度相同且格式相同的域名请求次数超过50次
  5. 满足以上条件且同一个IP请求的不相同的域名个数超过5种
  6. 判断域名是否为汉语拼音或拼音首字母组成,是则丢弃,形成最终结果
  7. 将域名进行whois查询,统计查询比例,从而判断检测准确率

更新记录

8月2号更新:新增whois查询模块 8月3号更新:基于贪婪算法过滤汉语拼音或拼音首字母组成的域名

待更新

英文单词组成的DGA域名识别

结果

输出域名、源IP、请求的次数

dga's People

Contributors

homerqing 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.