def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\svchost.exe"),
            "\\Personalization\\LockScreenImage\\" in event.deep_get("TargetFilename", default=""),
            not "C:\\Windows\\" in event.deep_get("TargetFilename", default=""),
            not any(
                [
                    ".jpg" in event.deep_get("TargetFilename", default=""),
                    ".jpeg" in event.deep_get("TargetFilename", default=""),
                    ".png" in event.deep_get("TargetFilename", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
