Hi,

Am 01.02.2014 um 17:41 schrieb Dennis Clarke <dcla...@adbs.ca>:
> On the far distant chance that anyone cares about such things, whatever that
> little patch was, it is the smallest change I have seen in a long long
> time. The new binary for ifconfig has a one bit change. Just one bit.
> At offset 0e974x a single byte changed from 0x32h to 0x33h.
> 
> That right there is, without a doubt, the smallest patch possible.
> 
> Thus :
> 
> # cd 144872-03
> # ls -lap /sbin/ifconfig  ./SUNWcsr/reloc/sbin/ifconfig
> -rwxr-xr-x   1 root     root       61264 Jan 25 02:36 
> ./SUNWcsr/reloc/sbin/ifconfig
> -r-xr-xr-x   1 root     bin        61264 Jan 16 01:40 /sbin/ifconfig
> 
> # hdump -Ax -t x1 -v ./SUNWcsr/reloc/sbin/ifconfig > /tmp/ifconfig.new
> # hdump -Ax -t x1 -v /sbin/ifconfig > /tmp/ifconfig.old
> # ls -lap /tmp/ifconfig.new /tmp/ifconfig.old
> -rw-r--r--   1 root     root      218262 Feb  1 16:31 /tmp/ifconfig.new
> -rw-r--r--   1 root     root      218262 Feb  1 16:32 /tmp/ifconfig.old
> # diff /tmp/ifconfig.new /tmp/ifconfig.old | wc -l
>       4
> #  diff /tmp/ifconfig.new /tmp/ifconfig.old
> 3736c3736
> <   e970:  37 32 2d 30 33 20 4a 61 6e 20 32 30 31 34 00 00
> ---
> >   e970:  37 32 2d 30 32 20 4a 61 6e 20 32 30 31 34 00 00
> 
> A one bit change.
> 
> Does make me wonder what the effect is .. but I am impressed by the sheer
> efficiency of it all.

Well, it changes the string 144872-02 to 144872-03 :-)

0000E940  74 5F 74 79 70 65 00 00 44 45 46 41 55 4C 54 5F 49 50 3D 00 00 40 28 
23 29 53 75 6E 4F 53 20 35 2E 31 30 20 47 65 6E 65 72 69 63 20 31 34 34 38 
t_type..DEFAULT_IP=..@(#)SunOS 5.10 Generic 1448
0000E970  37 32 2D 30 33 20 4A 61 6E 20 32 30 31 34 00 00 2E 69 6E 74 65 72 70 
00 2E 68 61 73 68 00 2E 64 79 6E 73 79 6D 00 2E 64 79 6E 73 74 72 00 2E 53 
72-03 Jan 2014...interp..hash..dynsym..dynstr..S


Best regards

  — Dago

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to