def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("/arp"),
                            event.deep_get("Image", default="").endswith("/ifconfig"),
                            event.deep_get("Image", default="").endswith("/netstat"),
                            event.deep_get("Image", default="").endswith("/networksetup"),
                            event.deep_get("Image", default="").endswith("/socketfilterfw"),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("Image", default="") == "/usr/bin/defaults",
                            "/Library/Preferences/com.apple.alf"
                            in event.deep_get("CommandLine", default=""),
                            "read" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
            not event.deep_get("ParentImage", default="").endswith("/wifivelocityd"),
        ]
    ):
        return True
    return False
