def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\bitsadmin.exe"),
                    event.deep_get("OriginalFileName", default="") == "bitsadmin.exe",
                ]
            ),
            any(
                [
                    " /transfer " in event.deep_get("CommandLine", default=""),
                    all(
                        [
                            any(
                                [
                                    " /create " in event.deep_get("CommandLine", default=""),
                                    " /addfile " in event.deep_get("CommandLine", default=""),
                                ]
                            ),
                            "http" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
