def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith("/node"),
                            event.deep_get("ParentImage", default="").endswith("/bun"),
                        ]
                    ),
                    "curl " in event.deep_get("CommandLine", default=""),
                    "/tmp/ld.py" in event.deep_get("CommandLine", default=""),
                    "python3 " in event.deep_get("CommandLine", default=""),
                    "nohup " in event.deep_get("CommandLine", default=""),
                    "6202033" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/curl"),
                    "http://sfrclak.com" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
