def rule(event):
    if all(
        [
            "ShellExec_RunDLL" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "\\Desktop\\" in event.deep_get("CommandLine", default=""),
                    "\\Temp\\" in event.deep_get("CommandLine", default=""),
                    "\\Users\\Public\\" in event.deep_get("CommandLine", default=""),
                    "comspec" in event.deep_get("CommandLine", default=""),
                    "iex" in event.deep_get("CommandLine", default=""),
                    "Invoke-" in event.deep_get("CommandLine", default=""),
                    "msiexec" in event.deep_get("CommandLine", default=""),
                    "odbcconf" in event.deep_get("CommandLine", default=""),
                    "regsvr32" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
