Uninstall Indicators of Attack
To uninstall the Indicators of Attack (IoA) module, you run a command that creates a new Group Policy Object (GPO) called Tenable Identity Exposure cleaning.
The uninstallation process uses this new GPO by default to clean out previously installed GPOs and its SYSVOL files, the registry setting, the advanced logging policy, and the WMI filters.
-
In the command line interface, run the following command to uninstall the IoA module:
CopyRegister-TenableIOA.ps1 -Uninstall
-
Replicate this new GPO over the entire domain. The script enforces a 4-hour delay for the replication to complete.
-
Run the following command to delete the cleaning GPO:
CopyRemove-GPO -Guid <GUID> -Domain "<DOMAIN>"
-
Optional: Run the following command to verify that the GPO no longer exists:
Copy(Get-ADDomainController -Filter *).Name | Foreach-Object {Get-GPO -Name "Tenable.ad cleaning"} | Select Displayname| measure
Manual Removal of Outdated GPO Folders from SYSVOL
In some cases, when reinstalling the IoA GPO, older folders may remain in the SYSVOL directory due to a Microsoft feature. If the Directory Listener recognizes these outdated folders as the IoA folder, it can lead to detection failures.
Perform the following procedure to ensure a clean removal of outdated IoA GPO folders, preventing detection issues during reinstallation.
-
Identify the latest IoA GPO GUID: Determine the GUID (Globally Unique Identifier) of the latest installed IoA GPO.
-
Review the logs (tenable_Ceti.log located in the directory C:\Tenable\Tenable.ad\DirectoryListener\logs) to identify which folder it recognizes as the IoA folder.
-
Delete manually any outdated IoA folders from the SYSVOL directory that do not match the latest IoA GPO GUID.
-
Restart the tenable_Ceti Service.
-
Repeat steps 2-4 until the Directory Listener recognizes the correct IoA folder with the latest GUID.