Viruses have a predictable pattern, they have receptors which they use to attach to host cells, insert RNA, this gets added to the cell's nucleus DNA and fools the non-conscious cell to start making duplicates of the virus which overload the cell till it dies and the membrane bursts releasing the new viruses.
The main problem though about viruses is in comparison if you take a lifetime as the period of time from creation to infecting another cell, it could be the shortest living 'organism' though technically it's not classified as alive since it can't exist on its own. It's not even a parasite that feeds on you more like a computer virus that turns your system into a zombie that follows new commands.
There's some theory this was one of the first forms of life since it took on the first key trait of preventing the protein decay with a shell and later on as one divergent path could have evolved the ability to have a more fluid and mobile shell, a chance encounter with the older virulent version meant RNA was spilled into it and eventually the more advantageous adaptation that meant it would no longer assemble itself as it did prior to this but by getting the cell to duplicate it multiple times. That made it the most common type of virus, back then and basically the ancestor of how most viruses work.
And since the process of duplicating them isn't a perfect copy paste and still has some random gene manipulation that means each virus is more like siblings of a parent; similar but not the same they can go through multiple iterations of gene manipulation easily. That's why the flu needs a new shot every season and why viruses are the hardest thing to treat, unlike bacterial infection. One idea that's feasible to fix this would be genetically modifying the human, our DNA is littered with Viral DNA and junk DNA that's not being used, since it's possible to edit your child's gene to prevent hereditary disorders and some other changes depending on where your from, its plausible similar to how an antivirus detects a virus and quarantines it, basically prevents the RNA from being compiled into DNA which is like taking commands, parsing to see if it's buggy or working code and then running it. If you can edit the human genome so viral RNA can't be compiled but ignored, you have a core basic immunity to all viral infections.
That however likely won't happen easily due to legal red tape argued against making a superior human race. One other approach that is similar is the Virus Sponge that takes on the key concept of how the Virus works. All virus bond with a receptor on the cell's membrane, so if you can build a molecule that will fool your immune system that it's not a foreign host and still have the receptors the virus binds to with the added bonus it's a thread ripper molecule that lets the virus send in it's RNA but it just rips it up, basically break it apart then spits it out, you could have an effective counter-attack measure to prevent the body from being overwhelmed with the attack.
Since the plausible bond pairs are few and in the case, it bonds with an actual cell, the cell won't likely send its RNA sequence, so it should attach and detach just like a virus would after delivering its payload. That said this is the Idea GraveYard, where I came to lay to rest my ideas that sound feasible, hopefully not crazily expensive as others are. I know something about these fields but not deep enough to falsify my ideas and not enough to actually write up a scientific paper on it, so with that, I'll leave this with my final thought.
I do think the human immune system is amazing but not a match for viruses and bacteria, it plays evolution to it's an advantage that someone somewhere likely will develop immunity to this and they'll start a new lineage that's immune. Otherwise, the species could go extinct, especially if the infection can affect all of them in time without killing them off too quickly which some overly serious infections tend to do. One neat feature would be if we had the ability which bacteria does have of sharing genes which are beneficial with a probe which looks like the first idea for vaginal sex. If our immune system could get these genes and still pick only good ones from a gene pool, we could find a way to fight off infection easily.
It's a question of how it would be done, some people assume there will be nanobots that will be the size of our cells and even smaller that can fight of infection and fix issues from the inside, my alternative idea that's more doable today is to have a genome pool; an apparatus that can allow our immune system to exist in a single environment. Imagine a setup that would allow you to share your white blood cells and assume they also don't fight each other by gene manipulation or some other action so you have what would be the equivalent of all our immunity advantage and disadvantage at one place. Expose them to an infection in a controlled environment so that only a fraction of them get to fight, the result taken and the process repeated possibly automated so that even how the infection overwhelms the cells is understood and from this either a new genetic adaptation is added and tried out or bacteria that can fight off are designed and then made to share their learned skill to the white blood cells, this is later confirmed using the new white blood cells and finally if it works to figure out how to pass on this adaptation to everyone else.