def rule(event):
    if any(
        [
            "Invoke-DNSExfiltrator" in event.deep_get("ScriptBlockText", default=""),
            all(
                [
                    " -i " in event.deep_get("ScriptBlockText", default=""),
                    " -d " in event.deep_get("ScriptBlockText", default=""),
                    " -p " in event.deep_get("ScriptBlockText", default=""),
                    " -doh " in event.deep_get("ScriptBlockText", default=""),
                    " -t " in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
