def rule(event):
    if all(
        [
            event.deep_get("SourceImage", default="").endswith("\\WerFaultSecure.exe"),
            event.deep_get("TargetImage", default="").endswith("\\MsMpEng.exe"),
            any(
                [
                    "\\dbgcore.dll" in event.deep_get("CallTrace", default=""),
                    "\\dbghelp.dll" in event.deep_get("CallTrace", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
