Machinae

Machinae 安全情报收集器。(Machinae Security Intelligence Collector)

  • 所有者: HurricaneLabs/machinae
  • 平台: Docker, Linux, Mac, Windows
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Build Status
CII Best Practices
Quality Gate Status

Machinae Logo

Machinae Security Intelligence Collector

Machinae is a tool for collecting intelligence from public sites/feeds about
various security-related pieces of data: IP addresses, domain names, URLs,
email addresses, file hashes and SSL fingerprints. It was inspired by
[Automater][1], another excellent tool for collecting information. The Machinae
project was born from wishing to improve Automater in 4 areas:

  1. Codebase - Bring Automater to python3 compatibility while making the code
    more pythonic
  2. Configuration - Use a more human readable configuration format (YAML)
  3. Inputs - Support JSON parsing out-of-the-box without the need to write
    regular expressions, but still support regex scraping when needed
  4. Outputs - Support additional output types, including JSON, while making
    extraneous output optional

Installation

Machinae can be installed using pip3:

pip3 install machinae

Or, if you're feeling adventurous, can be installed directly from github:

pip3 install git+https://github.com/HurricaneLabs/machinae.git

You will need to have whatever dependencies are required on your system for
compiling Python modules (on Debian based systems, python3-dev), as well as
the libyaml development package (on Debian based systems, libyaml-dev).

You'll also want to grab the [latest configuration file][2] and place it in
/etc/machinae.yml.

Configuration File

Machinae supports a simple configuration merging system to allow you to make
adjustments to the configuration without modifying the machinae.yml we provide
you, making configuration updates a snap. This is done by finding a system-wide
default configuration (default /etc/machinae.yml), merging into that a
system-wide local configuration (/etc/machinae.local.yml) and finally a
per-user local configuration (~/.machinae.yml). The system-wide configuration
can also be located in the current working directory, can be set using the
MACHINAE_CONFIG environment variable, or of course by using the -c or
--config command line options. Configuration merging can be disabled by
passing the --nomerge option, which will cause Machinae to only load the
default system-wide configuration (or the one passed on the command line).

As an example of this, say you'd like to enable the Fortinet Category site,
which is disabled by default. You could modify /etc/machinae.yml, but these
changes would be overwritten by an update. Instead, you can put the following
in either /etc/machinae.local.yml or ~/.machinae.yml:

fortinet_classify:
  default: true

Or, conversely, to disable a site, such as Virus Total pDNS:

vt_ip:
  default: false
vt_domain:
  default: false

Usage

Machinae usage is very similar to Automater:

usage: machinae [-h] [-c CONFIG] [--nomerge] [-d DELAY] [-f FILE] [-i INFILE] [-v]
            [-o {D,J,N,S}] [-O {ipv4,ipv6,fqdn,email,sslfp,hash,url}] [-q]
            [-s SITES] [-a AUTH] [-H HTTP_PROXY]
            [--dump-config

主要指标

概览
名称与所有者HurricaneLabs/machinae
主编程语言Python
编程语言Python (语言数: 2)
平台Docker, Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2015-07-06 15:14:14
推送于2024-05-15 21:21:13
最后一次提交2024-05-15 17:21:13
发布数14
最新版本名称1.4.9 (发布于 )
第一版名称v1.4.1 (发布于 )
用户参与
星数527
关注者数36
派生数102
提交数197
已启用问题?
问题数41
打开的问题数7
拉请求数27
打开的拉请求数1
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?