def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\mmc.exe"),
                    event.deep_get("OriginalFileName", default="") == "MMC.exe",
                ]
            ),
            any(
                [
                    "cod.msc" in event.deep_get("CommandLine", default=""),
                    "fdp.msc" in event.deep_get("CommandLine", default=""),
                    "ftr.msc" in event.deep_get("CommandLine", default=""),
                    "lmth.msc" in event.deep_get("CommandLine", default=""),
                    "slx.msc" in event.deep_get("CommandLine", default=""),
                    "tdo.msc" in event.deep_get("CommandLine", default=""),
                    "xcod.msc" in event.deep_get("CommandLine", default=""),
                    "xslx.msc" in event.deep_get("CommandLine", default=""),
                    "xtpp.msc" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
