Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

what is NOP?

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Security Forums Index -> Exploits // System Weaknesses

Special offer!

TechGenix and SolarWinds have partnered to provide a fully-functional, free 21-day trial version of SolarWinds ipMonitor, the WindowsNetworking.com Readers' Choice Award Winner for monitoring applications, servers, and network devices to all visitors who join Security Forums. Sign up to Security Forums and get your copy today! Existing members can pick up a copy from the Members Area.

View previous topic :: View next topic  
Author Message
wiz561
Frequent Member
Frequent Member


Joined: 12 Aug 2003
Posts: 191
Location: Chicago

Offline

PostPosted: Thu Sep 23, 2004 7:18 pm    Post subject: what is NOP? Reply with quote

Hi!

Stupid question, but as I read more and more about exploits, I see the phrase "NOP" used a lot of the time. Can anybody give me a hint on what this stands for and how to figure out what it means? Embarassed


Thank you in advance!
Back to top
View user's profile Send private message
capi
SF Mod
SF Mod


Joined: 21 Sep 2003
Posts: 3608
Location: Portugal

Offline

PostPosted: Thu Sep 23, 2004 8:08 pm    Post subject: Reply with quote

No Operation.

Assembly mnemonic for the instruction with opcode 0x90 (in Intel and compatible CPUs).

Intel Arch. Software Dev's Manual wrote:
Description

Performs no operation. This instruction is a one-byte instruction that takes up space in the
instruction stream but does not affect the machine context, except the EIP register.
The NOP instruction is an alias mnemonic for the XCHG (E)AX, (E)AX instruction.

Flags Affected
None.

Exceptions (All Operating Modes)
None.

_________________
main(_){for(_=')';_;_+=~!&_["]["]){char l;write(!_!=_,(l=_["mI}., m0:0,$6/\3,\
$6/m/&\"10*\177c,$6\17cm\4c/&\"10\12"]^unix["CC me on *nix"],&l),_==_);}}


Israel G. Lugo
Back to top
View user's profile Send private message
Zarnick
Forum Addict
Forum Addict


Joined: 27 Mar 2003
Posts: 300
Location: Brazil

Offline

PostPosted: Thu Sep 23, 2004 9:20 pm    Post subject: Reply with quote

A good use of a NOP instruction(a buffer of NOPs) is when you are trying to guess the return code. In that way, if you exploits picks any nops, the buffer will be read, and the shellcode will be executed correctly.
_________________
-==Peacemaker==- Just for fun.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Security Forums Index -> Exploits // System Weaknesses All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register