fraud detection with analytics wso2 asiacon2016

24
Catch them in the Act Fraud Detection with WSO2 Analytics Platform Seshika Fernando Technical Lead WSO2

Upload: seshika-fernando

Post on 16-Apr-2017

703 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Fraud detection with Analytics wso2 asiacon2016

Catch them in the Act Fraud Detection with WSO2 Analytics Platform

Seshika Fernando Technical Lead WSO2

Page 2: Fraud detection with Analytics wso2 asiacon2016

$4 Trillion in Global Fraud Losses

Analysts predict Businesses are losing 5% of business revenues to Fraud each year

Page 3: Fraud detection with Analytics wso2 asiacon2016
Page 4: Fraud detection with Analytics wso2 asiacon2016

Many Ways

• Generic Rules • Fraud Scoring • Machine Learning • Markov Models

Page 5: Fraud detection with Analytics wso2 asiacon2016

Capturing Domain Expertise

Fraudsters • Use stolen cards • Buy expensive stuff • In large quantities • Very quickly • At odd hours • Ship to many places • Provide weird email addresses

Page 6: Fraud detection with Analytics wso2 asiacon2016

Complex Event Processing

Notify if there is a 10% increase in overall trading activity AND the average price of commodities has

fallen 2% in the last 4 hours

Page 7: Fraud detection with Analytics wso2 asiacon2016

Moving Averages

from TransactionStream#window.time(60 min) select itemNo, avg(qty), stdev(qty) group by itemNo update AvgTbl as a on itemNo == a.itemNo from TransactionStream[itemNo == a.itemNo and qty>(a.avg +3*a.stdev) in AvgTbl as a] select * insert into FraudStream

Page 8: Fraud detection with Analytics wso2 asiacon2016

Transaction Velocity

from e1 = TransactionStream -> e2 = TransactionStream[e1.cardNo==e2.cardNo]<2:> within 5 min select e1.cardNo, e1.txnID, e2[0].txnID, e2[1].txnID

insert into FraudStream

Page 9: Fraud detection with Analytics wso2 asiacon2016

The False Positive Trap

So what if I buy expensive stuff

Very quickly

At odd hours

Ship to many places

Rich guy

Impulse Shopper

Night owl

Many girlfriends?

Blocking genuine customers could be counterproductive and costly

Page 10: Fraud detection with Analytics wso2 asiacon2016

Avoid False Positives with Scoring

Use combination of rules Give weights to each rule Single number that reflects multiple fraud indicators Use a threshold to reject transactions

• You just bought a diamond ring

• You bought 20 diamond rings, within 15 minutes at 3am and shipped it to 4 global locations?

Page 11: Fraud detection with Analytics wso2 asiacon2016

How to score

Score = 0.001 * itemPrice

+ 0.1 * itemQuantity

+ 2.5 * isFreeEmail

+ 5 * riskyCountry

+ 8 * suspicousIPRange

+ 5 * suspicousUsername

+ 3 * highTransactionVelocity

Page 12: Fraud detection with Analytics wso2 asiacon2016

Known devil is better than an unknown angel...

Page 13: Fraud detection with Analytics wso2 asiacon2016

Machine Learning

Utilize Machine Learning techniques to identify ‘unknown’ types of fraud

Page 14: Fraud detection with Analytics wso2 asiacon2016

Is organized crime that simple?

Page 15: Fraud detection with Analytics wso2 asiacon2016

Markov Models

• Model randomly changing systems • Detect rare activity sequences using

– Classification – Probability Calculation – Metric Calculation

Page 16: Fraud detection with Analytics wso2 asiacon2016

Markov Models for Fraud Detection

Page 17: Fraud detection with Analytics wso2 asiacon2016

One true inference invariably suggests

others

- Sherlock Holmes

Page 18: Fraud detection with Analytics wso2 asiacon2016

Dig deeper using Interactive Analytics

• Provide access to historical data to dig deeper • Make querying and filtering easy and intuitive

• Provide useful visualizations to isolate incidents and

unearth connections

Page 20: Fraud detection with Analytics wso2 asiacon2016

Payment Fraud

Page 21: Fraud detection with Analytics wso2 asiacon2016

Anti Money Laundering

Page 22: Fraud detection with Analytics wso2 asiacon2016

Identity Fraud

Page 23: Fraud detection with Analytics wso2 asiacon2016
Page 24: Fraud detection with Analytics wso2 asiacon2016

Thank You