def rule(event):
    if any(
        [
            " -name .htpasswd" in event.deep_get("CommandLine", default=""),
            " -perm -4000 " in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
