def rule(event):
    if all(
        [
            any(
                [
                    "\\Windows\\System32\\" in event.deep_get("ParentImage", default=""),
                    "\\AppData\\" in event.deep_get("ParentImage", default=""),
                ]
            ),
            "ANONYMOUS" in event.deep_get("User", default=""),
        ]
    ):
        return True
    return False
