def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\cmstp.exe"),
                    event.deep_get("Image", default="").endswith("\\cscript.exe"),
                    event.deep_get("Image", default="").endswith("\\mshta.exe"),
                    event.deep_get("Image", default="").endswith("\\msxsl.exe"),
                    event.deep_get("Image", default="").endswith("\\regsvr32.exe"),
                    event.deep_get("Image", default="").endswith("\\wmic.exe"),
                    event.deep_get("Image", default="").endswith("\\wscript.exe"),
                ]
            ),
            any(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\clr.dll"),
                    event.deep_get("ImageLoaded", default="").endswith("\\mscoree.dll"),
                    event.deep_get("ImageLoaded", default="").endswith("\\mscorlib.dll"),
                ]
            ),
        ]
    ):
        return True
    return False
