top of page

Python Scripting in Security



For the past two weeks, I have been very interested in learning Python because I haven't been active with a programming language for some time and Python seems to have millions of use cases nowadays. I started by completing Harvard's CS50- Python course on EdX, and if you've ever taken this course you know how interesting it is... David Malan is a joy. This course went over quite a few topics I have already understood but the instructor goes more in-depth than a lot of other courses I have seen and gives you everything you need to know i highly recommend it for people interested in learning or going more in-depth on python..

After I had felt like I had my Python fundaments in check, I migrated over to learn about how people are implementing Python in the security field with INFOSEC's "Python for Cybersecurity" course on Coursera. I seriously couldn't help but do 5 hours of this course a day the things you can create on Python seem endless and a lot less complicated once you see it broken down line by line. Here are a few of the things I learned from this course that I thought were the most interesting to me.

This simple, barebones program is for creating a decoy process that potentially can be placed on a honeynet or even the real network to intrigue and deceive attackers. The cat-and-mouse game between attackers and defenders is possibly the most interesting part of cybersecurity because of the mind games and levels you can play and go to when protecting/exploiting networks. This is a very low-level example of the things you could potentially implement but still thought it was very interesting.


To me, this section was the absolute most interesting part of the whole course, which was creating a barebones example of ransomware that would encrypt files using AES symmetric encryption and de-crypt the same files when the decryption code was provided. Ransomware is still one of the biggest and most profitable cyber threats in today's world and I thought it was fascinating to analyze the inner workings of even a low-level example.

This course was my favorite to date and if you have any interest in Python or cybersecurity I would highly recommend putting in the time to check it out, I felt as if I absorbed a lot of valuable information.


Comments


bottom of page