{"id":22169066,"url":"https://github.com/bnouailhac/misp_simple_scripts","last_synced_at":"2025-06-16T20:37:56.688Z","repository":{"id":259308503,"uuid":"876797978","full_name":"BNouailhac/MISP_Simple_Scripts","owner":"BNouailhac","description":"A suite of python scripts to perform various actions on a local instance of MISP using PyMISP.","archived":false,"fork":false,"pushed_at":"2024-10-23T20:50:13.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T17:21:48.711Z","etag":null,"topics":["misp","pymisp","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BNouailhac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T15:14:59.000Z","updated_at":"2024-10-23T20:50:16.000Z","dependencies_parsed_at":"2024-10-24T08:45:58.889Z","dependency_job_id":"2dc92672-3f51-40ae-b75c-3608dee22ceb","html_url":"https://github.com/BNouailhac/MISP_Simple_Scripts","commit_stats":null,"previous_names":["bnouailhac/misp_simple_scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BNouailhac/MISP_Simple_Scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BNouailhac%2FMISP_Simple_Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BNouailhac%2FMISP_Simple_Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BNouailhac%2FMISP_Simple_Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BNouailhac%2FMISP_Simple_Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BNouailhac","download_url":"https://codeload.github.com/BNouailhac/MISP_Simple_Scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BNouailhac%2FMISP_Simple_Scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260233944,"owners_count":22978899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["misp","pymisp","python"],"created_at":"2024-12-02T06:28:26.432Z","updated_at":"2025-06-16T20:37:56.649Z","avatar_url":"https://github.com/BNouailhac.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MISP Simple Scripts\nThis code provides several scripts for exploiting data from a local MISP installation.\n\n## Python packages used :\n- json\n- csv\n- datetime\n- pandas\n\n## Usage\nThe local MISP api connection variables are in the ‘src/conf/misp_conf.py’ file.\n\n### misp_create_event.py\nScript to create a new event in misp\n\n```\n$ python3 ./src/create_event.py\n```\n\n### misp_attribute_csv.py\nTakes all the events from the MISP instance to extract the IOCs and create a .csv file for each type of IOC (in the attribute/ folder)\n\n```\n$ python3 ./src/misp_attribute_csv.py\n```\n\n### misp_suricata.py\nTakes all the events from the MISP instance and creates suricata rules to detect them (in the rule/misp.rules file)\n\n```\n$ python3 ./src/misp_suricata.py\n```\n\n### misp_hash_rules.py\nTakes all suricata-compatible file hash IOCs (md5, sha1 and sha256) from the MISP instance to create files collecting them (in the hash/ folder) and a suricata rules file detecting file hashes from these files (in the rule/hash.rules file)\n\n```\n$ python3 ./src/misp_hash_rules.py\n```\n\n### misp_warninglist_csv.py\nTakes all the warninglists in the MISP instance, extracts the IOCs and creates a .csv file for each type (in the warninglist/ folder)\n\n```\n$ python3 ./src/misp_warninglist_csv.py\n```\n\n### misp_pull_feeds.py\nFrom online IOC feeds url (list of feeds available for MISP found on our local instance at : /feeds/index) and drop the files found in the feeds/ folder.\n\n```\n$ python3 ./src/misp_pull_feeds.py\n```\n### misp_push_event.py\nTake all the files in the feeds folder and import them into the local misp instance\n\n```\n$ python3 ./src/misp_push_event.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnouailhac%2Fmisp_simple_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbnouailhac%2Fmisp_simple_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnouailhac%2Fmisp_simple_scripts/lists"}