# 🏠 Home

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FEe2E4PNuLUIt4S95bmYb%2FOSIF%20LOGO%20BLACK%20(1).png?alt=media&amp;token=b2d539ff-93af-4969-bdd0-d4776aed5d43" alt=""><figcaption></figcaption></figure>

Opensource Intelligence Framework (OSIF) is an open-source framework dedicated to OSINT. For the ease of use, the interface has a layout that looks like Metasploit.

It consists of various modules that aid OSINT operations:

1. Attack Surface
2. Blockchain
3. Email
4. Geolocation
5. Host Enumeration
6. IoC
7. Mobile
8. Social Media
9. Web Enumeration

**Repository:** <https://github.com/fr4nc1stein/osint-framework>

**Release:**

v1.0.0 - <https://github.com/fr4nc1stein/osint-framework/releases/tag/v1.0.0>


# 🖥 Installation

## Docker Installation (Recommended)

#### Docker installation

Get [Docker](https://docs.docker.com/get-docker/) for Windows, Linux and MacOS

**Where to get Docker Compose**

**Windows and macOS**

Docker Compose is included in [Docker Desktop](https://www.docker.com/products/docker-desktop) for Windows and macOS.

#### Linux

You can download Docker Compose binaries from the [release page](https://github.com/docker/compose/releases) on this repository.

Run OSIF with docker and docker-compose

<pre><code>git clone https://github.com/fr4nc1stein/osint-framework osif
cd osif
<strong>docker-compose up -d
</strong>docker exec -ti osif bash
./osif
</code></pre>

If not started, follow this instruction below:

```
docker build --no-cache  --tag osif .
docker run -ti osif bash
./osif
```

## Manual Installation

Recommended on Linux or Kali

Install Dependencies:

```
sudo apt-get update && \
    apt-get -y install gcc mono-mcs 

sudo apt-get update && apt-get install git build-essential -y
sudo apt-get install libmagic1 -y
```

Fork the Repo

```
git clone https://github.com/fr4nc1stein/osint-framework osif
cd osif
pip3 install -r requirements
```

## Configuration

Create .env

1. Virustotal API <https://www.virustotal.com/>
2. CENSYS API <https://accounts.censys.io/> (not working - still fixing)
3. ABUSECH <https://bazaar.abuse.ch/> (not required)
4. SHODAN API <https://account.shodan.io/>
5. HUNTER API <https://hunter.io/api-keys>
6. BITCOINABUSE API <https://www.bitcoinabuse.com/>
7. WIGLE API <https://wigle.net/> (geolocation module)

```
VT_API=""
CENSYS_APPID=""
CENSYS_SECRET=""
ABUSECH_API_KEY = ""
SHODAN_API_KEY = ""
HUNTER_API_KEY = ""
BITCOINABUSE_API_KEY = ""
WIGLE_API_NAME = ""
WIGLE_API_TOKEN = ""
```

```
─$ ./osif


                                                         ##     ####   #####   ######
                                                        #  #   #    #    #     #
                                                       #    #  #         #     #
                                                       #    #   ####     #     ####
                                                       #    #       #    #     #
                                                        #  #   #    #    #     #
                                                         ##     ####   #####   #

            
                                                             >> OSINT Framework                                                            
                                                                 >> @laet4x                                                                
                                                                                                                                           
 

        -=[ 2 attack-surface ]=-
        -=[ 3 blockchain     ]=-
        -=[ 1 email          ]=-
        -=[ 4 host_enum      ]=-
        -=[ 2 ioc            ]=-
        -=[ 1 social         ]=-
        -=[ 1 web_enum       ]=-

[!] There are some issues ; use 'show issues' to see more details
osif > use host_enum/dns_records    
```


# ⌨️ Usage

**Commands:**

```
osif > help 
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FdrqMJR4vPAYFmRCXlOsT%2Fhelp.png?alt=media&amp;token=1d0ee79c-5582-44f3-8839-23229e8c2e43" alt=""><figcaption><p>help</p></figcaption></figure>

```
osif > show modules
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2F4rOK1SvbOm9ITygefVnH%2Fshow-modules.png?alt=media&amp;token=dd308c32-9708-441e-95b0-38320b62bf70" alt=""><figcaption><p>show module</p></figcaption></figure>

```
osif > search "keyword"
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2F4daZCiNsGzlb3c3wdsyd%2Fsearch.png?alt=media&amp;token=7706ae65-4624-45ad-b343-159cba99420e" alt=""><figcaption><p>search</p></figcaption></figure>

```
osif > use blockchain/bitcoin_balance 
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FEkxgayNiSDZYPx3Vjk35%2Fuse.png?alt=media&amp;token=d6651bab-9328-4fee-be11-4b4e31b1aa5f" alt=""><figcaption><p>use modules</p></figcaption></figure>

```
osif blockchain(bitcoin_balance) > show options
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2F6TH7QK0R2JQtjZWnoFu5%2Fshow-options.png?alt=media&amp;token=fcd7c0cf-f753-4510-b71c-d076a2a43713" alt=""><figcaption><p>show options</p></figcaption></figure>

```
osif blockchain(bitcoin_balance) > set ADDRESS "address-here"
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FH7xcWE61H1hT4A2peLJ8%2Fset-address.png?alt=media&amp;token=0969a625-4a2c-4de0-a466-ae010ecc59d8" alt=""><figcaption><p>set address</p></figcaption></figure>

```
osif blockchain(bitcoin_balance) > run
```

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2F8pEF23zvu628pJ5csPUW%2Frun.png?alt=media&amp;token=efe84120-ec79-4313-9cac-34137e05580d" alt=""><figcaption><p>run</p></figcaption></figure>


# 📖 Contribution

### Contribution Guidelines

There are many ways to contribute to the OSIF project. This overview summarizes the most important steps to get you started as a contributor.

* Report bugs to the OSIF issue tracker.
* Make suggestions for changes, updates, or new features to the OSIF issue tracker.
* Contribute bug fixes, example code, documentation, or tutorials to OSIF.
* Contribute new features to OSIF.

### Contribute new modules

* *Fork it!*&#x20;
* *Create your feature/module branch: **git checkout -b my-new-module***&#x20;
* *Commit your changes: **git commit -am 'Add some module'***&#x20;
* *Push to the branch: **git push origin my-new-module***&#x20;
* *Submit a pull request*

### Module

Modules python code must be place inside **modules -> sub-folder**

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FK20XP0QDum0GjI2Ihwhh%2FScreen%20Shot%202022-10-14%20at%208.09.40%20PM.png?alt=media&amp;token=09ef2c4c-3eb6-4d27-ba8c-a3d0e55b32a4" alt=""><figcaption><p>module structure</p></figcaption></figure>

This example shows an example of a  module for OSIF aimed to find the DNS Records

<figure><img src="https://800454546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnBVmC5uLWXKgFdckqjq%2Fuploads%2FkqondJAaGvf5XsSJQBr5%2FScreen%20Shot%202022-10-14%20at%208.14.50%20PM.png?alt=media&amp;token=3836bac8-b335-49ce-a515-77dff8606894" alt=""><figcaption></figcaption></figure>


# ✏️ Contributor

### Contributor

**Author / Module Developer**

laet4x  is a Cyber Security Professional who focuses on Red and Blue Teaming, he is a blockchain enthusiast and loves to play CTF. He is a python lover (not a snake), ruby, PHP, and javascript.

**Module Developer**

cadeath, is a software engineer, security professional, and blockchain expert. He love pokemons, bulbasaur, typhlosion, python, Vaporeon, visualbasic, ruby, perl,and more.


# 🚧 Roadmap

Modules:

* [x] Attack Surface
  * [x] Shodan
  * [ ] Censys
* [x] Bitcoin and Ethereum Address Information
  * [x] BitcoinAbuse
  * [x] Bitcoin Wallet Balance
  * [x] Ethereum Wallet Balance
  * [x] Ethereum Address and ENS lookup
* [x] Email
  * [x] hunter.io
  * [ ] snov.io
* [x] Host Enumeration Modules
  * [x] DNS Records
  * [x] DNS Host
  * [x] IPLookUP
  * [x] Sublister
* [x] Geolocation
  * [x] SSID/Bluetooth Search
* [x] IOC
  * [x] VirusTotal URL
  * [ ] VirusTotal Hash
  * [x] AbuseCH Hash
* [x] Mobile
  * [x] Temp Number Identifier (Philippines Only)
* [x] Social
  * [x] Twitter Follower
* [x] Web Enumeration
  * [x] Wappalyzer
* [x] Repositories
  * [ ] SearchCode

Others (No Category Yet)

* [ ] LeakIX
* [ ] IPAbuse
* [ ] Domain History


