Maltego transforms, which allow users to enrich IP entities in maltego with CrowdSec CTI intelligence.
Make sure your instance has docker and docker compose installed. The instance should have a public IP.
Clone the repo and cd into it and start docker compose:
git clone https://github.com/crowdsecurity/maltego-transforms
cd maltego-transforms
docker compose up
With your current working directory being in the cloned repo. Run the following command to point the settings to your instance 's IP
sed -i "s/my_ip/1.2.3.4/g" transforms.csv
Replace 1.2.3.4 with your instance's IP
-
Navigate your browser to pTDS website
-
Create an account and login.
-
Navigate to Transforms
-
Click on import Transforms.
-
Click on Choose File and navigate to
transforms.csv
file we modified earlier. -
Finally click on Import Transform Button
-
Navigate to Seeds
-
Click on Add Seed Button.
-
Fill in the Seed Name, with name of your choice.
-
Click on the Transforms dropdown and select all the CrowdSec Transforms.
-
Click on the Add Seed Button.
Done ! You can now share the Seed URL to maltego clients, and they'd be able to use the transforms.
In your maltego client register the Seed URL we created in the above deployment guide by following this guide
-
Obtain the CrowdSec CTI API key by following this guide
-
Follow this guide except select CrowdSec Transform Server.
-
Copy paste the API key in the
API key
field in the tranform properties
Done !
All the CrowdSec transforms take the builtin IP entity as an input. You'd have an option to run them whenever you right click an IP entity.
As per your requirements you can either run multiple transforms or just a single one.
Below is a reference to what each transform does.
Adds AS entity for an IP by leveraging CrowdSec CTI data
Adds activity details properties to an IP using CrowdSec data.
Attaches CrowdSec CTI API response as a property to IP entity.
Creates a behaviour entity for an IP by leveraging CrowdSec CTI data
Creates classification details entities for an IP using CrowdSec data.
Creates an IP range entity for an IP by leveraging CrowdSec CTI data.
Adds location entities by leveraging CrowdSec CTI data.
Creates Reverse DNS entity for an IP by leveraging CrowdSec CTI data
Creates entites for scenarios triggered by IP using CrowdSec CTI data.
Adds score details for an IP by using CrowdSec CTI.
Links IP entity with countries most attacked by it, using CrowdSec data.