MD1 Introduction to python programming in cyber security: Python & Cybersecurity Flashcards

1
Q

Programming

A

Programming is used to create a specific set of instructions for a computer to execute tasks

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

Python

A

Python is considered to be a general-purpose language.

This means that it can create a variety of different programs, and it isn’t a specialised in any particular problem in fields such as web development and artificial intelligence.

Python is typically used to build websites and perform data analysis.

The main reason we use Python is to automate our tasks.

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

Automation

A

Automation is the use of technology to reduce human and manual effort to perform common and repetitive tasks.

Python is generally best for automating short, simple tasks.

For example, a security analyst who’s dealing with a security incident might have a log with necessary information. Reading through these manually would take too much time, but Python can help sort through this so the analysts can find what they need.

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

Examples of using Python

A

As another example,

an analyst might use Python to manage an access control list, the list that controls who can access the system and its resources. It would be potentially less consistent if the analysts had to manually remove an employee’s access every time they left the company. However, a Python program can periodically monitor this instead.

Or, Python could also perform some automated tasks like analyzing network traffic. Though these tasks can be done through outside applications, they are also possible through Python.

In addition to automating individual tasks, Python can combine separate tasks into one workstream. For example, imagine a playbook indicates that an analyst needs to resolve a certain situation by delivering a file and then notifying the proper individuals. Python can connect these processes together.

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

Why Security professionals should use python?

A

There are several advantages Python has as a programming language. For one, Python is user-friendly because it resembles human language, it requires less code, and it’s easy to read.

Python programmers also have the benefit of following standard guidelines to ensure consistency with the design and readability of code. Another great reason for learning Python is that there’s a large amount of online support.

Python also has an extensive collection of built-in code that we can import and use to perform many different tasks.

These are just some of the reasons why Python continues to be in high demand across different industries throughout the world. You’ll most likely use it in your security career.

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