def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Product", default="") == "SQLite",
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\sqlite.exe"),
                            event.deep_get("Image", default="").endswith("\\sqlite3.exe"),
                        ]
                    ),
                ]
            ),
            any(
                [
                    "cookies.sqlite" in event.deep_get("CommandLine", default=""),
                    "places.sqlite" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
