Sunday, April 7, 2024

Vulnerability Management - VBA Use Cases

We all have to do a lot manual work to present or analyse vulnerability data in VM domain. VBA helps a lot in automating such tasks.

Following are the few use cases I worked on:

  1. Convert multiple CSV files into XLSX files.
  2. Combine data from multiple XLSX files into one XLSX file.
  3. Apply various formulas or create pivots on multiple XLSX files.
  4. Correlate current dataset with past dataset (New vs Remediated vulnerabilities).
  5. Check whether a list of IP addresses belongs to a list of subnets.
  6. Populate data in PowerPoint charts/tables from Excel (Useful when you have to update 40-50 charts/tables).
  7. Split one single XLSX into multiple XLSX files based on criteria like Prod/Non-Prod (Environment), Windows/Linux (Platform), Tower owners.
  8. Create dashboards based on various criteria such as ageing, severity etc.
  9. Fetch vulnerability data from a website.
  10. One can create Word/PowerPoint/Outlook objects and interact with these applications.
  11. Ping a list of computers and check whether they are up or down.
  12. Invoke command prompt, run commands and save output in notepad file.

Please remember, these tasks might look simple and they are indeed simple, only problem is the repetitive nature of such tasks like applying same formula on 100 worksheets.

Please refer to the link below for further details:
https://www.nobledesktop.com/learn/vba/what-is-vba

Happy Learning
hashtagvulnerabilitymanagement

No comments:

Post a Comment

Vulnerability Management - Understanding vulnerability posture

Understanding the vulnerability posture of an organisation at a basic level helps you drive remediation efforts. So, I don't know what t...