def rule(event):
    if any(
        [
            event.deep_get("OriginalFileName", default="") == "AdvancedRun.exe",
            all(
                [
                    " /EXEFilename " in event.deep_get("CommandLine", default=""),
                    " /Run" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    " /WindowState 0" in event.deep_get("CommandLine", default=""),
                    " /RunAs " in event.deep_get("CommandLine", default=""),
                    " /CommandLine " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
