import re


def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\wsass.exe"),
            "IMPHASH=32F5095C9BBDCACF28FD4060EB4DFC42" in event.deep_get("Hashes", default=""),
            re.match(
                r"(?i)\\.exe[\\\"\\']?\\s+[^\\\"]{0,64}werfaultsecure\\.exe[\\\"\\']?\\s+\\d{2,10}",
                event.deep_get("CommandLine", default=""),
            ),
        ]
    ):
        return True
    return False
