Hello, everyone, Welcome back to the course. It'd finally faxed through logs I made of the air and in the last video we talked about for inclusion, and it's topped off attacks.
In this video, we'll talk about cross site scripting attack. Let's start talking about the video objectives.
The video objectives are reviewed. A cross eyed skips attack, and they tried to cross eyed scream. She attacks with Logan addresses.
Now a brief review off cross site scripting yet
is an injection. I think
it's also a blindside attack.
Basically, forms in forums are the most common examples that suffers cross site scripting attacks.
There are two types, of course. I description the store when the interested data it saved in the Web sever and reflected
where no data is saving in the Web. Seven.
This means that in they start type, the attacking needs to change the webpage
while you're reflected one, the interested data is saying in processed
one of the causes of the cross ice cream. She is wrong using port validation,
and it is on the top. A seven off the 2017 0 R stopped in project.
Check this to upsides to get more information about cross site scripting.
Now let's see together how the cross artscape he works.
The process is like this The user access the website the Web's ever we will answer. They use a request,
they use a browser. We process the website answer.
And if the answer from things are malicious code, it will be executed by the browser.
Some actions that are come on course subscription are the directions on the other side
Crypto mining credential, Beth.
On some cases, in fact, the user computer with my hours or back doors.
Let's start analyzing the attack. The first will be refracted.
Here we have a big there is vulnerable to cross ice cream tea.
Wherever we put inside of Stax box, we will be displayed in the webpage after this submit.
For example, if we put log analysis which will say hello, Logan. As is
In this picture, you can see the alert.
Did you notice that the same texts that we put it in the textbooks it displayed in the alert.
This means that the website I've accepted the job script and sent each to the quiet with the Web's ever answer is processed by the use of browsers. It's reload the job script
that says that is an alert.
Let's analyze together the logs from the two actions. The first nothing wrong. Just Hello, Logan Els is
sees this website use. Get my food, we can see the request.
Can you see that we have a lot of recorded characters?
Remember that the Web service only accept asking characters. You see that during the cross site scripting Tex the turkey needs to use a lot off goaded characters.
So this is one behavior off the cross site scripting attacks that you can see on the logs.
So how did they try the reflected cross site scripting attack?
One of the ways is look for its creepy Hmm attacks on the request.
and since course that's creepy needs to use included characters. If you see a lot often called the characters. In the second request, it's better take a better look
and sees the talking needs to craft the requests. Look for respected user agents.
The next type off course. I screamed. He is. They stored.
As we said before the start, Cross, I scooped attack changed the Web page from simple. Here we have a message board
like a four room. You put your name and a message and you to be started in the Web page.
Can you guess how that will happen?
You can see here that we have two masters.
Everything looks okay
to perform that that we need to send to the server. The malicious request
Now, whenever we access the Web page, the alert message you show
and the message board Michelle, nothing in the message part.
This happens because our message contains the scripts, tags
and the script tags doesn't show s text.
They are executed by the browser. Now let's check the website. The logs from this attack The 1st 2 lines are the Lords. For a normal issues use off the website.
We have the post telling that We sent some data to the Web server
and after the get to reload the weapons,
the next two lines are the logs from that.
What is the problem here?
Can you read it for the attack?
Remember that on the post request. The payload has the action. That's why we cannot see the requests on the Web. Several logs, each one allies the to post logs. You see that the two lines are almost the same.
Maybe you're thinking how can identify the deck if I don't see the website below?
As we said before, there are another log sources that can help us. The i PS or ideas is one off them.
They analyzed the food packet,
which therefore packet it can see the malicious request
Black in this picture,
in this case, the longest different, but it can see the request
and decided request. You can see the malicious code that was sent to the Web server.
If your I PS is on the block mold,
the attack will fail you
one off the examples off the cross eyed script on tax, a script or mine.
Since Dr King had some called on the Web page and whenever used accessed the Web page.
They use his browser. You process the Web page.
If the Web page has a common Oh, it's called that asked to the Web browser to start crypto mining process, there were browser. We'll do it
and this can make the uses. Device runs lower. You can check it subside to see more about crypto mining course site scripting attacks
the cross escape. You start changes. There were Page one off their ways to confirm the attack.
Let's check the Web page codes
during your analogies. You can look for the script to tags on respected places here, the cold off our vulnerable webpage.
Since this is a small page, it will be easy to find the militias cold.
The malicious called Is this Here?
There are men, payloads that are used to perform course site scripting.
This website could say some examples off cross site scripting payloads.
The way she did fire the cross site scripting started is almost the same as the refracted one, although sees it common, eight years is the post of requests.
It is better to have more luck sources
like the I PS and, if possible, check the Web page codes and look for malicious Commons
post. That's that's my question.
There is no difference between store and refracted course. That's cute. Tex
is this information toe are false,
These affirmations force. Although the attack is similar, there are some difference between them,
and this difference changed the way to identify it
for the next question. And that's the way belong below. He didn't find which parts is malicious.
You can part of you if you want. Let's analyze. They look together first. We have the clients I p address
followed by day every time
after we have to get method and they requested fire
after we have 200 stars cold. That means okay this size. We don't not have a riff error,
and in the end we have to use their agents.
As we said before men off the attacks can be they tried in the requested fire.
Do you think that we have a lot of encoded characters in this requested fire?
Are it looks normal,
even if you think that this request is normal, that we do not have a lot off included Carter's, we can see the scripts board.
Did you see it to make things clear. Here, you can see the recorded request so you have the malicious parts off the law.
Very summer in today's last, which cost about the two top off parasites screeching
reflected in start and its differences.
We are stopped about how to identify the both type of cross site scripting.
Look for a script on the request. Look for job script cold.
Many corded Carter's
in this fact that used agents and for start cross site scripting,
you can check the webpage coat
in the next video. We'll talk about cross sights, request forgery and analyze the Web. Seven logs You don't fight the cross eyed to request a forager attacks.