Application Security Flashcards

1
Q

What is input validation and what are the different types?

A

It ensures date inputs are valid, and there are two types Syntactic validation and semantic validation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is syntactic validation?

A

Makes sure the input types and the lengths are what you want in your code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What semantic validation?

A

Makes sure the input that we do is what the application is expecting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are schemas?

A

defines the structure and the content stick to what you want

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is blacklisting?

A

it bans characters and its hard to maintain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is whitelisting?

A

is an acceptable character list and can break something

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Vulnerabilities of HTTP Headers

A

Can be used to upload files, leak information like internal hostnames and backend servers/applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is code signing?

A

It uses certificates to show code integrity, the software author and gives a digital signature

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to secure cookies?

A

Don’t include sensitive information, and use https. Also use secure flag which verifies the cookies integrity but this can be bypassed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is static code analysis

A

It is automated scan, but the code is not actviely running or in running state. This is good for source code and early detection in the SDLC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is dynamic code analysis?

A

It is automated scan while the code is running and analyzes code behavior and how it interacts with different devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Manual code analysis?

A

Not automated and is a slow process of line by line analysis and it open to interpretation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is fuzzing

A

It is a automated process by inputting random data, invalid data and unexpected data. To see how the software responds, what are the error messages, are there memory leaks, does it crash, or show buffer overflow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly