Audit – Security Compliance Frameworks (Part 1)

This blog series on Audit/Compliance/Security, this is first blog where we would discuss about GRC and different audits and other important information, later we will discuss each audit frameworks 27001, 42001 and latest AI Agent AIUC1. Finally, we will discuss about a case study on compliance audit for on premises enterprise system.

Every Enterprise Organization should be secure and has security team(Audit, Compliance, and Cyber Security) to ensure that the enviornment is secure from external hackers and internal threats. they are like police/governance for the contry. this security has a validation system by ISO (International Organization for Standardization). These ISO certification are necessory and required to be complience with certification that prove your business is secure and trustworthy. it is a security standard.

What is GRC?

GRC stands for “Governance, Risk Management, and Compliance”. It is a strategy that aligns system with regulations, manages risk, and keeps operations compliance.

Governance: Policies and ethical set by leadership
Risk Management: Identifying and reducing Risk, Issues or system failures
Compliance: Follow internal policy and external laws and standards depending upon region (ISO, GDPR, HIPAA, SOC)

 

Compliance Framework Key Layers:

1. Principles: The Base Principle – philosophy.
2. Objectives: The specific targets/Parameter for compliance.
3. Controls: The technical or policy checks.

*For ISO 42001 (AI Risk management standard) there are 9 Objectives and 38 Controls called the Statement of Applicability (SoA).

Core Principles for compliance:

CIA (Confidentiality, Integrity, Availability): The base of traditional infosec.
Ethics for AI: Transparency, Fairness, Safety, and handling Risk like Bias, Hallucination, and Data poisoning.
Accountability & Traceability: Activity should be logged. Access Control
Data Privacy & Protection: Human control over their data, protecting PII (Personally Identifiable Information).

Category Frameworks/ Security /Compliance Terms
 AI Governance & Risk AIUC-1, ISO 42001, AIMS, ISO 23894, ISO 42005
 Data Privacy & PII GDPR, CPRA, CPA, ISO 27701
 Security & Financial ISO 27001, SOC 2, PCI DSS, SOX, HIPAA

We will be focusing on ISO 27001, ISO 42001 and latest AIUC-1

Key Terms and Timeline for Audit/Compliance/Laws/Framework:.


1996 – HIPAA: For Healthcare system – it is US law protecting health data; Security Rule forced encryption, access control and notification to ePHI.
2002 – SOX (Sarbanes-Oxley Act): for public companies to prove their financial reporting systems are secure access restrictions and immutable audit logs included; restrict the access to critical system RBAC.
2004 – PCI DSS: For Credit card by PCI data should be handle carefully, having encryption. PCI DSS v4.0 became fully mandatory in March 2025, adding stronger MFA and continuous monitoring.
2010 – SOC 2: Built by AICPA for the cloud/SaaS, having five Criteria” Security, Availability, Processing Integrity, Confidentiality, Privacy.
2018 – GDPR: The EU law.
2019 – ISO 27001 /ISO 27701: A Privacy Information Management System (PIMS) on ISMS 27001.
2023-2024 – ISO 42001 / ISO 23894: Guide for managing AI-specific risk.
2025 – AIUC-1/ ISO 42005: Assesses how AI systems impact individuals and society.

PII – Personally Identifiable Information is like names, SSNs, biometrics, IP addresses etc. that has to be protected.
ANAB and IAS these are Third Party that “audit the auditors” so a company’s ISO certificate is legitimate.

Key Takeaway: Audits are based on artifacts

*for writing this blog I have used AI for validation.

Posted in Others | Tagged , , , , | Leave a comment

Azure – HorizonDB

As Open Source – PostgreSQL and AI is a growing and powerful DB system, AWS and Google already have AWS Aurora and Google AlloyDB, which are Cloud Native PostgreSQL systems and are doing great.

Similarly, Microsoft was also planning a similar product for a long time. So, at Microsoft Ignite 2025 (Nov 2025), Microsoft announced a new HorizonDB Private Preview for the Azure Cloud system, which is advanced in progress and has many great features on top of it.

After a year, at Microsoft Build 2026 (June 2, 2026) – Microsoft announced a Public Preview for HorizonDB.

HorizonDB is a very impressive AI-ready database with Vector Database embedding, including DiskANN (advanced vector indexing at Microsoft).

HorizonDB is very fast as it is a “Database-as-a-log” database. Everything is on the Write-ahead-Log, and data will be asynchronously updated at the storage layer. That is what makes the database so special and fast.

Reference:

https://azure.microsoft.com/en-us/products/horizondb

https://techcommunity.microsoft.com/blog/adforpostgresql/azure-horizondb-enterprise-ready-postgres-engineered-for-the-ai-era/4524094

Posted in Others | Tagged , , , , | Leave a comment

Lean Six Sigma – Brief

When you have a project or system, it has to be optimized, tuned, and we must ensure it is consistently performing better. For this, we should use the Lean Six Sigma framework. Lean and Six Sigma are two frameworks which we use to clean up and optimize, and we must ensure to monitor it continuously.

Lean:Lean is removing waste. So it is like when you have to work on improvement or optimization, we require to see the low-hanging fruit and clear or clean up things which are wastes. In the Lean framework, there are 8 types of wastes (DOWNTIME):

  • Defects (errors or bugs)
  • Overproduction (over produce than required)
  • Waiting (people or systems waiting)
  • Non-Utilized Talent (not using the team talent optimized)
  • Transportation (moving things unnecessarily)
  • Inventory (unused items/inventory)
  • Motion (moving around people)
  • Extra-Processing (un necessary work)

For waste clean up, “Go to GEMBA” (go to the site or actual system) is required to understand the system better.

Along with this, there is KAIZEN (continuous small improvements or habit) to make our system better every day.

After implementing and applying LEAN (the waste clean up framework), the system would be clean. Then we can implement and apply the SIX Sigma framework to improve, optimize, and make the system consistent or they can go parallel or continuously to have system optimum.

SIX Sigma:Six Sigma is a statistical improvement framework (Sigma is the Greek letter for Standard Deviation) used to achieve 3.4 Defects per Million Opportunities (DPMO). This means 99.99966% accuracy! This methodology is having different teams to manage the system. Like higher leadership (Champions), Project Manager/Lead (Black Belt or Green Belt), and Technical expert/SME (Yellow Belt or White Belt).

Six Sigma uses the 5-phase improvement DMAIC framework. If it is a completely new project, the DMADV framework will be used.

  • D – Define: Identify the problem, Project charter to clear problem defination.
  • M – Measure: Measure performance – Baseline.
  • A – Analyze: Analyze the root cause of the defects or issues (this is where we do RCA).
  • I/D – Improve / Design: Implement solutions to resolve the issue (or Design the new process).
  • C – Control: Control in place for monitoring and continuous improvement, and customer satisfaction (Voice of Customer).
  • V – Verify: (For DMADV) Verify the new project for monitoring and customer satisfaction / Voice of Customer Feedback.

RCA Tools / Techniques:

  • The 5 Whys: This is the most easy and efficient way to solve the problem/RCA. We need to start asking WHY? for every question and get the right answer. Continue this at least 5 times (mostly to get the solution). Sometimes we may require to ask more WHYs? until we get the final solution.
  • Fishbone Diagram (Ishikawa): It is like a Fishbone brainstorming tool used for RCA to categorize potential causes into six areas (6 Ms: Manpower, Method, Machine, Material, Measurement, Mother Nature-Environment).

Finally, once we have Lean Six Sigma implemented, we should not consider the Average number to understand any issue. The Average will misguide us or it will not provide a clear picture, and because of this, you will face issues with customer satisfaction. Always use a Histogram graph! This will provide a clear idea about the actual issues and tell you exactly where to focus for improvement.

Similarly, do not get panicked for any sudden deviation or escalation of major issues. Understand the trend with a Run Chart (or Control Chart) using a proper baseline and the upper and lower limits of the acceptable range. This will ensure your system is running optimum and stays completely stable

Posted in Others | Tagged , , , , , , , | Leave a comment

Project Management – Part 1

The soul of project management is Process Group(PG) and Knowledge Area(KA). they are related and grouped as follows:

Process Group[49]

  1. Initiating [2]: Initial phase- Project Charter, Identify Stakeholders – detail project requirement and expectation.
  2. Planning [24]: Main planning phase will have all Knowledge Areas – (Majority are Scope, Schedule, Cost and Risk)
  3. Executing [10]: Implementation phase – execution Work done on this phase.
  4. Monitoring & Controlling [12]: this connect with all the KA’s for monitoring and control for project success.
  5. Closing [1] : Final signoff from stakeholder

Knowledge Area with Process

  1. Integration Management:
    Initiating: 1 | Planning: 1 | Execution: 2 | Monitor/Control: 2 | Closing: 1
  2. Scope Management:
    Planning: 4 | Monitor/Control: 2
  3. Schedule Management:
    Planning: 5 | Monitor/Control: 1
  4. Cost Management:
    Planning: 3 | Monitor/Control: 1
  5. Quality Management:
    Planning: 1 | Execution: 1 | Monitor/Control: 1
  6. Resource Management:
    Planning: 2 | Execution: 3 | Monitor/Control: 1
  7. Communication Management:
    Planning: 1 | Execution: 1 | Monitor/Control: 1
  8. Risk Management:
    Planning: 5 | Execution: 1 | Monitor/Control: 1
  9. Procurement Management:
    Planning: 1 | Execution: 1 | Monitor/Control: 1
  10. Stakeholder Management:
    Initiating: 1 | Planning: 1 | Execution: 1 | Monitor/Control: 1

I will write detail blog on this in future.

Posted in Others | Tagged , , , , , | Leave a comment

Google – NotebookLM on ThakurVinay blog

Google has contributed a lot of stuff/enhancement on its portfolio, google is no longer a search engine. it is a Major IT company in the industry. having strong base on SearchEngine, Gmail, YouTube as a base. it can offer great and revolutionary vision on future tread/requirements Google is involved on research from quite some time now and a Major contributor for community as well. Google is everywhere – Hardware TPU, Mobile 🙂 , AI – So many related products Gemini, Spark, Antigravity, NotebookLM are some, Google Cloud, Autonomous cars, Protocol A2A(developed)

I was exploring the Google NotebookLM, it is very impressive and I love it.

It is like personal RAG system which LLM, Vector DB and other internal is taken care by Google it is very easy to use.

I have explored it by providing my blog post and it has generated summary of details(we can customized per requirement)

  1. Mindmap: Generate AI mindmap based on source – like hierarchy structure.

2. SlideShow: will generate the AI slideshow for the source.

3. Report: Generate report per given criteria for the source.

4. Quiz: Generate Quiz for the source.

5.Flashcard: generate flash card like quiz

6. Audio and Video: this are two stuff i like most, for Audit even you can participate on podcast

Here is summary of my blog post on video: please watch till the end:) Thank you!!

Posted in Others | Leave a comment

SSMS Evaluation – future ready

In previous posts, we looked at the SQL Server engine. for us DBAs, the SSMS plays an important role for handling/Managing SQL Server. we have been using these tools since the beginning, and the evolution has been impressive.

As the engine moves toward SQL Server 2025, management tools is also evolve. You can always find the latest official documentation and downloads here: Microsoft SSMS Documentation.

The Major SSMS Baselines

  • 2005 (Version 9.0): This was the start of SSMS, replacing the old Enterprise Manager.
  • 2012 (Version 11.0): In Visual Studio much better query editor and IntelliSense.
  • 2016 (Version 16.x): Microsoft started releasing SSMS as a separate download not included in SQL Install.
  • 2023 (Version 19.x): Strict Security encryption is by default
  • 2025 (Version 21.x): Another major release including AI -copilot and major change of 64-bit for extra output results.

Just like the engine, the tools are becoming “smarter.” We are moving from manual scripting to AI-assisted management. It’s an exciting time to be a DBA!

This will change DBA’s life I would write detail blog on future DBA soon….

Posted in Others | Tagged , , , , | Leave a comment

Future IT Roles – Agentic Architect and AI Boom!!

These days everything is changing to AI World, IT roles are getting changed and it is going towards AI ways, everyone in IT should be aware of AI – it is kind of mandatory for everyone. this introduce of new IT roles having knowledge of AI. today I am discussing about it. please let me know your feedback on this.

1. AI / Gen AI – Prompt Engineering (Software Engineer):

Generally any developer/software engineering having knowledge of Software coding/understanding, we call it as L1 or L2 (Software Engineer).

Here in AI world, having good understanding of how AI works and what is Gen AI and different AI UI (Cursor, Copilot. GPT, Claude Code ) writing right prompts and related and make AI work the way we want to generate the output efficiently with Tokens. having understanding of AI Monitoring tool.

2. AI Platform Engineer (DevOps/SRE/Sr. Software Engineer):

When IT Engineering finds the path to go to which expertise – interest on and become hands on expert on subject – domain knowledge.

AI world for AI Platform engineer, someone should expert/good hands on knowledge of AI Agents, how it works, how to build one, knowledge of python, RAG, MCP, A2A . expert in any one AI – UI. understanding of cost and made their hand dirty can become AI platform engineer have to spend $$ as well to explore it 🙂

3. AI Evaluation Engineer (QA Engineer):

QA Engineering is detail quality check and validation and ensure product / software works as expected.

Similar to IT, AI Evaluation engineering should having inside knowledge of how AI works and AI expected output /validation, build / test AI Agent to have desire result. complete end to end testing/multi agent synchronization. red teaming,

4. AI Guardrails / Security Engineer (Cybersecurity Analyst):

Security Officer, compliance team plays a very important role on any organization to ensure complience and security in place.

AI Guardrails would be included into that role.

5. Agentic Architect ( Architect / Technical Delivery Manager);

we have architect who is expert on subject and have detail understanding of knowledge of all the technologies/system and domain. who is having understanding of cost/budget and efficint management.

similar to that for in AI world we require to have expert who understand AI and how it is charged and how to optimize /save the cost of AI Tokens and usage more efficiently so that we can have ROI.

I remember when Cloud was introduced everyone were talking about Cloud and it was so boom that it would save lots of $$ to move to cloud and no Data center would be exist in future. but later realized that the spending on cloud would be same as on- premises if not used/plan properly.

Similarly AI Boom 🙂

if we do not understand the charges of TOKEN and AI internally charging you. you may end of paying higher the cost of you pay to your employee. so we need to be very very careful!!

hope we would learn from Cloud experience and would plan AI costing before using it. Nothing is free in the world 🙂

Boris Cherny @bcherny Claude Code – on twitter that there would be 5 IT roles due to AI:

1. Prototyper: new ideas;

2. Builder: idea into production

3. Sweeper: cleans up the UI, optimizes performance

4. Grower: built and iterates on it to improve

\5. Maintainer: make it secure, reliable, fast, and efficient

Posted in Others | Tagged , , , , | Leave a comment

OpenClaw- Agentic Engineering

This week has training on AI – Cyber security experts – Omar Santos and Aamir Lakhani- with great knowledge . during the session learned about OpenClaw and more. I learned about Vibe coding, where AI is writing the code a year back early Feb 2025. the development on that is in swing and about 5 months back towards end of 2025 we got OpenClaw- Agentic engineering where AI will reintarate the coding and fix the issues by its own next level of agentic system – impressive.

With in 3-4 months OpenClaw become one of the popular Agentic Solution, by Peter Steinberger — https://www.youtube.com/watch?v=z2IDQbNOS5s – great video which shows the progress of his development- highly recommend.

OpenClaw is an opensource community setup, uses an AI model (Claude, GPT, Grok, LLama,Gemini..) to link (grant access to the system) and let that system work as an agent(s) / Engineer(s) who can work for you. this can be linked to any social media app (WhatsApp, Telegram, etc

it is easy to install, choose where you want to dedicate these configuration . system and copy paste the link from

it has a great documentation for details.

The point here is once setup is done. you can configured/create agent(s) for task and it can work 24*7 for the activity and take care of the action/tasks per our instruction. and we can track/communicate using telegram with it. cool…

My thinking is it would be great if we handle carefully as it says – “great power comes with great responsibility” this looks great but it opens many challenges/Risks where we are empowering system to take care of itself so we have to be extra careful. we need to understand the stability of the system and how it will go next… so for me it is in an experimental phase.

  • It is next level AI where coding/simple things are not required and AI can take care of it.
  • Instead of paying to Engineers we have to pay AI agents
  • No longer Human in loop. it is Human on it -just for information and monitor things are working ok.
  • Every new system requires efforts to move old to new system. so it is important how it is getting adopted.
  • Lots of Competition on AI and things are getting change very frequently. so consistency and keep updated would be way to go.
  • So many Tools and UI coming to the market, things are getting commercialized and so much dynamics we have to be careful.
  • Slowly we are giving control/authority to AI for doing things. interesting to see where it goes. do not want to scare but would have to have it under our control

NemoClaw and openShell is a security tool developed by NVIDIA, defenceClaw by Cisco another one Nanoclaw

So many things happening 🙂

additional AI reference:

https://www.digitalocean.com/resources/articles/github-copilot-vs-cursor
https://www.digitalocean.com/resources/articles/what-is-openclaw
https://openclaw.ai/
https://cursor.com/home
https://www.mindstudio.ai/
https://www.coalitionforsecureai.org/
https://en.wikipedia.org/wiki/NotebookLM#:~:text=The%20team%20building%20the%20product,summary%20with%20narration%20and%20visuals..

Posted in AI, Others | Tagged , , , , | Leave a comment

SQL Server Security: Always Encryption

As discussed introduction of Always Encryption blog and initial Encryption at rest as TDE which is introduced on SQL Server 2008, TDE is at rest has limitation as data is open anyone who has access to SQL Server could able to see the data, to overcome the data security issues, TDE is Server side Encryption where as Always Encryption is Client side encryption, it is next level security where data at SQL Server is not visible/accessible to even DBA’s – which makes it more strong security. eg. Credit card , SSN , PII data which is critical/ compliance related data and should be secure.

SQL Server 2016 introduced Always Encryption. which is at column level encryption on SQL Server. Similar to DMK, DEK . Always Encryption has Column Master Key (CMK) and Column Encryption keys(CEK). CMK is external /outside used by application and has control for data and CEK is encrypting the data at column level and inside SQL Server . DBA/Administrator can manage the system but they can view the data. There can be one or many CEK mapped with one or many CMK. Generally we can 1 CEK can be used for all column for 1 CMK.

Similar to DMK, CMK has to be associated with Certificate, CMK uses “Windows Certificate Store” “KEY_STORE_PROVIDER_NAME = N’MSSQL_CERTIFICATE_STORE‘,” to encrypt the data.

both the CMK and CEK keys should be created at user database where your database columns required to be always encryption

Column Master Key(CMK): following is the script generated to create column master key for given database (ensure to generate certificate button for windows certificate store to be included. to create the CMK. (for now do not enable /check box for enclave , we will talk about Enclave in next blog)

CEK: once CMK with certificate created, we can create CEK with CMK as shown in following screenshot, here we can see algorithm RSA and reference of CMK.

Now as Encryption setup is done, we have to configure select column for AE (Always Encryption), there are different types of Encryption

  1. Deterministic: this encryption time convert/encrypt the data (Binary) deterministic /static retrieval on every encrypted output. query output is specific so you can use where/order by clause. this is less strong then randomized.
  2. Randomized: this encryption is randomized and return random output on every retrieval so you can not where clause query and other conditional queries. this is strongest encryption.

It requires “Latin1_General_BIN2′” collation , encryption will be on BIN format

As always encryption is at client side so we have to consider that this is outside sql server we have control on interact with SQL Server so we have to use C#, powershell or use SSMS as client system.

We can create table with encrypted column or we can existing encrypt the table – column.

  1. Existing table convert Always Encryption for testing purpose – EASY WAY 🙂 ;using SSMS

TSQL: you have to enable AE only at the time of table creation you can alter table AE only at Enclave enabled (will discuss in next blog )

once it is encrypted the data will be encrypted.when you query you will get it in encrypted values

to view in SSMS unencrypted as a workaround – you can view it using C#, powershell as well.

open new SSMS connection with :

in connection string – Column Encryption Setting=’Enabled’

in Query Options- Enable Parameterization for Always Encrypted

After this you can query Encrypted columns, to work on encrypted columns you can validate it using sp

exec sp_describe_parameter_encryption
[ @tsql = ] N’Transact-SQL_batch’ ,
[ @params = ] N’param’

Query To check the CMK & CEK :

Limitation:

For perform pattern matching, comparison operators with other paintext columns and encrypted data.

Columns using one of the following data types: xml, timestamp, rowversion, image, ntext, text, sql_variant, FILESTREAM columns.IDENTITY,ROWGUIDCOL,Partitioning,default constraints.referenced,change data capture.DDM

SQL Server Replication
Distributed queries -linked servers, OPENROWSET, OPENDATASOURCE.

So Always encryption has so many limitations it self as it is isolated with rest of the objects so MS introduced Enclave to overcome this issue

Ref: Microsoft site has detail about limitation and issues associated with Always Encryption, which has been mitigated/improved using ENCLAVE (next blog )

https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver17

Posted in Others, Powershell, Security, sql server 2016, SQL Server 2017, What I learned today | Tagged , , , , , , , | Leave a comment

SQL Server Security – TDE Encryption

Transparent Data Encryption(TDE):

TDE was initially introduced in SQL Server 2008 Enterprise Edition; this feature encrypts a physical layer of Database files Data/log files protection at Disk / storage level(mdf, ndf and ldf) with Backup files (bak, trn) for those databases. – encryption at rest

Later in SQL Server 2014 Standard Edition included encryption of Backup exclusively even non encrypted databases.

As name implies TDE – transparent data encryption is AES-256 encryption at data pages without any one aware of/application team aware of. Means no application changes required. This is all at the backend at system level.

The benefit of TDE is at the storage side if the attach/storage file compromised the data at rest is encrypted and not readable from data/log file or even backup files. It was great starting point for SQL Server. 

we have to consider – as when enabled TDE at any database level it enables TDE at Tempdb as well for encryption processes, this could impact other non encrypted databases. also we cannot enable TDE for other system databases (master, model and msdb), you cannot encrypt tempdb manually.

Earlier versions did not have any encryption at system level. It was manual application specific encryption

TDE Architecture is as follows:

Service Master Key (SMK): At the highest/ instance level we would have Service Master Key (SMK) which is installed/configured at the time of sql server installation. Build in. this will help to encrypt internal credentials. Like Linked server/ sa and others.

SMK is critical for TDE system which holds other keys. it is recommended to take backup of this Key so that we can rebuild the new instance with TDE setup.

This backup would be at external key which can be restored. this key protects Database master key.

Database Master Key (DMK): to enable the TDE setup for database we have to create DMK at Master database, this would be external and visible to application /user to use to get it has Certificate associated with it.

ensure to take backup of certificate, without certificate your database would be Gone/inaccessible if restoration required.

This setup is required at “master” database to enable TDE at database level

you can either have internal certificate or external certificate also can use asymmetric key to hold the encryption.

Database Encryption Key(DEK) :this is at database level which requires to enable TDE. DEK is use the certificate created and using that it will encrypt the database.

once DEK created you have to alter the database to enable it.

This is the process to setup TDE.

Following are some of the important commands to validate TDE:

  1. sys.key_encryptions: to validate keys – 102 is internal key id for smk

2. sys.certificates : to see certificate details.

3. sys.dm_database_encryption_keys: can have DEK related details for databases level.

Microsoft has great image which will show it very clear way.

ref: https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-data-encryption?view=sql-server-ver17

Posted in Backup and Restore, General, Internal, Others, Security, TempDB, What I learned today | Tagged , , , , , | 1 Comment