opencti icon indicating copy to clipboard operation
opencti copied to clipboard

MS Sentinel - TAXII Connector?

Open BillClarksonAntill opened this issue 3 years ago • 11 comments

Hi All

just wondering if you have any documentation around a TAXII connector for OpenCTI and integration against MS Sentinel

for the life of me I cant find any documentation in the documentation portal

Regards Bill

BillClarksonAntill avatar May 24 '22 04:05 BillClarksonAntill

As far as I know OpenCTI TAXII uses JWT tokens for authentication where as Sentinel requires username/password or no credentials, so won't work, but I'd like to be wrong one this :)

000242xyz avatar May 27 '22 07:05 000242xyz

Would be nice, I dont want to build a MISP server just to use OpenCTI

BillClarksonAntill avatar May 27 '22 07:05 BillClarksonAntill

Could use the CSV feeds in OpenCTI and the externaldata operator in your analytics rules, bit messy though.

000242xyz avatar May 27 '22 08:05 000242xyz

Yea that would be a little bit ugh...

There's 2 ways to integrate into sentinel

Taxii connector from platform to sentinel with url, username and password

Other way is using either a script or direct integration with auth using an app registration with security graph api permissions

I'm surprised a script or platform integration hasn't been written for the community for this and especially for azure and sentinel

One other thing I was going to ask, I know opencti and misp has a connector

Does opencti have the ability to handle multiple misp connectors if I had more then one misp server?

BillClarksonAntill avatar May 27 '22 08:05 BillClarksonAntill

Hello @Xebus-Systems,

We are working on a Sentinel connector now. And to answer your question, yes you can spawn as many MISP connectors as needed if you have multiple MISP instances to consume.

Kind regards, Sam

SamuelHassine avatar May 27 '22 16:05 SamuelHassine

Hi @Xebus-Systems @SamuelHassine,

I got this working over Sentinel > Data connectors > Threat intelligence - TAXII.

Its not perfect, still cant see IoCs in ThreatIntelligence blade in Sentinel, but at least data can be queried over Log analytics table. Requirement here is to make sure when creating TAXII collection in OCTI, is to use filter "Indicator type: STIX", as I got note from MS developers that currently they support only this: "Sentinel only supports the ‘indicator’ type SDO (STIX Domain Object)."

@SamuelHassine Also would like to know, what kind of work are you doing now for Sentinel connector? Maybe I can help in this matter? In terms of integration over TAXII, I got additional response from MS developers; "An unrelated note, there is a warning in our logs that the server is violating the spec by not providing the X-TAXII-Date-Added-First/X-TAXII-Date-Added-Last response headers which are required." Do you think it would make sense to create feature request on your side to fix this?

githubroom avatar Jun 03 '22 10:06 githubroom

@SamuelHassine how far away is the sentinel connector from a ready state?

BillClarksonAntill avatar Jun 07 '22 03:06 BillClarksonAntill

Hi @Xebus-Systems @SamuelHassine,

I got this working over Sentinel > Data connectors > Threat intelligence - TAXII.

Its not perfect, still cant see IoCs in ThreatIntelligence blade in Sentinel, but at least data can be queried over Log analytics table. Requirement here is to make sure when creating TAXII collection in OCTI, is to use filter "Indicator type: STIX", as I got note from MS developers that currently they support only this: "Sentinel only supports the ‘indicator’ type SDO (STIX Domain Object)."

@SamuelHassine Also would like to know, what kind of work are you doing now for Sentinel connector? Maybe I can help in this matter? In terms of integration over TAXII, I got additional response from MS developers; "An unrelated note, there is a warning in our logs that the server is violating the spec by not providing the X-TAXII-Date-Added-First/X-TAXII-Date-Added-Last response headers which are required." Do you think it would make sense to create feature request on your side to fix this?

Can you share an example. API root URL Collection ID Username Password

gyaansastra avatar Aug 08 '22 13:08 gyaansastra

Hi @gyaansastra , unfortunately that system has already been de-comissioned (we ran through the PoC and saw it working somehow). If you have your system I can provide small guide here for configuration of both OCTI and Sentinel if you wish.

githubroom avatar Aug 12 '22 06:08 githubroom

Hi @gyaansastra , unfortunately that system has already been de-comissioned (we ran through the PoC and saw it working somehow). If you have your system I can provide small guide here for configuration of both OCTI and Sentinel if you wish.

Hi @githubroom thank your for your reply. I have configured a OpenCTI POC. But i'm struggling to connect the default TAXII connector in Sentinel with the POC environment. Appreciate your help.

gyaansastra avatar Aug 12 '22 16:08 gyaansastra

Hi @gyaansastra, sorry for late response. Here are my recommendations:

  • you must use HTTPS (by default OpenCTI installs without TLS support, so you have to enable it somehow or use some kind of gateway in front that provides that)
  • for authentication you must create user in opencti, and use full username including domain and email ([email protected]), password must be set for user as well (I can see in my notes I had a role of TAXIIAccess set for this user, but cant remember if that was smth builtin, or if I was creating that)
  • API root URL is https://ipaddress/taxii2/root
  • when you create collection in opencti, you must remember that Sentinel supports only 'indicator' as type of Stix Domain Obejcts (so dont use smth like 'ipv4-addr').

Hope this helps, if not try to reach me out again. (I remember there was one bug on MS side, that in UI these indicators were not visible, you had to try to query them in LA directly with smth like this: ThreatIntelligenceIndicator | where SourceSystem == "name of your taxi connector" | order by TimeGenerated )

githubroom avatar Sep 01 '22 17:09 githubroom

Hello @Xebus-Systems,

We are working on a Sentinel connector now. And to answer your question, yes you can spawn as many MISP connectors as needed if you have multiple MISP instances to consume.

Kind regards, Sam

@SamuelHassine, when will the connector with sentinel be available?

aquiros17 avatar Nov 04 '22 08:11 aquiros17

n will the connector with se

Also very interested in this

cybgit avatar Dec 29 '22 16:12 cybgit