Secure application development Flashcards

1
Q

What is sandboxing in regards to the application development process?

A

An isolated testing environment used during the development process with no connection to the real world or production systems. A technological safe space.

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

What is the difference between a testing environment and a sandbox environment in a development environment?

A

A testing environment will be slightly more formal. All of the pieces are now put together, but it is still in the development stage. Does it all work together after being stitched together? Functional tests happen here.

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

When does QA happen in development?

A

QA=quality assurance
After an application has made it through the testing environment and passed the tests there.
This would be a place to validate that everything is working as expected.
This would also be the group that tests new features, and verifies that old errors which were fixed don’t reappear.

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

When does Staging happen in a development process?

A

After the QA team has gone through and done their tests. This would be when the product is almost ready to roll out but an additional set of tests must be done before deploying it to production.
A staging environment should work and feel exactly like the production environment, and use a copy of production data.
This is also where you could run performance tests on how it will run in a production environment.
This is your last chance to test the features and usability.

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

At what point in the process of development would performance tests be run?

A

Staging.

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

Which things should be documented in a security baseline of an application?

A

Firewall settings, patch levels, OS file versions, etc.

This may require constant updates as the application is updated.

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

What is the difference between Scalability and Elasticity?

A

Scalability would be creating an application instance that can support a certain load, and quantifying what it can support.
Elasticity would be increasing or decreasing the capabilities of an application instance as needed and possibly deploying multiple application instances that can grow and shrink.

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

What is orchestration in cloud computing?

A

In a general sense, it is Automating the provision and deprovisioning of cloud instances like servers, networks, switches, firewalls, and even policies. As well as automating what area of the world you want an instance to be provisioned in. The security policies should be part of the orchestration, and as applications are provisioned the proper security should be automatically included.

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

When deprovisioning an application instance in the cloud, what are a few things that would be important to remove/change other than just completely turning the thing off.

A

Focus on rewriting firewall rules and other ACLs since this is no longer available, as well as removing all of the data associated with this instance that is no longer necessary.

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

In regards to secure coding, what is a stored procedure?

A

Stored procedures limit the clients interactions with the database. Rather than sending out a direct and detailed request for data, a stored procedure would greatly limit the client’s interactions with the database to one that was reconfigured and stored on the database.

Stored procedure: ‘CALL get_options’

Regular Query: ‘SELECT * FROM wp_options WHERE option_id = 1’

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

What is dead code?

A

Dead code is where code has been put in an application and has to do some processing, but there is a dead end and this is never used in the application at all.
It bloats the size, makes things take a little longer, and might add a security issue(all code is an opportunity for a security problem).

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

What is input validation?

A

Making sure that input placed in any form in an application is what is expected.
Ex. a zip code should be x numbers long and anything else will be rejected.
You want to be having this validation done on the server side, so that attackers can not make changes to the data before it reaches the server, but you will typically see it happening on both sides to speed things up.

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

What is an SDK in application development?

A

Software development kits.

Basically a 3rd party library like the nmap library you used for zpScan

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

What is Software Diversity?

A

Software Diversity is a way of minimizing your attack surface by making software slightly different on each machine, using alternate paths during the compiling process. This won’t change the functionality of the software in any way, but it will change the final binary file itself.
This means that exploits against a specific piece of software may not work against all of the devices in your workplace, even though they all have the same piece of software.

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

What is CI? (Continuous integration)

A

Continuous Integration is when code is being constantly written and merged into the central repository many times a day.
This takes place during the development process.
There needs to be automated security checks and then we need to evaluate the updated code with the documented set of security baselines.
One the software comes out of the development process there might be even more extensive security checks made.

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

What is CD? (Continuous Delivery/Deployment)

A

Continuous delivery is when we automate the testing and release of an application. Automated security checks will happen during the testing process and it will wait for us to click a button and deploy this application into production.

Continuous Deployment is when the entire process of testing and deploying an application is automated without the need for human integration or manual checks. It will only stop if a problem is found during the testing process, otherwise all of it will go through automatically with no delays at all.