def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\mmc.exe"),
            any(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\vbscript.dll"),
                    event.deep_get("ImageLoaded", default="").endswith("\\jscript.dll"),
                    event.deep_get("ImageLoaded", default="").endswith("\\jscript9.dll"),
                ]
            ),
        ]
    ):
        return True
    return False
