def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\DllHost.exe"),
            event.deep_get("TargetFilename", default="").startswith("C:\\Windows\\System32\\"),
            event.deep_get("TargetFilename", default="").endswith(".dll"),
        ]
    ):
        return True
    return False
