def rule(event):
    if any(
        [
            all(
                [
                    "-noni -nop -exe bypass -f \\\\" in event.deep_get("CommandLine", default=""),
                    "ADMIN$" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    "-ex bypass -noprof -nolog -nonint -f"
                    in event.deep_get("CommandLine", default=""),
                    "C:\\Windows\\Temp\\" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
