The following script shows a simple SQL injection. The script builds an SQL query by concatenating hard-coded
strings together with a string entered by the user:
The user is prompted to enter the name of a city on a Web form. If she enters Chicago, the query assembled
by the script looks similar to the following:
SELECT * FROM OrdersTable WHERE ShipCity = 'Chicago'
How will you delete the OrdersTable from the database using SQL Injection?
Stephanie works as senior security analyst for a manufacturing company in Detroit. Stephanie manages
network security throughout the organization. Her colleague Jason told her in confidence that he was able to
see confidential corporate information posted on the external website http://www.jeansclothesman.com. He
tries random URLs on the company's website and finds confidential information leaked over the web. Jason
says this happened about a month ago. Stephanie visits the said URLs, but she finds nothing. She is very
concerned about this, since someone should be held accountable if there was sensitive information posted on
the website.
Where can Stephanie go to see past versions and pages of a website?
Dan is conducting penetration testing and has found a vulnerability in a Web Application which gave him the
session ID token via a cross site scripting vulnerability. Dan wants to replay this token. However, the session ID
manager (on the server) checks the originating IP address as well. Dan decides to spoof his IP address in order
to replay the session ID.
Why do you think Dan might not be able to get an interactive session?
Jason works in the sales and marketing department for a very large advertising agency located in Atlanta.
Jason is working on a very important marketing campaign for his company's largest client. Before the project
could be completed and implemented, a competing advertising company comes out with the exact same
marketing materials and advertising, thus rendering all the work done for Jason's client unusable. Jason is
questioned about this and says he has no idea how all the material ended up in the hands of a competitor.
Without any proof, Jason's company cannot do anything except move on. After working on another high profile
client for about a month, all the marketing and sales material again ends up in the hands of another competitor
and is released to the public before Jason's company can finish the project. Once again, Jason says that he
had nothing to do with it and does not know how this could have happened. Jason is given leave with pay until
they can figure out what is going on.
Jason's supervisor decides to go through his email and finds a number of emails that were sent to the
competitors that ended up with the marketing material. The only items in the emails were attached jpg files, but
nothing else. Jason's supervisor opens the picture files, but cannot find anything out of the ordinary with them.
What technique has Jason most likely used?
Vulnerability scanners are automated tools that are used to identify vulnerabilities and misconfigurations of
hosts. They also provide information regarding mitigating discovered vulnerabilities.
Which of the following statements is incorrect?
The SYN flood attack sends TCP connections requests faster than a machine can process them.
- Attacker creates a random source address for each packet
- SYN flag set in each packet is a request to open a new connection to the server from the spoofed IP address
- Victim responds to spoofed IP address, then waits for confirmation that never arrives (timeout wait is about 3
minutes)
- Victim's connection table fills up waiting for replies and ignores new connections
- Legitimate users are ignored and will not be able to access the server
How do you protect your network against SYN Flood attacks?