def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith("InprocServer32\\(Default)"),
            event.deep_get("Details", default="") == "C:\\WINDOWS\\system32\\scrobj.dll",
        ]
    ):
        return True
    return False
