# Raven | Advanced and Customizable Cyber Threat Map

**URL:** <https://onehack.st/t/raven-advanced-and-customizable-cyber-threat-map/212771>\
**Category:** Tools & Scripts\
**Tags:** tools, technology\
**Created:** [January 22, 2022, 5:01pm UTC](https://onehack.st/t/raven-advanced-and-customizable-cyber-threat-map/212771 "2022-01-22T17:01:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hannah](https://onehack.st/user_avatar/onehack.st/hannah/32/174875_2.png) [@Hannah](https://onehack.st/u/Hannah)\
**Post date:** [January 22, 2022, 5:01pm UTC](https://onehack.st/t/raven-advanced-and-customizable-cyber-threat-map/212771/1 "2022-01-22T17:01:32Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/f/d/fdf73ef1ede8df8305b312fcfd022f14c6e2cce3.png)

Raven - Advanced Cyber Threat Map (Simplified, customizable and responsive. It uses D3.js with TOPO JSON, has 247 countries, ~100,000 cities, and can be used in an isolated environment **without external lookups!**.

## Live - Demo [Firefox, Chrome or Safari]

[https://qeeqbox.github.io/raven/](https://qeeqbox.github.io/raven/index.html)

## Offline - Demo [Firefox, Chrome or Safari]

[![](https://raw.githubusercontent.com/qeeqbox/raven/main/readme/intro.gif)](https://raw.githubusercontent.com/qeeqbox/raven/main/readme/intro.gif)

## Features

- Uses D3.js (Not Anime.js)
- Active threat map (Live and replay)
- IP, country, city, and port info for each attack
- Attacks stats for countries (Only known attacks)
- Responsive interface (Move, drag, zoom in and out)
- Customize options for countries and cites
- 247 countries are listed on the interface (Not 174)
- Optimized worldmap for faster rendering
- Includes IP lookup, port information
- Random simulation (IP, country, city)
- Can be used online or offline (Static)
- Theme picker module

## Embed it

//You only need to embed this iframe in your project. //Then, run the initialization script with your custom settings - That’s all!

## Functions

#### Plotting data

raven.add\_marker\_by\_name() //Plot info by country or city name raven.add\_marker\_by\_ip() //Plot data by IP address raven.add\_marker\_by\_coordinates() //Plot data by coordinates marker\_object //An object {‘from’:‘’,‘to’:“”} see examples colors\_object //An object {‘line: {‘from’: ‘’#FF0000’,‘to’: ‘FF0000’}} this the color of the line between 2 points - (if null, then a random color will be picked) timeout //Animation time out options = //A list of options such as animation marker raven.add\_marker\_by\_name({‘from’:‘seattle,wa,us’,‘to’:‘delhi,in’},{‘line’:{‘from’:null,‘to’:null}},2000,[‘line’]) raven.add\_marker\_by\_ip({‘from’:‘0.0.0.0’,‘to’:‘0.0.0.0:53’},{‘line’:{‘from’:‘#FF0000’,‘to’:‘#FF0000’}},1000,[‘line’) raven.add\_marker\_by\_coordinates({‘from’:[‘-11.074920’,‘-51.648929’],‘to’:[‘51.464957’,‘-107.583864’]},{‘line’:{‘from’:null,‘to’:‘#FFFF00’}},1000,[‘line’])

#### Plotting data + adding it to the output table

raven.add\_to\_data\_to\_table() //Plot info and add them to the output table method //Name, IP or coordinates marker\_object //An object {‘from’:‘’,‘to’:“”} see examples colors\_object //An object {‘line: {‘from’: ‘’#FF0000’,‘to’: ‘FF0000’}} this the color of the line between 2 points - (if null, then a random color will be picked) timeout //Animation time out options = //A list of options such as animation marker ‘line’, and plot place ‘multi-output’ or ‘single-out’ table or both raven.add\_to\_data\_to\_table(‘name’,{‘from’:‘seattle,wa,us’,‘to’:‘delhi,in’},{‘line’:{‘from’:null,‘to’:null}},2000,[‘line’,‘multi-output’,‘single-output’]) raven.add\_to\_data\_to\_table(‘ip’,{‘from’:‘0.0.0.0’,‘to’:‘0.0.0.0:3389’},{‘line’:{‘from’:‘#FF0000’,‘to’:‘#FF0000’}},1000,[‘line’,‘multi-output’]) raven.add\_to\_data\_to\_table(‘coordinates’,{‘from’:[‘-11.074920’,‘-51.648929’],‘to’:[‘51.464957’,‘-107.583864’]},{‘line’:{‘from’:null,‘to’:‘#FFFF00’}},1000,[‘line’,‘single-output’])

## Resources

- Wikipedia, naturalearthdata, d3.js, topojson, jquery, font-awesome, OSINT package, iana, geonames, AFRINIC, APNIC, ARIN, LACNIC and RIPE
- Let me know if I missed a reference or resource!

## Disclaimer\Notes

- The dark grey style is typical in my projects (You can change that if you want)
- If you need help improving your world map or cyber threat map, reach out, and I might be able to help you!
- Please spend some time in understanding how this project works before opening any issues or leaving any inquiries or **comments**
- If you want to see other examples of worldmaps that **DO NOT** have all the features listed in this project (Google image search → world map dark grey)

## Links

- [kitploit](https://www.kitploit.com/2022/01/raven-advanced-cyber-threat-map.html)

## Other Projects

[![](https://github.com/qeeqbox/.github/raw/main/data/analyzer.png)](https://github.com/qeeqbox/analyzer) [![](https://github.com/qeeqbox/.github/raw/main/data/chameleon.png)](https://github.com/qeeqbox/chameleon) [![](https://github.com/qeeqbox/.github/raw/main/data/honeypots.png)](https://github.com/qeeqbox/honeypots) [![](https://github.com/qeeqbox/.github/raw/main/data/osint.png)](https://github.com/qeeqbox/osint) [![](https://github.com/qeeqbox/.github/raw/main/data/url-sandbox.png)](https://github.com/qeeqbox/url-sandbox) [![](https://github.com/qeeqbox/.github/raw/main/data/mitre-visualizer.png)](https://github.com/qeeqbox/mitre-visualizer) [![](https://github.com/qeeqbox/.github/raw/main/data/woodpecker.png)](https://github.com/qeeqbox/woodpecker) [![](https://github.com/qeeqbox/.github/raw/main/data/docker-images.png)](https://github.com/qeeqbox/docker-images) [![](https://github.com/qeeqbox/.github/raw/main/data/seahorse.png)](https://github.com/qeeqbox/seahorse) [![](https://github.com/qeeqbox/.github/raw/main/data/rhino.png)](https://github.com/qeeqbox/rhino)

## GitHub:

> **[GitHub - qeeqbox/raven: Advanced Cyber Threat Map (Simplified,...](https://github.com/qeeqbox/raven)**
>
> Advanced Cyber Threat Map (Simplified, customizable, responsive and optimized)
