# OSINT Framework

## OSINT Framework

### Spiderfoot

**SpiderFoot** is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.

SpiderFoot has an embedded web-server for providing a clean and intuitive web-based interface but can also be used completely via the command-line. It's written in **Python 3** and **GPL-licensed**.

#### Installation

{% embed url="<https://github.com/smicallef/spiderfoot#installing--running>" %}

```
wget https://github.com/smicallef/spiderfoot/archive/v3.4.tar.gz
tar zxvf v3.4.tar.gz
cd spiderfoot-3.4
pip3 install -r requirements.txt
python3 ./sf.py -l 127.0.0.1:5001
```

#### Running a scan

We run a scan against our target: breachdefs.com

![How to run a scan with SpiderFoot](/files/-Mk2cPLO7nQjnAz1-Xgt)

#### Results

Once finish we can visualize our results as a graph.

![Graph results of the scan](/files/-Mk2_eUIwwzyoQizPRko)

From it we can see that:

* there is an exchange server running on 192.168.42.11
* a webserver at <https://www.breachdefs.com>
* we also get an email: <david_lightman@breachdefs.com>

### Amass

The OWASP Amass Project performs network mapping of attack surfaces and external asset discovery using open source information gathering and active reconnaissance techniques.

#### Installation

{% embed url="<https://github.com/OWASP/Amass#installation---->" %}

```
apt install amass
```

#### Running a scan

```
amass enum -d breachdefs.com
```

#### Results

Once finish we get two subdomains: [www.breachdefs.com](http://www.breachdefs.com) and owa.breachdefs.com

![Amass results](/files/-Mk2odX44dzBzaCaL4oj)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.breaching-defenses.com/osint-and-recon/osint-framework.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
