def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                    event.deep_get("OriginalFileName", default="") == "RUNDLL32.EXE",
                ]
            ),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith(",RunDLL"),
                    event.deep_get("CommandLine", default="").endswith(",Control_RunDLL"),
                ]
            ),
            not any(
                [
                    any(
                        [
                            event.deep_get("CommandLine", default="").endswith(
                                ".dll,Control_RunDLL"
                            ),
                            event.deep_get("CommandLine", default="").endswith(
                                '.dll",Control_RunDLL'
                            ),
                            event.deep_get("CommandLine", default="").endswith(
                                ".dll',Control_RunDLL"
                            ),
                        ]
                    ),
                    event.deep_get("ParentImage", default="").endswith("\\tracker.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
