Modern fintech platforms require continuous monitoring to protect customer accounts from Account Takeover (ATO) attacks, automated bot activities, and unusual balance depletions.
This project delivers an enterprise SQL analytical framework deployed on Microsoft Fabric (SQL Analytics Endpoint) to audit transaction feeds, isolate malicious activity patterns, and segment high-value customer portfolios.
[ Raw CSV / API Data ]
│
▼
┌──────────────────────────────┐
│ Microsoft Fabric Lakehouse │
└──────────────┬───────────────┘
│
▼
┌──────────────────────────────┐
│ SQL Analytics Engine (Delta)│
└──────────────┬───────────────┘
│
▼
┌──────────────────────────────┐
│ Fraud Alerts & Insights │
└──────────────────────────────┘
- Storage Engine: Microsoft Fabric Lakehouse (Delta Tables)
- Query Engine: SQL Analytics Endpoint / PostgreSQL / T-SQL
- Data Domain: Banking, Payments, & Risk Intelligence
Identifies transactions over $500 preceded by more than 3 failed login attempts.
SELECT
AccountID,
TransactionID,
TransactionAmount,
LoginAttempts,
Location,
Channel
FROM Fintech
WHERE LoginAttempts > 3
AND TransactionAmount > 500
ORDER BY TransactionAmount DESC;
Flags high-value online transactions completed in under 40 seconds (bot execution pattern).
SELECT
AccountID,
TransactionID,
Location,
TransactionDuration,
TransactionAmount
FROM Fintech
WHERE TransactionDuration < 40
AND Channel = 'Online'
AND TransactionAmount > 1000
ORDER BY TransactionDuration ASC;
Detects accounts draining over 50% of their total balance in a single transaction.
SELECT
AccountID,
TransactionID,
TransactionAmount,
AccountBalance,
ROUND((TransactionAmount / AccountBalance) * 100, 2) AS BalanceImpactPercentage
FROM Fintech
WHERE AccountBalance > 0
AND (TransactionAmount / AccountBalance) > 0.50
ORDER BY BalanceImpactPercentage DESC;
| Metric / Scenario | Flagged Count | Risk Level | Operational Action |
|---|---|---|---|
| ATO Attempts | High | 🔴 Critical | Trigger 2FA / Temporary Account Lock |
| Bot Automation | Medium | 🟠 High | Enable CAPTCHA Verification |
| HVLR Customers | Segmented | 🟢 Low | Offer Premium Wealth Products |
.
├── 📁 data/
│ ├── Fintech.csv # Raw Transaction Dataset
│ └── Employees.csv # Internal HR & Department Dataset
├── 📁 sql/
│ ├── schema.sql # Table DDL Definitions
│ └── analytical_queries.sql# Production Fraud & Segmentation Scripts
└── 📄 README.md # Project Documentation


