Skip to content

A simple Python script to export IPs, Domains and URLs from a MISP Instance

Notifications You must be signed in to change notification settings

Stanley9990/MISP-Export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MISP-Export

A collection of simple Python scripts to export IPs, Domains and URLs from a MISP Instance, in either TXT, STIX1 or STIX2 format

Usage

  • Clone repo git clone https://github.com/Stanley9990/MISP-Export.git
  • Install dependencies pip3 install -r requirements.txt or pip install -r requirements.txt
  • Populate config.ini
  • Run script python3 <Script>.py

Range

By default, the program will search for IOCs from the past 1d this is harcoded into each script, but I intend to pass it through as a config param.

Output

  • By default, the files are output to /export
    • Export_TXT.py will export domains.txt, urls.txt and ips.txt
    • Export_STIX1.py will export STIX1.stix
    • Export_STIX2.py will export STIX2.stix

Adding attribute names

For now the way to add attribute types is to edit the corresponding X_common_names list within the scripts

Known Issues

  • Warning errors will be shown when connection to MISP is established. This is because verifycert is set to False in config.ini
  • The printed lines in the source of the test script are difficult to read because I have used inline colour codes. Am I going to change this? Probably not.

About

A simple Python script to export IPs, Domains and URLs from a MISP Instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages