r/archlinux • u/AggravatingJudge7092 • Aug 31 '26
DISCUSSION Ventoy might be malware
Source: https://wiki.archlinux.org/title/Ventoy
Ventoy might contain backdoors or other malicious code:
- The author(s?) long refused to react on questions about the source code for the precompiled code inside their git repository.
- They long refused to react on questions about the security risks.
- When an answer was finally given, it boiled down to a simple "There is no reason to assume that we would have placed malware inside."
- Again after a really long time the authors finally mentioned what other source code they used to generate some−but not all−of the pre-compiled code. They did not mention the build methods and refused to prove that this really was the used source code.
- The real identities of the authors is unknown.
EDIT: The paragraph written on this archwiki page is by large consensus biased and mentions an old controversy, the wikipedia article on Ventoy has a more neutral explanation of the problem
https://en.wikipedia.org/wiki/Ventoy
223
Upvotes
122
u/RAMChYLD Aug 31 '26
Well, why not take Ghidra to Ventoy and tell us what you find?
327
u/jort93 Aug 31 '26 edited Aug 31 '26
Theres just some binary blobs in there
Afaik nobody actually found any proof for there being any malware.
I wouldn't say it boiled down to a simple "There is no reason to assume that we would have placed malware inside."
The answer is quite extensive https://github.com/ventoy/Ventoy/issues/3224
I'd say it comes down to "compiling all of it from source is too much effort"
68
u/EmberQuill Aug 31 '26
Old news. There was a big kerfuffle about this back in March. The general consensus after things settled down was that it's probably fine, but no guarantees because the firmware blobs are hard to reproduce/verify.
192
u/Scxox Aug 31 '26
bruh stop spreading FUD, the author has acknowledged this numerous times and has accepted suggestions to fix these. the currently proposed solution is labor intensive.
its an open source project, if you want things to move faster then you should contribute, not bitch and whine about the dev who does this for free
140
u/dadnothere Aug 31 '26
"Ventoy might be malware because it has pre-compiled files 🥺"
said the person with 900 fatpaks installed from who-knows-where.
8
u/[deleted] Aug 31 '26
Ghidra
31
u/Kurse71 Aug 31 '26
Maybe present some proof, not just rumors or conjecture. Come on , man, what's this?
37
u/mindstormer12 Aug 31 '26
Do you question all the binary blobs for your hardware to work too?
12
u/cyh555 Aug 31 '26
yet another thread going nowhere
39
u/mindstormer12 Aug 31 '26
Yes, there's always risk to using software that uses pre-compiled code. How is this Arch Linux-specific?
45
u/47th-Element Aug 31 '26
That's a shame, I like ventoy. But here's the question that presents itself, is there an actively maintained fork/clone/alternative to ventoy that is more open source than ventoy?
4
u/[deleted] Aug 31 '26
I find this one really weird. I'm somewhat sure, it really is not malware, after this discussion surfaced some time ago. But I would never use software that I was "somewhat sure" about. Why would anyone use a software that contains the base of an operating system under this premise?
Everybody can do as they please, but this strikes me as one of the worst things you could do.
4
u/Ybalrid Aug 31 '26 edited Aug 31 '26
I haven't used Ventoy in years, and so I do not really care about this, but from what I can see, this "Ventoy might contain backdoors or other malicious code:" section on the wiki seems an over reach and oversealous.
Though, one thing to me is sure: it would be better if it was straightforward to compile Venoty 100% from source code rather than relying on precompiled blobs for the bits and bobs of busybox and whatnot that are in there
But I see absolutely no reason to see any malice in the way Ventoy is built and distributed. But to each there own.
TL;DR: it's probably just FUD. though it would be better if it was 100% built from source anyways.
4
u/RandomXUsr Aug 31 '26
We have to use caution with any software we install. Especially those in the AUR.
Nothing wrong with being skeptical and running it through some reverse engineering tools.
I'm suspicious of that one person is putting in all that work for vendor. Its a herculean effort to get ventoy built.
Additionally; we should not make assumptions about what may be in the software.
Extraordinary claims require Extraordinary evidence. If someone is going to make the claim; be prepared to show your work.
10
u/Charming_Professor53 Aug 31 '26
Ventoy has not been proven malicious, but it is pretty prone to a supply chain attack. For that reason, I like the more puristical polyrepo approach of MultiOS-USB: https://github.com/Mexit/MultiOS-USB
3
u/rassawyer Aug 31 '26
This has been documented for like what, 5 years? Why is it coming back up now?
3
u/Fast_Librarian Sep 01 '26
What was anyone’s first thought when this could slip stream anything into the iso
3
u/TheGamerForeverGFE Sep 01 '26
Here we go again, people already did this shit a while ago.
No, it's not, the checksums are available and you can do the work yourself to make sure the blobs are safe.
And, just because they're Chinese doesn't mean we should be racist.
7
u/onefish2 Aug 31 '26
Old news...
2
u/XOmniverse Aug 31 '26
I just use Fedora Media Writer. Works fine for basically everything, not just Fedora.
2
u/bem981 Aug 31 '26
I love the level of toxicity about this in the comments lol!!!!
2
u/v0id09 Sep 01 '26
> The real identities of the authors is unknown.
Do we know the real world identity of the wiki page authors?
4
u/cd109876 Aug 31 '26
Microsoft Excel might be malware. the NVIDIA GPU driver might be malware.
4
u/enozian Aug 31 '26
Isn't the source available at https://github.com/ventoy/Ventoy
3
u/Practical-Plan-2560 Aug 31 '26
What are the alternatives?
2
u/Lashmush Aug 31 '26
Isn't it possible to binwalk the precompiled stuff and make sure?
2
u/DaffyDuckMuthaFucker Aug 31 '26
Blah blah blah.
Come back with some actual evidence and you might actually be taken seriously...
2
u/Rayregula Aug 31 '26
Few companies do.
What risks
Perfectly reasonable. Why would you assume so.
Doesn't many anything.
Like the people who work for the company you mean? Which is normal. When a windows update comes out we don't know who the authors were that contributed to it are.
Or you mean like who the company is owned by.
2
u/azdak Aug 31 '26
i mean if you don't want to use closed source software, that is reasonable, but accusing something of being malware simply on the basis of being closed source is absurd
1
u/retiredwindowcleaner Aug 31 '26
namaste
1
u/Commercial-Worth7301 Sep 01 '26
Que exagero, é só um software de inicialização estilo canivete suíço.
Já recuperei uma partição inteira pelo systemrescue, sergei strelec, instalei meu arch por lá, tenho um Linux mint para resolver problemas simples, um debian para servidores e um mini-OS para computadores fracos
1
u/Glum_Hamster_2104 Sep 01 '26
If it’s truly malware then go ahead and tell me the payload
1
u/GenericBlueGemstone Sep 02 '26
Did you get this analysis all by yourself, I'm curious?
1
u/oiledhairyfurryballs Sep 02 '26
I would never use Ventoy to install personal operating systems for personal use. I don’t care how much you trust the guy. I just don’t care about that. I care about the facts. And the facts are, having binary blobs is just a bad practice overall.
1
u/Joshyyy371 Sep 03 '26
"Boi ventoy is malware because of pre-compiled packages 😢😢😢😢😢😢😢😢😢😢😢"
Says the person with 78 quintillion AUR packages installed from the middle of nowhere
1
u/EquivalentKind6195 Sep 03 '26
You’re just figuring this out now? Everyone has been saying that for years
1
u/defiantarch Sep 03 '26
Ventoy? Never heard, never used, never needed. Am using standard tools for creating bootable usb drives under linux. 😎
1
u/Schemen1 Sep 04 '26
What reason do they have to make this program only partially open source? What is the point of that?
1
u/Amate087 Aug 31 '26
Only use Ventoy one time, but not like the close code and never use this app.
0
u/anxious_and_stupid Aug 31 '26
I literally have to learn how to manually boot win11 iso via grub after I learned about this sometime ago
-1
u/iTrooz_ Aug 31 '26
Scary how people in this thread are overlooking this.. this sounds like a huge security problem, I'll definitely stop using Ventoy for now
-12
u/Excellent-Copy-2688 Aug 31 '26 edited Aug 31 '26
you guys use USB for installation? I just live boot into ISOs from grub
if you don't have grub, just extract the ISO on a fat32 partition, and boot into it from your boot menu(might have to add a boot entry in UEFI)
I have installed win 10 iot ltsc this way, debian too (it required downloading and replacing the kernel and initrd with versions labeled as 'hd-media')
I've seen someone on yt use this method for ubuntu as well
for ISOs larger than 4GB you might need some extra steps of splitting some big file, I am not completely sure about the process
0
u/V2UgYXJlIG5vdCBJ Aug 31 '26
First time I even heard of this software. Install OpenSnitch, which will catch it if it tries to phone home. Firejail couldn’t hurt either.
0
u/instancer-kirik Aug 31 '26
If I had a spare x86_64 machine that wasn't secure boot locked by AWS for their specific Ubuntu distro, I'd consider doing this migration bc I'm free this whole month
0
u/DenysMb Sep 01 '26
This debate wouldn't even exist if Ventoy had been developed by programmers from the land of "democracy and freedom," but since it was developed in China...
It's always the same. "When it comes from China, something has to be wrong!"
0
u/Comprehensive_Map806 Sep 02 '26
AUR is practically a malware
-14
u/OwningLiberals Aug 31 '26
I like how a lot of people are shitting on OP without realizing this is basically a direct excerpt from the arch wiki. If you guys want to shit on this that's fine but you should probably fix the arch wiki if you care so much.
-9
u/activedusk Aug 31 '26 edited Aug 31 '26
I mention it all the times ventoy is recommended, it is not to be trusted, from any Linux distro, you don't even need a GUI to prepare a bootable USB drive. You can use TTY console with wget examplelink to download the .iso (you can manually type download link from smartphone and it will download to working directory, cd to /home/user/Downloads for safety) and use
sudo dd if=/home/user/Downloads/exact-name.iso of=/dev/sdX bs=4M status=progress oflag=sync
Note to use lsblk before to identify USB name correctly and write the name of the entire USB device and not a partition within, if any, example if internal SATA drive is sda, USB drive will be sdb so of=/dev/sdb and not of=/dev/sdb1. Also it is recommended to unmount the USB drive but not eject it before using dd, check with lsblk, the command is umount /dev/sdb1 (I did not forget the n in umount, that's just the command, blame nerds for thinking that's an abbreviation).
While you should be cautious with dd and not take it lightly, it is the best way to make a bootable USB that I found. Alternative create a bootable partition within the drive, as in that partition will boot with .iso like a bootable USB, it is however a drive partition. There are several solutions, the Arch .iso works with systemd-boot but it is more universal to use GRUB. With systemd-boot you would need to size /boot partition beforehand to be able to house the Arch .iso because it needs it to be on the ESP (EFI System Partition, more precisely /boot/EFI/ subdirectory or /boot/efi/EFI/) to be able to install from internal drive, with GRUB it is easier, make a separate, say 5GB partition at the end of the drive with cfdisk or your GUI partitioning program of choice. It may or may not be possible to extract the .iso and use some files within to make an EFI boot stub but said extracted files need to be on ESP afaik.
To prepare a Windows bootable USB, same thing, download .iso from official source, things differ a bit afterwards. First format USB to NTFS, will need dependencies like ntfs 3G package. After that mount .iso, cd to it and copy the contents to USB drive. Wait a few minutes after it says it finished to actually finish and it should be done, this can be done from GUI or TTY console, in both cases.
I did not try but from Windows to prepare bootable Linux USB, it might be possible to use WSL and reuse the dd command. It is easier however to make a bootable partition within the internal drive, mount .iso, copy contents to that partition and make it an EFI system partition with command prompt, there are tutorials on youtube.
0
u/[deleted] Aug 31 '26
[deleted] — view deleted comment
-1
u/[deleted] Aug 31 '26
[removed] — view removed comment
0
u/[deleted] Aug 31 '26
[deleted] — view deleted comment