def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 5145,
            "IPC" in event.deep_get("ShareName", default=""),
            event.deep_get("RelativeTargetName", default="") == "protected_storage",
        ]
    ):
        return True
    return False
