So basically I'm thinking you either you steal one while it's in the dock, when most of its crew is off the ship, or you lure one into a trap where you've set up some way to disable it. *as I'm assuming if you could fight off an ISD and backup, you probably don't need to bother stealing the ISD You'd need to take over the bridge without the occupants finding someway to scuttle it
You need to get in it without getting murdered by the inner security It wouldn't be able to escape through hyperspace or regular sublight Well, the short answer is you can't, but luckily the Empire does wildly impractical things with its assets and this Star Wars which is basically fueled by Rule of Cool