def rule(event):
    if all(
        [
            event.deep_get("DestinationPort", default="") == 88,
            event.deep_get("Initiated", default="") == "true",
            not event.deep_get("Image", default="") == "C:\\Windows\\System32\\lsass.exe",
            not any(
                [
                    event.deep_get("Image", default="")
                    in [
                        "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
                        "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
                    ],
                    event.deep_get("Image", default="")
                    in [
                        "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
                        "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
                    ],
                    event.deep_get("Image", default="").endswith("\\tomcat\\bin\\tomcat8.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
