def rule(event):
    if all(
        [
            "HKU\\" in event.deep_get("TargetObject", default=""),
            "Classes\\CLSID\\" in event.deep_get("TargetObject", default=""),
            "\\TreatAs" in event.deep_get("TargetObject", default=""),
            not event.deep_get("Image", default="") == "C:\\WINDOWS\\system32\\svchost.exe",
        ]
    ):
        return True
    return False
