Coder Social home page Coder Social logo

mkdemir / opencti-watcher Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 440 KB

Watcher is a solution that integrates with security products using IoC (Indicator of Compromise) information gathered through the OpenCTI platform. This integration makes it possible to detect and respond to threats faster.

License: MIT License

Shell 2.74% PowerShell 8.85% Python 88.41%
cti opencti python

opencti-watcher's Introduction

WATCHER

PyPI - Python Version GitHub

Watcher is a solution that integrates with security products using IoC (Indicator of Compromise) information gathered through the OpenCTI platform. This integration makes it possible to detect and respond to threats faster.

Table of contents

Features

  • Integrates with security products
  • Uses IoC information gathered through OpenCTI

Setup

  1. Install and configure OpenCTI
    • For more information on OpenCTI installation, please refer to their documentation.
  2. Clone the Watcher repository:
  3. Install dependencies:
    • Windows - Powershell: To install OpenCTI on Windows using PowerShell, run the following command .\setup_powershell.ps1 -PythonVersion "3.11" -EnvName "venv" -RequirementsFile ".\requirements.txt" -PythonVersion specifies the Python version to install. -EnvName specifies the name of the virtual environment to create. -RequirementsFile specifies the path to the requirements file containing the dependencies.
    • Linux/Unix - shell script: To install OpenCTI on Linux/Unix using the shell script, run the following command ./setup_linux.sh

Usage

  1. Navigate to the opencti-watcher/src/ directory in your terminal.
  2. Run the command ../venv/bin/python3 main.py to start the script.
  3. When prompted, enter the URL and API key of your OpenCTI server.
  4. The script will start running and sending IoC information to your OpenCTI server.
  5. When the script finishes, it will stop running.
  6. You can find the files containing IoC information under the data/data_log/ folder.

Note: Make sure to have a running OpenCTI instance and API key available before running the script.

Contributing

  1. Fork this repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes and commit them (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

opencti-watcher's People

Contributors

mkdemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ekalaya

opencti-watcher's Issues

Problem opencti synchronize

Good morning friend, how are you, thanks for sharing the script, I'm trying to synchronize with my opencti and I have this problem below

Captura de tela 2023-05-28 094249

Thanks

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.