· 6 years ago · Jan 06, 2020, 05:20 PM
1https://github.com/MISP/threat-actor-intelligence-server
2
3# threat-actor-intelligence-server
4
5A simple ReST server to lookup threat actors (by name, synonym or UUID) and returning the corresponding MISP galaxy information about the known threat actors.
6
7# Requirements
8
9- Python 3.6
10- Tornado
11
12# Installation
13
14~~~
15git clone https://github.com/MISP/threat-actor-intelligence-server
16cd threat-actor-intelligence-server
17git submodule init
18git submodule update
19pip install -r REQUIREMENTS
20~~~
21
22# Starting the server
23
24~~~
25cd bin
26python tai-server.py
27~~~
28
29By the default, the server is listening on TCP port 8889.
30
31# API and public API
32
33The API is simple and can be queried on the `/query` entry point by POSTing a simple query in JSON format. The query format is
34composed of an `name` as key or an `uuid` as key. The output format is a JSON in the [MISP standard galaxy format](https://www.misp-standard.org/rfc/misp-standard-galaxy-format.txt).
35
36Query such as `{"name":"APT34"}` or `{"name":"Sofacy"}` does the search on the name or potential synonyms.
37
38There is also a simple GET entry point `/get/<UUID>` entry point followed by the UUID of the threat-actor.
39
40- [https://www.misp-project.org/tai/get/103ebfd8-4280-4027-b61a-69bd9967ad6c](https://www.misp-project.org/tai/get/103ebfd8-4280-4027-b61a-69bd9967ad6c) which returns the entries for a specific threat-actor.
41
42A public API is available at the following url `https://www.misp-project.org/tai/` and can be queried to gather the latest information about threat-actors.
43
44## Example using curl
45
46~~~json
47curl --silent -d '{"name":"APT34"}' -H "Content-Type: application/json" -X POST https://www.misp-project.org/tai/query | jq .
48[
49 {
50 "description": "Since at least 2014, an Iranian threat group tracked by FireEye as APT34 has conducted reconnaissance aligned with the strategic interests of Iran. The group conducts operations primarily in the Middle East, targeting financial, government, energy, chemical, telecommunications and other industries. Repeated targeting of Middle Eastern financial, energy and government organizations leads FireEye to assess that those sectors are a primary concern of APT34. The use of infrastructure tied to Iranian operations, timing and alignment with the national interests of Iran also lead FireEye to assess that APT34 acts on behalf of the Iranian government.",
51 "meta": {
52 "attribution-confidence": "50",
53 "cfr-suspected-state-sponsor": "Iran (Islamic Republic of)",
54 "cfr-suspected-victims": [
55 "Middle East"
56 ],
57 "cfr-target-category": [
58 "Government",
59 "Private sector"
60 ],
61 "cfr-type-of-incident": "Espionage",
62 "country": "IR",
63 "refs": [
64 "https://www.fireeye.com/content/dam/collateral/en/mtrends-2018.pdf",
65 "https://www.wired.com/story/apt-34-iranian-hackers-critical-infrastructure-companies/ ",
66 "https://www.fireeye.com/blog/threat-research/2017/12/targeted-attack-in-middle-east-by-apt34.html",
67 "https://www.cfr.org/interactive/cyber-operations/apt-34"
68 ],
69 "synonyms": [
70 "APT 34"
71 ]
72 },
73 "related": [
74 {
75 "dest-uuid": "68ba94ab-78b8-43e7-83e2-aed3466882c6",
76 "tags": [
77 "estimative-language:likelihood-probability=\"likely\""
78 ],
79 "type": "similar"
80 }
81 ],
82 "uuid": "73a521f6-3bc7-11e8-9e30-df7c90e50dda",
83 "value": "APT34"
84 }
85]
86~~~
87
88## Example to query a threat-actor by UUID
89
90~~~json
91curl --silent -d '{"uuid":"0286e80e-b0ed-464f-ad62-beec8536d0cb"}' -H "Content-Type: application/json" -X POST https://www.misp-project.org/tai/query | jq .
92{
93 "description": "We have investigated their intrusions since 2013 and have been battling them nonstop over the last year at several large telecommunications and technology companies. The determination of this China-based adversary is truly impressive: they are like a dog with a bone.\nHURRICANE PANDA’s preferred initial vector of compromise and persistence is a China Chopper webshell – a tiny and easily obfuscated 70 byte text file that consists of an ‘eval()’ command, which is then used to provide full command execution and file upload/download capabilities to the attackers. This script is typically uploaded to a web server via a SQL injection or WebDAV vulnerability, which is often trivial to uncover in a company with a large external web presence.\nOnce inside, the adversary immediately moves on to execution of a credential theft tool such as Mimikatz (repacked to avoid AV detection). If they are lucky to have caught an administrator who might be logged into that web server at the time, they will have gained domain administrator credentials and can now roam your network at will via ‘net use’ and ‘wmic’ commands executed through the webshell terminal.",
94 "meta": {
95 "attribution-confidence": "50",
96 "country": "CN",
97 "refs": [
98 "http://www.crowdstrike.com/blog/cyber-deterrence-in-action-a-story-of-one-long-hurricane-panda-campaign/",
99 "https://blog.confiant.com/uncovering-2017s-largest-malvertising-operation-b84cd38d6b85",
100 "https://blog.confiant.com/zirconium-was-one-step-ahead-of-chromes-redirect-blocker-with-0-day-2d61802efd0d"
101 ],
102 "synonyms": [
103 "Black Vine",
104 "TEMP.Avengers",
105 "Zirconium",
106 "APT 31",
107 "APT31"
108 ]
109 },
110 "related": [
111 {
112 "dest-uuid": "a653431d-6a5e-4600-8ad3-609b5af57064",
113 "tags": [
114 "estimative-language:likelihood-probability=\"likely\""
115 ],
116 "type": "similar"
117 },
118 {
119 "dest-uuid": "066d25c1-71bd-4bd4-8ca7-edbba00063f4",
120 "tags": [
121 "estimative-language:likelihood-probability=\"likely\""
122 ],
123 "type": "similar"
124 },
125 {
126 "dest-uuid": "103ebfd8-4280-4027-b61a-69bd9967ad6c",
127 "tags": [
128 "estimative-language:likelihood-probability=\"likely\""
129 ],
130 "type": "similar"
131 }
132 ],
133 "uuid": "0286e80e-b0ed-464f-ad62-beec8536d0cb",
134 "value": "Hurricane Panda"
135}
136~~~
137
138# License and author(s)
139
140This software is free software and licensed under the AGPL version 3.
141
142Copyright (c) 2020 Alexandre Dulaunoy - https://github.com/adulau/
143
144# Contributing
145
146We welcome contributions. Every contributors will be added in the [AUTHORS file](./AUTHORS) and collectively own this open source software. The contributors acknowledge the [Developer Certificate of Origin](https://developercertificate.org/).
147
148If you want to contribute threat-actor information, we welcome you to make a pull-request on the [misp-galaxy repository](https://github.com/MISP/misp-galaxy/blob/master/clusters/threat-actor.json).