21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

session ID context, 461<br />

session IDs, 486<br />

IP addresses as elements of, 487<br />

secure formats for, 486<br />

session keys, 238<br />

session timeout, 461<br />

Set-Cookie headers, 419<br />

setegid( ) and seteuid( ), 18<br />

SET_FN_PTR macro, 671<br />

setgid( ) and setuid( ), 17<br />

dropping privileges after use, 16–20<br />

drop order, 18<br />

privilege separation, limiting risk<br />

with, 20–23<br />

setgroups( ), 18<br />

SetInformationJobObject( ), 732, 733<br />

setregid( ), 18<br />

setreuid( ), 18<br />

setrlimit( ), 35, 113, 728<br />

SetThreadToken( ), 11<br />

Setuid Demystified, 17<br />

setup_charset_map( ), 148<br />

setup_signal_handler( ), 715<br />

SET_VAR macro, 667<br />

SHA1 (Secure Hash Algorithm 1), 257<br />

DSA standard and, 347<br />

key generation using, 143<br />

LION, 215<br />

OpenSSL API, 263<br />

whitening, using for, 613<br />

SHA-256, SHA-384, and SHA-512<br />

algorithms, 258<br />

Shamir, Adi, 314<br />

shared locks, 59<br />

shatter attacks, protecting Windows<br />

against, 716<br />

ShellExecute( ), risks of, 34<br />

shells, environment variables, risks of, 3<br />

shuffling fairly, 612<br />

SID_AND_ATTRIBUTES structures, 14<br />

SIDs (security identifiers), 8, 42, 375<br />

disabling or restricting, 14<br />

sigaction( ), 715<br />

signal handling, perfoming<br />

properly, 712–716<br />

guidelines, 713<br />

program termination, 713<br />

writing signal handlers, 714<br />

signal_was_caught( ), 716<br />

signed data types, unsuitability for key<br />

representation, 118<br />

756 | Index<br />

signing data using an RSA private<br />

key, 338–340<br />

SIGTRAP, 682<br />

Simple Authentication and Security Layer<br />

(SASL), 364<br />

“simple blob” format, 245<br />

S/KEY, 367<br />

S/KEY dictionary, 130<br />

smc_encrypt utility, 698<br />

S/MIME email, certificates for, 514<br />

SNOW stream cipher, 156, 158, 159<br />

home page, 160<br />

snprintf( ), 78<br />

sockets, 477<br />

Entropy Gathering Daemon (see EGD)<br />

interprocess communication, using<br />

for, 475–482<br />

loopback address, 477<br />

Unix domain sockets, authentication<br />

using, 482–485<br />

SoftICE, 685<br />

software protection, 648–653<br />

anti-tampering techniques, 652<br />

bit and byte obfuscation, 664–666<br />

Obcode data types, 664<br />

Obcode library, 664<br />

checksum algorithms, detecting<br />

modification with, 653–658<br />

CRC32 algorithm, 654<br />

constant transforms on variables, 667<br />

costs, 651<br />

debugging difficulty, 652<br />

development time, 652<br />

maintainability, 652<br />

countering disassembly, 688–693<br />

function truncation, 691<br />

misalignment errors, 690<br />

using NULL bytes, 688<br />

crackers and their motivations, 650<br />

detecting debuggers, 681–688<br />

finding breakpoints, 681<br />

Unix, 682–684<br />

Windows, 685<br />

detecting SoftICE, 685<br />

function 0x43 of interrupt 0x68, 687<br />

int3 interface, 687<br />

“Meltice” technique, 686<br />

disguising Boolean values, 670<br />

function pointers, using, 671<br />

goals, 651<br />

hiding ASCII strings, 678–680<br />

merging scalar variables, 667<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!