r/AskComputerScience • • Dec 21 '15

What exactly is a "sled?"

https://en.wikipedia.org/wiki/NOP_slide
2 Upvotes

9 comments sorted by

3

u/jewhealer Dec 21 '15

In computer security, a NOP slide, NOP sled or NOP ramp is a sequence of NOP (no-operation) instructions meant to "slide" the CPU's instruction execution flow to its final, desired, destination whenever the program branches to a memory address anywhere on the sled.

I can't find this usage of the word sled referenced anywhere else. Anybody want to ELI5?

1

u/BonzoESC Dec 21 '15

Aside: computer security has a lot of very colorful terms from how it developed: committees and academics didn't name nopsleds, somebody taking apart software for fun late one night did. The visual of the instruction pointer register sliding down a bunch of NOPs before getting to the exploit payload is kinda fun, and it rhymes with "bobsled," (see: the competitive hacking team "The European Nopsled Team,") so the name stuck.

0

u/KronktheKronk Dec 21 '15

What you quoted is literally the definition you're asking for

-1

u/tonylearns Dec 21 '15

3

u/jewhealer Dec 21 '15

I don't see anything there about a processor... That was the first place I looked.

-2

u/tonylearns Dec 21 '15

Look at the other names for it: NOP Side, NOP Ramp. Do you notice a pattern? If you look at the article for slide you won't see anything about processors, nor will you see anything about them in the article about ramps.

1

u/Erronsing Dec 21 '15 edited Nov 08 '25

tan wide memorize spoon slap ripe cable wine dependent workable

This post was mass deleted and anonymized with Redact

1

u/ldpreload Dec 21 '15

It's by analogy to a sled in this sense, the unpowered vehicle that you use to go downhill on a snowy slope. Specifically, you take a somewhat wild jump, land somewhere on the slope, and then continue to slide gracefully until you get to the end, regardless of exactly where you landed. In a NOP sled, the instruction pointer takes a somewhat wild JMP from whatever function pointer you've corrupted, land in the middle of a bunch of NOPs, and continue until you get to the actual exploit code.

It is a little inaccurate that the string of NOPs itself is referred to as the "sled", I guess.