def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\sdbinst.exe"),
                    event.deep_get("OriginalFileName", default="") == "sdbinst.exe",
                ]
            ),
            ".sdb" in event.deep_get("CommandLine", default=""),
            not all(
                [
                    event.deep_get("ParentImage", default="").endswith("\\msiexec.exe"),
                    any(
                        [
                            ":\\Program Files (x86)\\IIS Express\\iisexpressshim.sdb"
                            in event.deep_get("CommandLine", default=""),
                            ":\\Program Files\\IIS Express\\iisexpressshim.sdb"
                            in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
