Oct 31, 2020

JSON/CSV in Python

Two simple tutorials to convert between JSON and CSV data.

How to convert JSON to CSV


How to convert CSV to JSON

Links:

  • https://www.youtube.com/watch?v=YLCSVv46ERo
  • https://www.youtube.com/watch?v=LeFDBRAhRls

Oct 9, 2020

Automating Information Security with Python

Just completed my SEC573 training (since Aug 2020), and passed the GIAC Python Coder (GPYC) certification.

Syllabus:

  1. SEC573.1: Essentials Workshop with pyWars
  2. SEC573.2: Essentials Workshop with MORE pyWars
  3. SEC573.3: Defensive Python
  4. SEC573.4: Forensics Python
  5. SEC573.5: Offensive Python

Link: Automating Information Security with Python | SANS SEC573

Oct 1, 2020

Kenna CVE Check

Today I created a small python script that allow me to check the number of vulnerable host in Kenna based on a CVE ID.

It helps me to check on how many hosts contain a particular CVE vulnerability, whether it is Closed, or Open, or Risk_Accepted, or False_Positive.

But I'm thinking to improve the script later by including the vulnerability count for both active/inactive hosts.

Sep 27, 2020

Estimation, Prediction and Forecasting

What's the quick distinction among Estimation, Prediction and Forecasting.

First, Estimation Vs Prediction.

Estimation is after occurrence of the event i.e. posterior probability; while Prediction is a kind of estimation before the occurrence of the event i.e. apriori probability.

Estimation implies finding the optimal parameter using historical data whereas prediction uses the data to compute the random value of the unseen data.

Second, what is Forecasting.

Forecasting is a subset of prediction wherein both use the historical data and estimating about the future events. And the difference between forecasting and prediction is the explicit addition of temporal dimension in forecasting.

Forecasting is a time-based prediction i.e. it is more appropriate while dealing with time series data. Prediction, on the other hand, need not be time based only, it can be based on multiple casual factors that influence the target variable.

Sep 3, 2020

What is Information Security?

 Security without intelligence is just information. Information without innovation is just data.

Information Security
What is Information Security?