def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\certutil.exe"),
                    event.deep_get("OriginalFileName", default="") == "CertUtil.exe",
                ]
            ),
            any(
                [
                    "-addstore" in event.deep_get("CommandLine", default=""),
                    "/addstore" in event.deep_get("CommandLine", default=""),
                    "–addstore" in event.deep_get("CommandLine", default=""),
                    "—addstore" in event.deep_get("CommandLine", default=""),
                    "―addstore" in event.deep_get("CommandLine", default=""),
                ]
            ),
            "root" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
