Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aitor-alvarez/osint-search

OSINT script to mine and retrieve Yara and Sigma rules from Github repositories using search API
https://github.com/aitor-alvarez/osint-search

github-api osint osint-python osint-tool sigma sigma-rules yara yara-rules

Last synced: about 2 months ago
JSON representation

OSINT script to mine and retrieve Yara and Sigma rules from Github repositories using search API

Awesome Lists containing this project

README

        

# OSINT Search

OSINT scripts to mine and retrieve Yara and Sigma rules from Github repositories using Github search API.

## Installation

```
git clone https://github.com/aitor-alvarez/OSINT-Search

pip install -r requirements.txt

Add GITHUB_API key in creds.py file

```

After installation, the directory downloads/ will be created where the rules will be stored.

## Commands

For searching Sigma or Yara rules (without any optimization in the search) just use the -f argument followed by either string "yara" or "sigma" as shown below:

```
python main.py -f "sigma"
python main.py -f "yara"

```
If a specific string needs to be in the content of the file, the argument -c will need to be passed:

```
python main.py -f "sigma" -c ".exe"
```

Similarly, any file that contains a particular string can be retrieved in the following way:

```
python main.py -f "any" -c "function search_api()"
```