import re


def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\svchost.exe"),
            re.match(
                r"\\\\Windows\\\\System32\\\\[a-zA-Z0-9]{8}\\.tmp$",
                event.deep_get("TargetFilename", default=""),
            ),
        ]
    ):
        return True
    return False
