def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
            any(
                [
                    "IMPHASH=eed93054cb555f3de70eaa9787f32ebb"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=5e0dbdec1fce52daae251a110b4f309d"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=eadbccbb324829acb5f2bbe87e5549a8"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=407ca0f7b523319d758a40d7c0193699"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=281d618f4e6271e527e6386ea6f748de"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
            not event.deep_get("ImageLoaded", default="").endswith("\\comsvcs.dll"),
        ]
    ):
        return True
    return False
