def rule(event):
    if all(
        [
            "\\Software\\Microsoft\\Fax\\Device Providers\\"
            in event.deep_get("TargetObject", default=""),
            "\\ImageName" in event.deep_get("TargetObject", default=""),
            not event.deep_get("Details", default="") == "%systemroot%\\system32\\fxst30.dll",
        ]
    ):
        return True
    return False
