vamp-darkweb-intel 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vamp_darkweb_intel-1.0.0/LICENSE +21 -0
- vamp_darkweb_intel-1.0.0/PKG-INFO +229 -0
- vamp_darkweb_intel-1.0.0/README.md +203 -0
- vamp_darkweb_intel-1.0.0/pyproject.toml +37 -0
- vamp_darkweb_intel-1.0.0/setup.cfg +4 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/PKG-INFO +229 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/SOURCES.txt +10 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/dependency_links.txt +1 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/entry_points.txt +2 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/requires.txt +5 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.egg-info/top_level.txt +1 -0
- vamp_darkweb_intel-1.0.0/vamp_darkweb_intel.py +996 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 VampSecure Studios
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vamp-darkweb-intel
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Darkweb & threat intelligence CLI — cross-source IOC lookup with automatic correlation across ThreatFox, URLhaus, MalwareBazaar, RansomLook, GreyNoise, Shodan and more
|
|
5
|
+
Author-email: VampSecure Studios <contact@vampsecurestudios.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/Vampsecure-Labs/vamp-darkweb-intel
|
|
8
|
+
Project-URL: Repository, https://github.com/Vampsecure-Labs/vamp-darkweb-intel
|
|
9
|
+
Keywords: threat-intelligence,darkweb,ioc,ransomware,malware,osint,security,pentest
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Information Technology
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Security
|
|
17
|
+
Classifier: Topic :: Internet
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: rich>=13.7.0
|
|
22
|
+
Provides-Extra: tor
|
|
23
|
+
Requires-Dist: requests[socks]>=2.31.0; extra == "tor"
|
|
24
|
+
Requires-Dist: stem>=1.8.2; extra == "tor"
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
<h1 align="center">vamp-darkweb-intel</h1>
|
|
28
|
+
|
|
29
|
+
<p align="center">
|
|
30
|
+
<img src="https://img.shields.io/badge/python-3.9%2B-blue?logo=python&logoColor=white" alt="Python 3.9+"/>
|
|
31
|
+
<img src="https://img.shields.io/badge/platform-linux%20%7C%20macOS%20%7C%20windows-lightgrey" alt="Platform"/>
|
|
32
|
+
<img src="https://img.shields.io/badge/license-MIT-green" alt="License MIT"/>
|
|
33
|
+
<img src="https://img.shields.io/badge/VampSecure-Labs-magenta" alt="VampSecure Labs"/>
|
|
34
|
+
<img src="https://img.shields.io/badge/API%20keys-optional-brightgreen" alt="API keys optional"/>
|
|
35
|
+
</p>
|
|
36
|
+
|
|
37
|
+
## Overview
|
|
38
|
+
|
|
39
|
+
`vamp-darkweb-intel` is a threat intelligence and darkweb research CLI that queries a target (domain, IP, hash, or URL) across multiple public feeds in parallel and **automatically correlates signals from independent sources**. When two or more sources flag the same indicator, the engine escalates severity — a C2 confirmed in both ThreatFox and OTX is more actionable than a single mention.
|
|
40
|
+
|
|
41
|
+
It works **without any API keys** using a curated set of free public feeds. Optional API keys (OTX, HIBP) unlock higher rate limits and additional data sources.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
|
|
45
|
+
| Source | Type | API key? | Target |
|
|
46
|
+
|--------|------|----------|--------|
|
|
47
|
+
| ThreatFox (abuse.ch) | IOC / C2 | No | Domain · IP · Hash · URL |
|
|
48
|
+
| URLhaus (abuse.ch) | Malware distribution | No | Domain · IP · URL |
|
|
49
|
+
| MalwareBazaar (abuse.ch) | Malware samples | No | Hash |
|
|
50
|
+
| RansomLook | Ransomware victims | No | Domain |
|
|
51
|
+
| Ransomware.live | Ransomware victims (recent) | No | Domain |
|
|
52
|
+
| GreyNoise Community | IP context (scanner / malicious) | No | IP |
|
|
53
|
+
| Shodan InternetDB | Open ports · CVEs | No | IP |
|
|
54
|
+
| AlienVault OTX | Threat intel pulses | Optional | Domain · IP · Hash |
|
|
55
|
+
| HackerTarget | IP geolocation | No | IP |
|
|
56
|
+
| Have I Been Pwned | Domain breach check | `HIBP_API_KEY` | Domain |
|
|
57
|
+
|
|
58
|
+
## Features
|
|
59
|
+
|
|
60
|
+
- Automatic target type detection: domain, IP, MD5/SHA1/SHA256 hash, or URL
|
|
61
|
+
- Parallel queries across all relevant sources (configurable workers)
|
|
62
|
+
- **Correlation engine**: if ≥2 independent sources flag the same category, severity escalates by one level
|
|
63
|
+
- Zero mandatory dependencies — only Python stdlib and `rich`
|
|
64
|
+
- Export to Console, JSON, HTML (dark-theme), Markdown, and CSV
|
|
65
|
+
- Exit codes suited for CI/CD pipelines (0 = clean, 1 = HIGH, 2 = CRITICAL)
|
|
66
|
+
|
|
67
|
+
## Requirements
|
|
68
|
+
|
|
69
|
+
- Python 3.9 or later
|
|
70
|
+
- `rich >= 13.7.0`
|
|
71
|
+
|
|
72
|
+
## Installation
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
git clone https://github.com/Vampsecure-Labs/vamp-darkweb-intel.git
|
|
76
|
+
cd vamp-darkweb-intel
|
|
77
|
+
python3 -m venv .venv
|
|
78
|
+
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
79
|
+
pip install -r requirements.txt
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Or via PyPI:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
pip install vamp-darkweb-intel
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Try it now
|
|
89
|
+
|
|
90
|
+
No setup required — these queries go to public free-tier feeds:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Investigate an IP (GreyNoise + Shodan InternetDB + OTX + ThreatFox)
|
|
94
|
+
python3 vamp_darkweb_intel.py -t 1.1.1.1
|
|
95
|
+
|
|
96
|
+
# Check a domain for threat feed presence and ransomware victims
|
|
97
|
+
python3 vamp_darkweb_intel.py -t example.com
|
|
98
|
+
|
|
99
|
+
# Look up a known malware hash
|
|
100
|
+
python3 vamp_darkweb_intel.py -t 44d88612fea8a8f36de82e1278abb02f
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
> These targets will show INFO or CLEAN results — they are safe, well-known hosts and hashes used only to demonstrate the tool workflow.
|
|
104
|
+
|
|
105
|
+
## Examples
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# Single domain investigation
|
|
109
|
+
python3 vamp_darkweb_intel.py -t suspicious-domain.com
|
|
110
|
+
|
|
111
|
+
# Multiple targets in one run
|
|
112
|
+
python3 vamp_darkweb_intel.py -t 185.220.101.1 -t evil-corp.biz
|
|
113
|
+
|
|
114
|
+
# Bulk investigation from file
|
|
115
|
+
python3 vamp_darkweb_intel.py --file iocs.txt --workers 10
|
|
116
|
+
|
|
117
|
+
# Force target type (useful for ambiguous inputs)
|
|
118
|
+
python3 vamp_darkweb_intel.py -t abc123def456... --type hash
|
|
119
|
+
|
|
120
|
+
# Export full results to all formats
|
|
121
|
+
python3 vamp_darkweb_intel.py -t 192.0.2.1 \
|
|
122
|
+
--json results.json \
|
|
123
|
+
--html report.html \
|
|
124
|
+
--markdown report.md \
|
|
125
|
+
--csv report.csv
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Optional API keys
|
|
129
|
+
|
|
130
|
+
Set these environment variables before running to unlock additional sources:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
export OTX_API_KEY=your_key_here # AlienVault OTX — extended rate limit
|
|
134
|
+
export HIBP_API_KEY=your_key_here # Have I Been Pwned domain breach check
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Copy `.env.example` to `.env` and fill in the keys you have:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
cp .env.example .env
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Correlation engine
|
|
144
|
+
|
|
145
|
+
The engine cross-references findings by category across all sources. When two or more independent sources report the same finding category for a target, the highest-severity finding in that category is escalated by one level (up to CRITICAL).
|
|
146
|
+
|
|
147
|
+
**Example**: if ThreatFox reports `Threat Feed / MEDIUM` (confidence 50%) and OTX reports the same domain in 4 pulses (`Threat Intelligence / LOW`), the correlation engine adds a `MEDIUM → HIGH` escalated finding with a note listing both sources.
|
|
148
|
+
|
|
149
|
+
This reduces noise from low-confidence single-source hits while surfacing genuine threats confirmed by independent intelligence.
|
|
150
|
+
|
|
151
|
+
## CI/CD Integration
|
|
152
|
+
|
|
153
|
+
```yaml
|
|
154
|
+
name: Threat Intelligence Check
|
|
155
|
+
on:
|
|
156
|
+
schedule:
|
|
157
|
+
- cron: '0 8 * * 1'
|
|
158
|
+
workflow_dispatch:
|
|
159
|
+
|
|
160
|
+
jobs:
|
|
161
|
+
darkweb-intel:
|
|
162
|
+
runs-on: ubuntu-latest
|
|
163
|
+
steps:
|
|
164
|
+
- uses: actions/checkout@v4
|
|
165
|
+
- uses: actions/setup-python@v5
|
|
166
|
+
with: { python-version: '3.12' }
|
|
167
|
+
- run: pip install vamp-darkweb-intel
|
|
168
|
+
- run: |
|
|
169
|
+
vamp-darkweb-intel \
|
|
170
|
+
-t yourdomain.com \
|
|
171
|
+
--json intel-results.json \
|
|
172
|
+
--markdown intel-report.md
|
|
173
|
+
# Exit 1 = HIGH findings, exit 2 = CRITICAL findings
|
|
174
|
+
env:
|
|
175
|
+
OTX_API_KEY: ${{ secrets.OTX_API_KEY }}
|
|
176
|
+
HIBP_API_KEY: ${{ secrets.HIBP_API_KEY }}
|
|
177
|
+
- uses: actions/upload-artifact@v4
|
|
178
|
+
if: always()
|
|
179
|
+
with:
|
|
180
|
+
name: intel-report
|
|
181
|
+
path: intel-report.md
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## CLI Reference
|
|
185
|
+
|
|
186
|
+
| Flag | Default | Description |
|
|
187
|
+
|------|---------|-------------|
|
|
188
|
+
| `-t / --target TARGET` | — | Investigation target: domain, IP, hash, or URL (repeatable) |
|
|
189
|
+
| `--file FILE` | — | Text file with one target per line |
|
|
190
|
+
| `--type TYPE` | auto | Force target type: `domain`, `ip`, `hash`, `url`, `email` |
|
|
191
|
+
| `--timeout N` | 12 | Per-source request timeout in seconds |
|
|
192
|
+
| `--workers N` | 6 | Parallel source queries |
|
|
193
|
+
| `--json FILE` | — | Export results to JSON |
|
|
194
|
+
| `--html FILE` | — | Export dark-theme HTML report |
|
|
195
|
+
| `--markdown FILE` | — | Export Markdown report |
|
|
196
|
+
| `--csv FILE` | — | Export CSV results |
|
|
197
|
+
|
|
198
|
+
## Exit Codes
|
|
199
|
+
|
|
200
|
+
| Code | Meaning | CI/CD Behavior |
|
|
201
|
+
|------|---------|----------------|
|
|
202
|
+
| `0` | Clean — no HIGH or CRITICAL findings | Pipeline passes |
|
|
203
|
+
| `1` | HIGH-severity findings detected | Pipeline fails — review required |
|
|
204
|
+
| `2` | CRITICAL findings detected | Pipeline fails — immediate action required |
|
|
205
|
+
|
|
206
|
+
## Severity levels
|
|
207
|
+
|
|
208
|
+
| Level | Examples |
|
|
209
|
+
|-------|---------|
|
|
210
|
+
| CRITICAL | Active C2/botnet confirmed · malware hash confirmed · CVEs on exposed service |
|
|
211
|
+
| HIGH | IOC in threat feed · ransomware victim confirmed · IP classified malicious |
|
|
212
|
+
| MEDIUM | Low-confidence IOC · IP active scanner · multi-source correlation upgrade |
|
|
213
|
+
| LOW | Mentioned in old intelligence · minor open port surface |
|
|
214
|
+
| INFO | Geolocation data · known-good infrastructure (RIOT) |
|
|
215
|
+
|
|
216
|
+
## Legal Notice
|
|
217
|
+
|
|
218
|
+
Use exclusively on systems you own or for which you hold explicit written authorization from the system owner. VampSecure Studios assumes no liability for unauthorized use.
|
|
219
|
+
|
|
220
|
+
## Part of VampSecure Labs Toolkit
|
|
221
|
+
|
|
222
|
+
`vamp-darkweb-intel` is part of the VampSecure Labs security research toolkit.
|
|
223
|
+
|
|
224
|
+
- Portfolio: [github.com/belky-me](https://github.com/belky-me)
|
|
225
|
+
- Orchestrator: [github.com/belky-me/vamp-orchestrator](https://github.com/belky-me/vamp-orchestrator)
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
© VampSecure Studios — VampSecure Labs Security Research Division
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
<h1 align="center">vamp-darkweb-intel</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://img.shields.io/badge/python-3.9%2B-blue?logo=python&logoColor=white" alt="Python 3.9+"/>
|
|
5
|
+
<img src="https://img.shields.io/badge/platform-linux%20%7C%20macOS%20%7C%20windows-lightgrey" alt="Platform"/>
|
|
6
|
+
<img src="https://img.shields.io/badge/license-MIT-green" alt="License MIT"/>
|
|
7
|
+
<img src="https://img.shields.io/badge/VampSecure-Labs-magenta" alt="VampSecure Labs"/>
|
|
8
|
+
<img src="https://img.shields.io/badge/API%20keys-optional-brightgreen" alt="API keys optional"/>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
`vamp-darkweb-intel` is a threat intelligence and darkweb research CLI that queries a target (domain, IP, hash, or URL) across multiple public feeds in parallel and **automatically correlates signals from independent sources**. When two or more sources flag the same indicator, the engine escalates severity — a C2 confirmed in both ThreatFox and OTX is more actionable than a single mention.
|
|
14
|
+
|
|
15
|
+
It works **without any API keys** using a curated set of free public feeds. Optional API keys (OTX, HIBP) unlock higher rate limits and additional data sources.
|
|
16
|
+
|
|
17
|
+
## Sources
|
|
18
|
+
|
|
19
|
+
| Source | Type | API key? | Target |
|
|
20
|
+
|--------|------|----------|--------|
|
|
21
|
+
| ThreatFox (abuse.ch) | IOC / C2 | No | Domain · IP · Hash · URL |
|
|
22
|
+
| URLhaus (abuse.ch) | Malware distribution | No | Domain · IP · URL |
|
|
23
|
+
| MalwareBazaar (abuse.ch) | Malware samples | No | Hash |
|
|
24
|
+
| RansomLook | Ransomware victims | No | Domain |
|
|
25
|
+
| Ransomware.live | Ransomware victims (recent) | No | Domain |
|
|
26
|
+
| GreyNoise Community | IP context (scanner / malicious) | No | IP |
|
|
27
|
+
| Shodan InternetDB | Open ports · CVEs | No | IP |
|
|
28
|
+
| AlienVault OTX | Threat intel pulses | Optional | Domain · IP · Hash |
|
|
29
|
+
| HackerTarget | IP geolocation | No | IP |
|
|
30
|
+
| Have I Been Pwned | Domain breach check | `HIBP_API_KEY` | Domain |
|
|
31
|
+
|
|
32
|
+
## Features
|
|
33
|
+
|
|
34
|
+
- Automatic target type detection: domain, IP, MD5/SHA1/SHA256 hash, or URL
|
|
35
|
+
- Parallel queries across all relevant sources (configurable workers)
|
|
36
|
+
- **Correlation engine**: if ≥2 independent sources flag the same category, severity escalates by one level
|
|
37
|
+
- Zero mandatory dependencies — only Python stdlib and `rich`
|
|
38
|
+
- Export to Console, JSON, HTML (dark-theme), Markdown, and CSV
|
|
39
|
+
- Exit codes suited for CI/CD pipelines (0 = clean, 1 = HIGH, 2 = CRITICAL)
|
|
40
|
+
|
|
41
|
+
## Requirements
|
|
42
|
+
|
|
43
|
+
- Python 3.9 or later
|
|
44
|
+
- `rich >= 13.7.0`
|
|
45
|
+
|
|
46
|
+
## Installation
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
git clone https://github.com/Vampsecure-Labs/vamp-darkweb-intel.git
|
|
50
|
+
cd vamp-darkweb-intel
|
|
51
|
+
python3 -m venv .venv
|
|
52
|
+
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
53
|
+
pip install -r requirements.txt
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Or via PyPI:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pip install vamp-darkweb-intel
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Try it now
|
|
63
|
+
|
|
64
|
+
No setup required — these queries go to public free-tier feeds:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Investigate an IP (GreyNoise + Shodan InternetDB + OTX + ThreatFox)
|
|
68
|
+
python3 vamp_darkweb_intel.py -t 1.1.1.1
|
|
69
|
+
|
|
70
|
+
# Check a domain for threat feed presence and ransomware victims
|
|
71
|
+
python3 vamp_darkweb_intel.py -t example.com
|
|
72
|
+
|
|
73
|
+
# Look up a known malware hash
|
|
74
|
+
python3 vamp_darkweb_intel.py -t 44d88612fea8a8f36de82e1278abb02f
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
> These targets will show INFO or CLEAN results — they are safe, well-known hosts and hashes used only to demonstrate the tool workflow.
|
|
78
|
+
|
|
79
|
+
## Examples
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Single domain investigation
|
|
83
|
+
python3 vamp_darkweb_intel.py -t suspicious-domain.com
|
|
84
|
+
|
|
85
|
+
# Multiple targets in one run
|
|
86
|
+
python3 vamp_darkweb_intel.py -t 185.220.101.1 -t evil-corp.biz
|
|
87
|
+
|
|
88
|
+
# Bulk investigation from file
|
|
89
|
+
python3 vamp_darkweb_intel.py --file iocs.txt --workers 10
|
|
90
|
+
|
|
91
|
+
# Force target type (useful for ambiguous inputs)
|
|
92
|
+
python3 vamp_darkweb_intel.py -t abc123def456... --type hash
|
|
93
|
+
|
|
94
|
+
# Export full results to all formats
|
|
95
|
+
python3 vamp_darkweb_intel.py -t 192.0.2.1 \
|
|
96
|
+
--json results.json \
|
|
97
|
+
--html report.html \
|
|
98
|
+
--markdown report.md \
|
|
99
|
+
--csv report.csv
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Optional API keys
|
|
103
|
+
|
|
104
|
+
Set these environment variables before running to unlock additional sources:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
export OTX_API_KEY=your_key_here # AlienVault OTX — extended rate limit
|
|
108
|
+
export HIBP_API_KEY=your_key_here # Have I Been Pwned domain breach check
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Copy `.env.example` to `.env` and fill in the keys you have:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
cp .env.example .env
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Correlation engine
|
|
118
|
+
|
|
119
|
+
The engine cross-references findings by category across all sources. When two or more independent sources report the same finding category for a target, the highest-severity finding in that category is escalated by one level (up to CRITICAL).
|
|
120
|
+
|
|
121
|
+
**Example**: if ThreatFox reports `Threat Feed / MEDIUM` (confidence 50%) and OTX reports the same domain in 4 pulses (`Threat Intelligence / LOW`), the correlation engine adds a `MEDIUM → HIGH` escalated finding with a note listing both sources.
|
|
122
|
+
|
|
123
|
+
This reduces noise from low-confidence single-source hits while surfacing genuine threats confirmed by independent intelligence.
|
|
124
|
+
|
|
125
|
+
## CI/CD Integration
|
|
126
|
+
|
|
127
|
+
```yaml
|
|
128
|
+
name: Threat Intelligence Check
|
|
129
|
+
on:
|
|
130
|
+
schedule:
|
|
131
|
+
- cron: '0 8 * * 1'
|
|
132
|
+
workflow_dispatch:
|
|
133
|
+
|
|
134
|
+
jobs:
|
|
135
|
+
darkweb-intel:
|
|
136
|
+
runs-on: ubuntu-latest
|
|
137
|
+
steps:
|
|
138
|
+
- uses: actions/checkout@v4
|
|
139
|
+
- uses: actions/setup-python@v5
|
|
140
|
+
with: { python-version: '3.12' }
|
|
141
|
+
- run: pip install vamp-darkweb-intel
|
|
142
|
+
- run: |
|
|
143
|
+
vamp-darkweb-intel \
|
|
144
|
+
-t yourdomain.com \
|
|
145
|
+
--json intel-results.json \
|
|
146
|
+
--markdown intel-report.md
|
|
147
|
+
# Exit 1 = HIGH findings, exit 2 = CRITICAL findings
|
|
148
|
+
env:
|
|
149
|
+
OTX_API_KEY: ${{ secrets.OTX_API_KEY }}
|
|
150
|
+
HIBP_API_KEY: ${{ secrets.HIBP_API_KEY }}
|
|
151
|
+
- uses: actions/upload-artifact@v4
|
|
152
|
+
if: always()
|
|
153
|
+
with:
|
|
154
|
+
name: intel-report
|
|
155
|
+
path: intel-report.md
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## CLI Reference
|
|
159
|
+
|
|
160
|
+
| Flag | Default | Description |
|
|
161
|
+
|------|---------|-------------|
|
|
162
|
+
| `-t / --target TARGET` | — | Investigation target: domain, IP, hash, or URL (repeatable) |
|
|
163
|
+
| `--file FILE` | — | Text file with one target per line |
|
|
164
|
+
| `--type TYPE` | auto | Force target type: `domain`, `ip`, `hash`, `url`, `email` |
|
|
165
|
+
| `--timeout N` | 12 | Per-source request timeout in seconds |
|
|
166
|
+
| `--workers N` | 6 | Parallel source queries |
|
|
167
|
+
| `--json FILE` | — | Export results to JSON |
|
|
168
|
+
| `--html FILE` | — | Export dark-theme HTML report |
|
|
169
|
+
| `--markdown FILE` | — | Export Markdown report |
|
|
170
|
+
| `--csv FILE` | — | Export CSV results |
|
|
171
|
+
|
|
172
|
+
## Exit Codes
|
|
173
|
+
|
|
174
|
+
| Code | Meaning | CI/CD Behavior |
|
|
175
|
+
|------|---------|----------------|
|
|
176
|
+
| `0` | Clean — no HIGH or CRITICAL findings | Pipeline passes |
|
|
177
|
+
| `1` | HIGH-severity findings detected | Pipeline fails — review required |
|
|
178
|
+
| `2` | CRITICAL findings detected | Pipeline fails — immediate action required |
|
|
179
|
+
|
|
180
|
+
## Severity levels
|
|
181
|
+
|
|
182
|
+
| Level | Examples |
|
|
183
|
+
|-------|---------|
|
|
184
|
+
| CRITICAL | Active C2/botnet confirmed · malware hash confirmed · CVEs on exposed service |
|
|
185
|
+
| HIGH | IOC in threat feed · ransomware victim confirmed · IP classified malicious |
|
|
186
|
+
| MEDIUM | Low-confidence IOC · IP active scanner · multi-source correlation upgrade |
|
|
187
|
+
| LOW | Mentioned in old intelligence · minor open port surface |
|
|
188
|
+
| INFO | Geolocation data · known-good infrastructure (RIOT) |
|
|
189
|
+
|
|
190
|
+
## Legal Notice
|
|
191
|
+
|
|
192
|
+
Use exclusively on systems you own or for which you hold explicit written authorization from the system owner. VampSecure Studios assumes no liability for unauthorized use.
|
|
193
|
+
|
|
194
|
+
## Part of VampSecure Labs Toolkit
|
|
195
|
+
|
|
196
|
+
`vamp-darkweb-intel` is part of the VampSecure Labs security research toolkit.
|
|
197
|
+
|
|
198
|
+
- Portfolio: [github.com/belky-me](https://github.com/belky-me)
|
|
199
|
+
- Orchestrator: [github.com/belky-me/vamp-orchestrator](https://github.com/belky-me/vamp-orchestrator)
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
© VampSecure Studios — VampSecure Labs Security Research Division
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "vamp-darkweb-intel"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Darkweb & threat intelligence CLI — cross-source IOC lookup with automatic correlation across ThreatFox, URLhaus, MalwareBazaar, RansomLook, GreyNoise, Shodan and more"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [{ name = "VampSecure Studios", email = "contact@vampsecurestudios.com" }]
|
|
13
|
+
keywords = ["threat-intelligence", "darkweb", "ioc", "ransomware", "malware", "osint", "security", "pentest"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 5 - Production/Stable",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"Intended Audience :: Information Technology",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Topic :: Security",
|
|
22
|
+
"Topic :: Internet",
|
|
23
|
+
]
|
|
24
|
+
dependencies = ["rich>=13.7.0"]
|
|
25
|
+
|
|
26
|
+
[project.optional-dependencies]
|
|
27
|
+
tor = ["requests[socks]>=2.31.0", "stem>=1.8.2"]
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
vamp-darkweb-intel = "vamp_darkweb_intel:main"
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://github.com/Vampsecure-Labs/vamp-darkweb-intel"
|
|
34
|
+
Repository = "https://github.com/Vampsecure-Labs/vamp-darkweb-intel"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools]
|
|
37
|
+
py-modules = ["vamp_darkweb_intel"]
|