def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\mmc.exe"),
                    event.deep_get("OriginalFileName", default="") == "MMC.exe",
                ]
            ),
            "gpme.msc" in event.deep_get("CommandLine", default=""),
            "gpobject:" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "31B2F340-016D-11D2-945F-00C04FB984F9"
                    in event.deep_get("CommandLine", default=""),
                    "6AC1786C-016F-11D2-945F-00C04FB984F9"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
