def rule(event):
    if any(
        [
            "\\calc.exe " in event.deep_get("CommandLine", default=""),
            all(
                [
                    event.deep_get("Image", default="").endswith("\\calc.exe"),
                    not any(
                        [
                            ":\\Windows\\System32\\" in event.deep_get("Image", default=""),
                            ":\\Windows\\SysWOW64\\" in event.deep_get("Image", default=""),
                            ":\\Windows\\WinSxS\\" in event.deep_get("Image", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
