I wrote a little simulator once as a hobby project where I'd shoot stellar sized objects at the inner solar system and found it was hard to throw the inner planets of track even with a body of 1/30 solar masses passing inside of Venus's orbit. In most iterations, they'd at best continue in slightly more elliptical orbits - but only when it chanced to get really close to them. Among hundreds of runs with randomized initial parameters but always passing inside of the orbit of Venus, I succeeded once to to simulate the Earth being ejected, and even then the moon kept orbiting it. Throwing off track something that hugs the Earth as closely as the moon (on solar system scales) or as LEO satellites (at the earth-moon-system scale) is hard.
Some time back I tried it with neutron stars passing the solar system. All were aimed 10 AU out, 100 km/sec, 2 solar masses. Note that this is not the actual closest approach, but the distance they would have passed had gravity not messed with them.
Any outer planet on that side of the sun got ejected, sometimes outer planets on the other side got ejected. Once the intruder stole Mars and somehow managed to get it in a roughly circular orbit even. Earth was never ejected but that doesn't mean it survived--one run left Jupiter with a periapsis below Mercury.