def rule(event):
    if all(
        [
            any(
                [
                    "~1.exe" in event.deep_get("CommandLine", default=""),
                    "~1.bat" in event.deep_get("CommandLine", default=""),
                    "~1.msi" in event.deep_get("CommandLine", default=""),
                    "~1.vbe" in event.deep_get("CommandLine", default=""),
                    "~1.vbs" in event.deep_get("CommandLine", default=""),
                    "~1.dll" in event.deep_get("CommandLine", default=""),
                    "~1.ps1" in event.deep_get("CommandLine", default=""),
                    "~1.js" in event.deep_get("CommandLine", default=""),
                    "~1.hta" in event.deep_get("CommandLine", default=""),
                    "~2.exe" in event.deep_get("CommandLine", default=""),
                    "~2.bat" in event.deep_get("CommandLine", default=""),
                    "~2.msi" in event.deep_get("CommandLine", default=""),
                    "~2.vbe" in event.deep_get("CommandLine", default=""),
                    "~2.vbs" in event.deep_get("CommandLine", default=""),
                    "~2.dll" in event.deep_get("CommandLine", default=""),
                    "~2.ps1" in event.deep_get("CommandLine", default=""),
                    "~2.js" in event.deep_get("CommandLine", default=""),
                    "~2.hta" in event.deep_get("CommandLine", default=""),
                ]
            ),
            not any(
                [
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith(
                                "\\WebEx\\WebexHost.exe"
                            ),
                            event.deep_get("ParentImage", default="").endswith(
                                "\\thor\\thor64.exe"
                            ),
                        ]
                    ),
                    "C:\\xampp\\vcredist\\VCREDI~1.EXE"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
