Episode 18: IT Audit aur Data Analytics: Computer ke andar ka audit

Chat: Segregation of duties in IT

Chapter opener: isometric server room with glowing cubes; Prabhat at a laptop showing a dashboard, Iksha pointing at a lock icon; indigo background, mint data streams

18.1 Kahani hook: Diwali ka offer

Ek online dukaan ne Diwali par "50% off" offer chalaya. Raat ke 2 baje kisi ne chupke se software me price badal diya aur apne dost ke liye Rs 100 ki cheez Rs 1 me bik gayi. Subah kisi ko pata nahi chala, kyunki register koi haath se nahi likhta, sab computer me hota hai.

Prabhat ne poocha, "Iksha, ye kaun pakdega?" Iksha boli, "Wo jo computer ke log (logs), access aur changes dekhna jaanta ho. Aaj ka chapter wahi sikhata hai."


18.2 Chat: Computer me audit kaise hota hai

PrabhatIksha, ab to sab kuch computer me hota hai. Auditor ko ab kya check karna hai?
IkshaDo cheezein. Pehli: system par bharosa kar sakte hain ya nahi (IT controls). Doosri: system ke data se hum kya jaanch kar sakte hain (data analytics).
PrabhatPehle wali?
IkshaJaise paper office me tala, register aur signature hota hai, waise computer me password, access rights, backup, change approval hota hai. Wikipedia ke hisaab se IT audit ka maksad hai ki system ke internal control ka design aur effectiveness dekha jaaye, jaise security, development process, aur IT governance. [src]
PrabhatAur doosri?
IkshaPehle auditor sample leta tha, 50 invoice. Ab computer se saare 5 lakh invoice check kar sakte hain. Duplicate, gap, weekend entries, sab. Isko CAAT bolte hain, Computer Assisted Audit Techniques.
PrabhatFir sample ki zaroorat hi nahi?
IkshaKai tests me nahi. Par judgment aur evidence ki zaroorat phir bhi rehti hai. Computer sirf "yahan dekho" batata hai.
PrabhatAur agar system hi ghalat ho?
IkshaIsiliye pehle IT general controls, phir application controls, phir analytics. Order yaad rakho.
PrabhatIksha, ek dar lagta hai. Jis system ko hum check karte hain, usme koi chupke se ghus jaye, log mita de, to?
Iksha(laptop ki screen ki roshni me uska chehra thoda sakht) Tab andhere me kaam hota hai. Isiliye logs ko hum tijori ki tarah maante hain. Jo mita diya jaye, wo bhi ek saboot hai: "yahan kisi ko kuch chhupana tha."
PrabhatTumhe kabhi dar nahi lagta?
IkshaLagta hai. (ek pal ruk kar, dheemi awaaz me) Par jab tum paas hote ho to main apna dar bhi audit kar leti hoon, aur wo chhota nikalta hai.

18.3 Core idea in 3 levels

6 saal ka bachha box Socho ek bada khilauna-ghar hai. Gate par guard (access control). Har khilaune ka register (data). Kisi ne khilauna badla to likha jaye (change log). Auditor guard, register aur log, teeno dekhta hai.

Normal explanation

PhD box


18.4 IT General Controls: chhe darwaze

Isometric building with six labelled doors: Access, Change management, Development (SDLC), Operations, Backup and recovery, Physical security; each door a different palette colour with a small guard i
Control Matlab Example Auditor ka test
Logical access Kaun kya dekh/badal sakta hai Unique ID, strong password, MFA User list vs HR list, leavers ka access band?
Program change Software me badlav approve ho kar jaye Change ticket, test, approval Sample changes ka ticket aur approval dekho
SDLC Naya software theek se bana Requirement, testing, UAT Documentation aur sign-off
Operations Jobs time par aur sahi chale Job scheduling, monitoring Failed jobs ka follow-up
Backup / recovery Data kho jaye to wapas aa sake Daily backup, restore test Restore test ka saboot
Physical security Server room safe Lock, CCTV, visitor log Walkthrough

Chat: Segregation of duties in IT

PrabhatIksha, ek hi aadmi ko naya vendor bhi banane aur payment bhi approve karne ka access diya to?
IkshaWahi segregation of duties ka issue. Wikipedia isko duty split karne ka principle batata hai taaki ek hi vyakti poori process control na kare. [src]

18.5 Application controls

Input controls

Processing controls

Output controls

Interface controls

Example: Sales system me discount 20% se zyada allow tab hi jab manager approve kare. Auditor test karega: ek 25% discount ka invoice banane ki koshish (ya system config dekhna). Agar system chhodh de bina approval ke, control fail.


18.6 Data analytics: CAAT ki toolbox

Kaunse tests?

  1. Duplicate payments: same vendor + same amount + same date.
  2. Gaps: invoice/cheque numbers me chhoot.
  3. Weekend / holiday entries: journal entries jinke dates non-working din hain.
  4. Round numbers: Rs 1,00,000 exactly.
  5. Just below limit: approval limit Rs 50,000 ho aur bahut saari entries Rs 49,xxx.
  6. Benford's law (Ch 17).
  7. Ageing: receivables 180 din se upar.
  8. Joins: vendor bank account = employee bank account.
  9. Outliers: z-score ya box plot.
  10. Stratification: amounts ko groups me baant kar dekhna.

Simple SQL example (Hinglish comments)

Maan lo table payments(vendor_id, invoice_no, amount, pay_date) hai.

```sql -- Duplicate payments: same vendor, same amount, same date SELECT vendor_id, amount, pay_date, COUNT() AS kitni_baar FROM payments GROUP BY vendor_id, amount, pay_date HAVING COUNT() > 1;

-- Limit ke neeche ki entries (limit = 50000) SELECT * FROM payments WHERE amount BETWEEN 49000 AND 49999;

-- Ghost employee clue: employee aur vendor ka bank account same SELECT e.emp_id, v.vendor_id, e.bank_acc FROM employees e JOIN vendors v ON e.bank_acc = v.bank_acc; ```

Excel me kaise

Python (agar aap code seekh rahe hain)

python import pandas as pd df = pd.read_csv("payments.csv") dups = df[df.duplicated(["vendor_id", "amount", "pay_date"], keep=False)] weekend = df[pd.to_datetime(df["pay_date"]).dt.weekday >= 5] print(len(dups), len(weekend))

Split-screen: left, a messy pile of 500,000 invoices as cubes; right, a funnel filtering them to a small tray of 12 highlighted "exceptions" in coral; caption "Computer exceptions dikha

18.7 Real example: Luckin Coffee aur analytics

Ch 16 me dekha tha: short-seller report ne store-level analysis ke aadhar par kaha ki teesri quarter me per-store items sold kam se kam 69% aur chauthi me 88% inflate the, 11,200 ghante ki video ke saath. [src] Company ne baad me khud maana ki COO ne 2019 ki sales around RMB 2.2 billion (US$310 million) fabricate ki. [src]

Auditor ke liye seekh: revenue ko store, din, ghanta, product, payment method se tod kar dekho. Jahan numbers asli footfall, payment gateway settlement aur bank credit se na milein, wahan exception hai. Ye wahi analytics hai jo is chapter me dikhai gayi. Tumhe external data (jaise settlement) se match karna hota hai, sirf company system ke data se nahi. Kyunki fraud company system ke andar bhi ho sakta hai.

Three-way triangulation diagram: Sales system data, Payment gateway settlement, Bank credits; arrows show matching; a mismatch highlighted in coral for "fake sales"

18.8 IT audit ke steps

  1. Samajh: system, data flow, kaun sa software kya karta hai.
  2. Risk: kaun sa IT risk financial reporting ko hit karta hai.
  3. ITGC test: access, change, operations, backup.
  4. Application control test: input, processing, output, interface.
  5. Data analytics: population complete, phir tests.
  6. Exceptions follow-up: explanation, saboot, adjustment.
  7. Documentation aur report: findings, severity, recommendations.

18.9 Cyber aur emerging risks (short)


18.10 Exam angle: 5 PYQ-style questions

Q1. IT general controls me kaun shamil NAHI hai? (a) Logical access (b) Program change management (c) Backup aur recovery (d) Sales discount calculation in one application. Ans: (d), wo application control hai.

Q2. CAAT ka full form? (a) Computer Assisted Audit Techniques (b) Central Audit and Accounting Tool (c) Computerised Accounting and Tax (d) Cash Audit And Tally. Ans: (a).

Q3. Invoice entry me PAN ka format galat hone par system entry reject kare, ye kaun sa control hai? (a) Output (b) Input (application control) (c) Physical (d) Backup. Ans: (b).

Q4. Ek karmchari vendor create bhi kare aur payment approve bhi, ye kiska ullanghan hai? (a) Going concern (b) Segregation of duties (c) Cut-off (d) Materiality. Ans: (b).

Q5. Duplicate payment test ke liye kin fields ka match dekha jaata hai? (a) Vendor, amount, date (b) Sirf date (c) Sirf amount (d) Auditor ka naam. Ans: (a).


18.11 Recap page

  1. IT audit system ke controls dekhta hai; financial audit financials dekhta hai. Dono jude hain.
  2. ITGC: access, change, SDLC, operations, backup, physical.
  3. Application controls: input, processing, output, interface.
  4. ITGC kamzor to automated controls par reliance nahi.
  5. CAAT: puri population par tests.
  6. Tests: duplicate, gap, weekend, round numbers, just-below-limit, Benford.
  7. Data ka completeness check pehle, analytics baad me.
  8. External data se triangulate karo (bank, gateway).
  9. Analytics exception batata hai, fraud sabit nahi karta.
  10. Cyber/cloud risks: SOC report, access, backup.
Control type Level Example
ITGC Poora IT Password policy, change approval
Application Ek software Duplicate invoice rejection
Detective analytics Data Weekend journal entries
Preventive Pehle MFA
Corrective Baad me Backup restore

Fact-check 2026-11-27: SA 500, 315, 402, 240 references verified against ICAI numbering; see checks/ch18.md. Code snippets and the CAAT definition are the writer's own.