import re


def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            ":\\ProgramData\\" in event.deep_get("TargetFilename", default=""),
                            "\\AppData\\Local\\" in event.deep_get("TargetFilename", default=""),
                        ]
                    ),
                    re.match(
                        r"\\\\[a-zA-Z]{5,6}\\.wll", event.deep_get("TargetFilename", default="")
                    ),
                ]
            ),
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith("\\win32log.exe"),
                    event.deep_get("TargetFilename", default="").endswith("\\crdss.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
