def rule(event):
    if all(
        [
            "Mount-DiskImage " in event.deep_get("ScriptBlockText", default=""),
            "-ImagePath " in event.deep_get("ScriptBlockText", default=""),
            "Get-Volume" in event.deep_get("ScriptBlockText", default=""),
            ".DriveLetter" in event.deep_get("ScriptBlockText", default=""),
            "invoke-item " in event.deep_get("ScriptBlockText", default=""),
            "):\\" in event.deep_get("ScriptBlockText", default=""),
        ]
    ):
        return True
    return False
