def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\stordiag.exe"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\schtasks.exe"),
                    event.deep_get("Image", default="").endswith("\\systeminfo.exe"),
                    event.deep_get("Image", default="").endswith("\\fltmc.exe"),
                ]
            ),
            not any(
                [
                    event.deep_get("ParentImage", default="").startswith("c:\\windows\\system32\\"),
                    event.deep_get("ParentImage", default="").startswith("c:\\windows\\syswow64\\"),
                ]
            ),
        ]
    ):
        return True
    return False
