Registration Failure - Connectivity Issues

%3CLINGO-SUB%20id%3D%22lingo-sub-127340%22%20slang%3D%22en-US%22%3ERegistration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127340%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20able%20to%20get%20the%20sensor%20installed%20on%20a%20few%20DCs%2C%20but%20on%20others%20I%20just%20get%20the%20error%20%22The%20Sensor%20failed%20to%20register%20due%20to%20connectivity%20issues.%22%26nbsp%3B%20I%20don't%20see%20anything%20obviously%20different%20about%20the%20DCs%20where%20the%20install%20works%20and%20where%20I%20am%20getting%20this%20error.%26nbsp%3B%20I've%20looked%20at%20the%20logs%20in%26nbsp%3BAppData%5CLocal%5CTemp%20and%20there%20aren't%20any%20errors%20there.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20what%20it%20needs%20to%20be%20able%20to%20connect%20to%20in%20order%20for%20me%20to%20troubleshoot%20further%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-389124%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389124%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F95641%22%20target%3D%22_blank%22%3E%40Ejaz%20Rahman%3C%2FA%3E%26nbsp%3B%20When%20the%20connection%20from%20the%20Domain%20Controllers%20is%20restricted%20to%20port%20443%20and%20the%20Azure%20ATP%20service%20(there%20is%20a%20specific%20URL%20for%20each%20Azure%20ATP%20instance)%20we%20have%20seen%20few%20concerns.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHappy%20to%20followup%20with%20you%20offline%20if%20there%20are%20specific%20concerns%20you%20or%20your%20security%20team%20has.%20Please%20email%20me%20directly%20or%20send%20feedback%20to%20aatpfeedback%40microsoft%2Ccom%20and%20we%20can%20continue%20the%20conversation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%2C%3C%2FP%3E%0A%3CP%3EAstrid%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-386510%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-386510%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F70522%22%20target%3D%22_blank%22%3E%40Astrid%20McClean%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20challenging%20to%20fully%20deploy%20as%20there%20are%20many%20use%20cases%20where%20Domain%20Controllers%20have%20no%20access%20to%20proxy%20via%20policy%20given%20that%20these%20are%20highly%20valuable%20assets.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20security%20analysis%20and%20discussion%20around%20use%20of%20sensors%20with%20Internet%20access%20on%20Domain%20Controllers%20that%20can%20be%20shared%20with%20security%20teams%20to%20allay%20concerns%20around%20this%20setup%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-366553%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-366553%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20are%20no%20plans%20to%20support%20forwarding%20of%20the%20Azure%20ATP%20Sensor%20data%20through%20a%20gateway%20server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20recommendation%20is%20to%20run%20the%20sensor%20directly%20on%20the%20Domain%20Controller%20(port%20mirroring%20through%20a%20stand-alone%20sensor%20cannot%20collect%20ETW%20data%20so%20some%20detections%20will%20not%20work%20in%20this%20configuration)%2C%20and%20then%20use%20a%20web%20proxy%20to%20send%20the%20data%20to%20Azure%20ATP.%20For%20those%20proxies%20which%20do%20not%20support%20URL%20filtering%2C%20the%20Azure%20Networking%20subnet%20range%20can%20be%20used%20for%20the%20region%20which%20contains%20your%20Azure%20ATP%20instance%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fna01.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Furldefense.proofpoint.com%252Fv2%252Furl%253Fu%253Dhttps-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fwww.microsoft.com-5Fen-2D2Dus-5Fdownload-5Fdetails.aspx-2D3Fid-2D3D41653-2526d-253DDwMFAg-2526c-253D5VD0RTtNlTh3ycd41b3MUw-2526r-253DSdImJ9PhOHT04ZT6qvXyrw-2526m-253DvIp83xwhJaAMsuZjKO6-5FRFSzoMwV5QWdWfSppcIqJck-2526s-253DfhTOdZT1VqtCx8nzED3ZYLo-5FHix-5F0uO3aiX4xsx5UWc-2526e-253D-26data-3D02-257C01-257Castridm-2540microsoft.com-257Cc76dd531794045a5feb908d5a49dc613-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636595919901947661-26sdata-3Dle0fReOImnW-252BNvcHMaI7cSggs7yUhdTWfdm1Ow9rSww-253D-26reserved-3D0%2526d%253DDwMFAg%2526c%253D5VD0RTtNlTh3ycd41b3MUw%2526r%253DmwO9phP2FNZizvtKzYkgxQ%2526m%253DNesCaACLTca8x80Zsb4Bo8f4qRsp9_D3Kwm1zSLthCg%2526s%253DLrge-F1Ci8hbc55wJIjl4im-EuoRHJme4t5ngYbPa7M%2526e%253D%26amp%3Bdata%3D02%257C01%257C%257C893b13198f084368687b08d602a37cc5%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C636699298530962284%26amp%3Bsdata%3D1HZtNoKnOqIsbZ12Qy%252Fdmz6dUrGGWFhTrXOeBgzWWS8%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D41653%26nbsp%3B%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-366514%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-366514%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20following%20up%20on%20this%20issue%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20any%20options%20on%20the%20road-map%20that%20can%20utilise%20forwarding%20of%20ATP%20data%20to%20the%20standalone%20sensor%20without%20requiring%20the%20port%20mirror%20option%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20great%20if%20we%20can%20have%20something%20like%20the%20Windows%20Defender%20ATP%20setup%20where%20the%20OMS%20%2F%20Log%20Analytics%20gateway%20can%20be%20used%20to%20collect%20logs%20from%20other%20endpoints%20and%20then%20send%20it%20out%20over%20HTTP%20rather%20than%20requiring%20port%20mirror%20setup.%20(%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Defender-ATP%2FConnecting-servers-without-Internet-access-to-Windows-Defender%2Fba-p%2F131425%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Defender-ATP%2FConnecting-servers-without-Internet-access-to-Windows-Defender%2Fba-p%2F131425%3C%2FA%3E%20)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127419%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127419%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20only%20forwarding-like%20solution%20we%20have%20right%20now%20is%20the%20stand-alone%20sensor%20-%20you%20would%20need%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fadvanced-threat-analytics%2Fconfigure-port-mirroring%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eport%20mirror%20the%20traffic%20from%20the%20Domain%20Controllers%3C%2FA%3E%20to%20the%20stand-alone%20sensor%20and%20also%20forward%20windows%20events%20from%20either%20the%20DCs%20or%20from%20a%20SIEM.%20The%20stand-alone%20sensor%20rather%20than%20the%20DCs%20would%20communicate%20with%20Azure%20ATP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127415%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127415%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%26nbsp%3B%20Our%20firewalls%20don't%20support%20rules%20by%20DNS%20name%2C%20so%20I'll%20have%20to%20figure%20out%20some%20way%20around%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20couple%20of%20these%20are%20core%2C%20so%20the%20URL%20probes%20won't%20work%20for%20testing%20connectivity.%26nbsp%3B%20It%20doesn't%20appear%20that%20core%20supports%20authenticated%20proxies%2C%20so%20that's%20out%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20any%20plans%20for%20a%20forwarding%20server%20like%20the%20OMS%20Gateway%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127410%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127410%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Eric%2C%20There%20is%20information%20about%20how%20to%20connect%20via%20a%20proxy%20in%20%22%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Advanced-Threat-Protection%2FWhat-you-will-need-to-on-board-Azure-ATP-a-list-of-prerequisites%2Fm-p%2F122490%23M2%22%20target%3D%22_blank%22%3EWhat%20you%20will%20need%20to%20on%20board%20Azure%20ATP%20%E2%80%93%20a%20list%20of%20prerequisites%3C%2FA%3E%22%20entry.%20Under%20%22For%20the%20Azure%20ATP%20Sensors%20to%20communicate%20with%20Azure%20ATP%20cloud%20service%22%20there%20are%20specific%20details%20on%20connectivity%20through%20a%20proxy.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EFirewall%2Fproxy%20open%20-%20For%20your%20Domain%20Controllers%20to%20communicate%20with%20the%20cloud%20service%2C%20you%20must%20have%20open%3A%20*.atp.azure.com%20port%20443%20in%20your%20firewall%2Fproxy.%20The%20configuration%20needs%20to%20be%20at%20the%20machine%20level%20(%3Dmachine%20account)%20and%20not%20a%20user%20account.%20Note%20that%20you%20need%20to%20setup%20access%20to%20the%20DNS%20name%20not%20individual%20IP%20addresses%20as%20there%20are%20subject%20to%20change.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127403%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127403%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20failure%20is%20before%20that%20folder%20is%20created%2C%20so%20no%20logs.%26nbsp%3B%20I%20was%20able%20to%20get%20a%20couple%20more%20to%20run%20by%20watching%20the%20network.%26nbsp%3B%20They%20needed%20an%20outbound%20rule%20added%20to%20allow%20HTTPS%20to%26nbsp%3B13.90.138.89.%26nbsp%3B%20Are%20there%20any%20other%20IPs%20we%20need%2C%20or%20a%20way%20to%20tell%20the%20sensor%20to%20use%20a%20proxy%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127394%22%20slang%3D%22en-US%22%3ERe%3A%20Registration%20Failure%20-%20Connectivity%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127394%22%20slang%3D%22en-US%22%3EHi%20Eric%2C%20Check%20the%20sensor%20log%20directory%20under%20c%3A%5Cprogram%20files%5Cazure%20advanced%20threat%20protection%20sensor.%3C%2FLINGO-BODY%3E
New Contributor

I've been able to get the sensor installed on a few DCs, but on others I just get the error "The Sensor failed to register due to connectivity issues."  I don't see anything obviously different about the DCs where the install works and where I am getting this error.  I've looked at the logs in AppData\Local\Temp and there aren't any errors there.  

 

Does anyone know what it needs to be able to connect to in order for me to troubleshoot further?

9 Replies
Hi Eric, Check the sensor log directory under c:\program files\azure advanced threat protection sensor.

The failure is before that folder is created, so no logs.  I was able to get a couple more to run by watching the network.  They needed an outbound rule added to allow HTTPS to 13.90.138.89.  Are there any other IPs we need, or a way to tell the sensor to use a proxy?

Hi Eric, There is information about how to connect via a proxy in "What you will need to on board Azure ATP – a list of prerequisites" entry. Under "For the Azure ATP Sensors to communicate with Azure ATP cloud service" there are specific details on connectivity through a proxy.


Firewall/proxy open - For your Domain Controllers to communicate with the cloud service, you must have open: *.atp.azure.com port 443 in your firewall/proxy. The configuration needs to be at the machine level (=machine account) and not a user account. Note that you need to setup access to the DNS name not individual IP addresses as there are subject to change.

 

Thanks.  Our firewalls don't support rules by DNS name, so I'll have to figure out some way around that.

 

A couple of these are core, so the URL probes won't work for testing connectivity.  It doesn't appear that core supports authenticated proxies, so that's out too.

 

Are there any plans for a forwarding server like the OMS Gateway?

The only forwarding-like solution we have right now is the stand-alone sensor - you would need to port mirror the traffic from the Domain Controllers to the stand-alone sensor and also forward windows events from either the DCs or from a SIEM. The stand-alone sensor rather than the DCs would communicate with Azure ATP.

Just following up on this issue again.

 

Are there any options on the road-map that can utilise forwarding of ATP data to the standalone sensor without requiring the port mirror option?

 

It would be great if we can have something like the Windows Defender ATP setup where the OMS / Log Analytics gateway can be used to collect logs from other endpoints and then send it out over HTTP rather than requiring port mirror setup. (https://techcommunity.microsoft.com/t5/Windows-Defender-ATP/Connecting-servers-without-Internet-acce... )

There are no plans to support forwarding of the Azure ATP Sensor data through a gateway server.

 

Our recommendation is to run the sensor directly on the Domain Controller (port mirroring through a stand-alone sensor cannot collect ETW data so some detections will not work in this configuration), and then use a web proxy to send the data to Azure ATP. For those proxies which do not support URL filtering, the Azure Networking subnet range can be used for the region which contains your Azure ATP instance:

https://www.microsoft.com/en-us/download/details.aspx?id=41653 

@Astrid McClean Thanks for the response.

 

This is challenging to fully deploy as there are many use cases where Domain Controllers have no access to proxy via policy given that these are highly valuable assets.

 

Is there any security analysis and discussion around use of sensors with Internet access on Domain Controllers that can be shared with security teams to allay concerns around this setup?

@Ejaz Rahman  When the connection from the Domain Controllers is restricted to port 443 and the Azure ATP service (there is a specific URL for each Azure ATP instance) we have seen few concerns.

 

Happy to followup with you offline if there are specific concerns you or your security team has. Please email me directly or send feedback to aatpfeedback@microsoft,com and we can continue the conversation.

 

Regards,,

Astrid