def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").endswith("\\find.exe"),
                                    event.deep_get("Image", default="").endswith("\\findstr.exe"),
                                ]
                            ),
                            event.deep_get("OriginalFileName", default="")
                            in ["FIND.EXE", "FINDSTR.EXE"],
                        ]
                    ),
                    "lsass" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    any(
                        [
                            ' -i "lsass' in event.deep_get("CommandLine", default=""),
                            ' /i "lsass' in event.deep_get("CommandLine", default=""),
                            ' –i "lsass' in event.deep_get("CommandLine", default=""),
                            ' —i "lsass' in event.deep_get("CommandLine", default=""),
                            ' ―i "lsass' in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                    any(
                        [
                            " -i lsass.exe" in event.deep_get("CommandLine", default=""),
                            " /i lsass.exe" in event.deep_get("CommandLine", default=""),
                            " –i lsass.exe" in event.deep_get("CommandLine", default=""),
                            " —i lsass.exe" in event.deep_get("CommandLine", default=""),
                            " ―i lsass.exe" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                    'findstr "lsass' in event.deep_get("CommandLine", default=""),
                    "findstr lsass" in event.deep_get("CommandLine", default=""),
                    'findstr.exe "lsass' in event.deep_get("CommandLine", default=""),
                    "findstr.exe lsass" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
