def rule(event):
    if all(
        [
            any(
                [
                    "echo" in event.deep_get("CommandLine", default=""),
                    "copy" in event.deep_get("CommandLine", default=""),
                    "type" in event.deep_get("CommandLine", default=""),
                    "file createnew" in event.deep_get("CommandLine", default=""),
                    "cacls" in event.deep_get("CommandLine", default=""),
                ]
            ),
            "C:\\Windows\\Fonts\\" in event.deep_get("CommandLine", default=""),
            any(
                [
                    ".sh" in event.deep_get("CommandLine", default=""),
                    ".exe" in event.deep_get("CommandLine", default=""),
                    ".dll" in event.deep_get("CommandLine", default=""),
                    ".bin" in event.deep_get("CommandLine", default=""),
                    ".bat" in event.deep_get("CommandLine", default=""),
                    ".cmd" in event.deep_get("CommandLine", default=""),
                    ".js" in event.deep_get("CommandLine", default=""),
                    ".msh" in event.deep_get("CommandLine", default=""),
                    ".reg" in event.deep_get("CommandLine", default=""),
                    ".scr" in event.deep_get("CommandLine", default=""),
                    ".ps" in event.deep_get("CommandLine", default=""),
                    ".vb" in event.deep_get("CommandLine", default=""),
                    ".jar" in event.deep_get("CommandLine", default=""),
                    ".pl" in event.deep_get("CommandLine", default=""),
                    ".inf" in event.deep_get("CommandLine", default=""),
                    ".cpl" in event.deep_get("CommandLine", default=""),
                    ".hta" in event.deep_get("CommandLine", default=""),
                    ".msi" in event.deep_get("CommandLine", default=""),
                    ".vbs" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
