def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\cmd.exe"),
                    event.deep_get("Image", default="").endswith("\\powershell.exe"),
                    event.deep_get("Image", default="").endswith("\\pwsh.exe"),
                    event.deep_get("Image", default="").endswith("\\wt.exe"),
                    event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                    event.deep_get("Image", default="").endswith("\\regsvr32.exe"),
                ]
            ),
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith(".VHD"),
                    event.deep_get("TargetFilename", default="").endswith(".bac"),
                    event.deep_get("TargetFilename", default="").endswith(".bak"),
                    event.deep_get("TargetFilename", default="").endswith(".wbcat"),
                    event.deep_get("TargetFilename", default="").endswith(".bkf"),
                    event.deep_get("TargetFilename", default="").endswith(".set"),
                    event.deep_get("TargetFilename", default="").endswith(".win"),
                    event.deep_get("TargetFilename", default="").endswith(".dsk"),
                ]
            ),
        ]
    ):
        return True
    return False
