Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
disasmを使用していくつかのシェルコードを逆アセンブルしようとしましたが、逆アセンブルで次のステートメントが見つかりました。
00000005 0000 add [bx+si],al
その文脈では指示が特に意味をなさなかったので、私は次のようにrasmを使用してみました:-
rasm -d "0000"そしてそれへの出力はでしたadd [eax], al。なぜこれが起こるのか興味があります。
rasm -d "0000"
add [eax], al
どうやら、rasmは32ビットモードを想定していますが、ndisasmは想定していません。
echo -ne "\x00\x00" | ndisasm -b 32 -
rasmと同じ結果になるはずです。