def rule(event):
    if any(
        [
            all(
                [
                    "SC Scheduled Scan" in event.deep_get("CommandLine", default=""),
                    "\\microsoft\\Taskbar\\autoit3.exe"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    "\\Windows\\Temp\\DB\\" in event.deep_get("Image", default=""),
                    event.deep_get("Image", default="").endswith(".exe"),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="") == "C:\\Windows\\system32\\Service.exe",
                    any(
                        [
                            "i" in event.deep_get("CommandLine", default=""),
                            "u" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ParentImage", default="").endswith(
                        "\\local\\microsoft\\Taskbar\\autoit3.exe"
                    ),
                    "nslookup.exe" in event.deep_get("CommandLine", default=""),
                    "-q=TXT" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
