on

Introduction to Blueliv’s API, part1

Greetings everyone!

Today we want to introduce you a little bit more to our API and show you all the amazing things you can do with the data.

This post is the first of a series that we plan to write in order to make things easier for you when using our API.

So, to begin, we’ll start with something easy. Let’s plot some data with the pygal library (which is amazing, by the way, you should try it out: http://pygal.org/). In order to do so, we are going to use our SDK to download all the information we have on the Crime Servers that are online. Using the example in the SDK as a baseline, we’ve created a small python code that downloads the data, stores it in a file, and plots two different graphs:

wm1
The first graph shows the distribution of Crime Servers in a world map, in which you can see that the countries with the most Crime Servers are China and U.S.

crime server endurance

This second graph shows the top 10 of the most resistant Crime Servers by type. Using the attributes ‘firstSeenAt’ and ‘lastSeenAt’ we’ve calculated the apparent time that the Crime Servers have been active. If you download the SVG and put your mouse above one of the bars, you’ll get the amount of days that the Crime Server has been active and its IP.

That’s all for today! Have a nice day,

Victor Acin,

Threat Intelligence Analyst

P.D. Here you have the source code that implements this, feel free to use it!

Demo Free Trial MSSP
Program