Forum Discussion

rob_wood_8894's avatar
rob_wood_8894
Brass Contributor
Apr 26, 2022
Solved

Filtering OUs/Users

Hello,

 

I am a newbie in the world of MDI and on the project i've just joined the end client has a requirement to protect a group of sensitive users housed in an OU in a child domain.  There is a transitive trust relationship between the parent and child domain.

 

Is it possible to filter this group of users from data uploads to the cloud service.  So far my thoughts are not applying read permission to this OU for the Service Account running the sensor?

Thanks for any help!

 

Rob

  • EliOfek's avatar
    EliOfek
    May 19, 2022
    It does, but it has some latency.
    Jsut want to make sure you understand that even if you can "make it work" "good enough" now,
    no one promises you that it will stay like that over time, as it it not designed which such approach in mind. a future code change might change things.
    I still think that there could be cases where such data will be displayed even if not resolved properly.

9 Replies

  • No, while you might be able to block MDI from syncing those users directly from AD,
    you can't stop it from capturing it's traffic, the sensor might still see those samNames, Display names etc, only it won't be able to fully resolve them to the AD entity. this will heart detection, but won't keep those entities completely anonymized.
    That is the reason for this? what is the exact risk they are trying to overcome ?
    How does it makes sense to limit detection on some users? won't that make them a goldmine for adversaries ?
    • rob_wood_8894's avatar
      rob_wood_8894
      Brass Contributor
      Hi Eli,
      Having done some extensive testing for the client i can report on the following observations:
      1. The sensor service account was explicitly denied read on the OU and all descendant objects. This had to be enabled before configuring the service account in the portal.
      2. None of the user objects are visible in the portal after connecting the sensor to AD. They can't be found by searching for them.
      3. Using queries in Advanced hunting returns no data.
      4. If you move a user from the protected OU to an unprotected OU the user object appears in the portal when searching after the sensor syncs.
      5. All the usual events appear in AD event logs as expected (risk mitigated)

      So it would appear that you can prevent visibility of data in the portal front end, however, the big question is has the data actually been collected by the sensor and is sitting in the backend database in Azure?? Not a lot of detail on this in the documentation on MDI. Can you possibly enlighten me please. I need to enlighten the customer as to what likely happened to the data in the 'protected' OU.
      • EliOfek's avatar
        EliOfek
        Icon for Microsoft rankMicrosoft
        You have prevented the AD sync, which means that as log as we never had permissions to read the entity, we won't sync it and it won't be "copied" to azure.
        having said that, if the blocked entity will create actual network activity to the DC running the sensor, we will still see the activity, and might still see and capture account details that are in this activity (for example samName, upnName, possibly Display name) , and while we won't be able to resolve them to an AD entity, we will still have them in azure and display them.

        MDI was not designed in the first place for this approach, and probably will never be as it does not make any sense security wise.
    • rob_wood_8894's avatar
      rob_wood_8894
      Brass Contributor
      Its related to a particular country that doesn't allow its data to be transferred out of the country
      • EliOfek's avatar
        EliOfek
        Icon for Microsoft rankMicrosoft
        There is no official support for such scoping.
        Having said that, if indeed the DCs in this country are not communicating in the network level with entities outside the country, then blocking the entities in AD and not installing sensors on those DCs in this country will likely (never tested or verified) cloak them (and any adversary that will operate in this country) , but that's a big "IF" on the no outside communication.

Resources