Cheating at poker James Bond Style

106
ly.tl/poker

Transcript of Cheating at poker James Bond Style

Page 1: Cheating at poker James Bond Style

ly.tl/poker

Page 2: Cheating at poker James Bond Style

ly.tl/pokerSpectre

Page 3: Cheating at poker James Bond Style

ly.tl/pokerInception

Page 4: Cheating at poker James Bond Style

ly.tl/poker

Page 5: Cheating at poker James Bond Style

ly.tl/poker

Page 6: Cheating at poker James Bond Style

ly.tl/poker

Page 7: Cheating at poker James Bond Style

ly.tl/poker

Page 8: Cheating at poker James Bond Style

ly.tl/poker

Page 9: Cheating at poker James Bond Style

ly.tl/poker

Page 10: Cheating at poker James Bond Style

ly.tl/poker

Page 11: Cheating at poker James Bond Style

ly.tl/poker

Page 12: Cheating at poker James Bond Style

ly.tl/poker

Page 13: Cheating at poker James Bond Style

ly.tl/poker

Page 14: Cheating at poker James Bond Style

ly.tl/poker

Page 15: Cheating at poker James Bond Style

ly.tl/poker

Page 16: Cheating at poker James Bond Style

ly.tl/poker

Device

Page 17: Cheating at poker James Bond Style

ly.tl/poker

Page 18: Cheating at poker James Bond Style

ly.tl/poker

Page 19: Cheating at poker James Bond Style

ly.tl/poker

Visible differences

Galaxy Core Poker cheating device

Page 20: Cheating at poker James Bond Style

ly.tl/poker

Security measures

ADB / debug mode gone No “easy” way to get the APK / analyze what is happening

Screenshot shortcut disabled & framebuffer owned by root Prevent to do screenshot / screencap either via SSH or UI

Activation code sent separately Prevent activation of a “lost” device

Page 21: Cheating at poker James Bond Style

ly.tl/poker

Fun facts

Cheating hardware hidden from the UI/system No way to trigger the system without the correct application / setup

Backdoor? No need for network or SIM Lots of phone home code in the APK and lot of weird APK in the phone

Custom rom with custom kernel Chinese 4.2.2 Jelly Bean ROM AOSP

Page 22: Cheating at poker James Bond Style

ly.tl/poker

The appApp walkthrough

Casino royale

Page 23: Cheating at poker James Bond Style

ly.tl/poker

Page 24: Cheating at poker James Bond Style

ly.tl/poker

Page 25: Cheating at poker James Bond Style

ly.tl/poker

Page 26: Cheating at poker James Bond Style

ly.tl/poker

Page 27: Cheating at poker James Bond Style

ly.tl/poker

Page 28: Cheating at poker James Bond Style

ly.tl/poker

Page 29: Cheating at poker James Bond Style

ly.tl/poker

Page 30: Cheating at poker James Bond Style

ly.tl/poker

Page 31: Cheating at poker James Bond Style

ly.tl/poker

Page 32: Cheating at poker James Bond Style

ly.tl/poker

Page 33: Cheating at poker James Bond Style

ly.tl/poker

Page 34: Cheating at poker James Bond Style

ly.tl/poker

Cards as seen by camera face down

Up Down

Page 35: Cheating at poker James Bond Style

ly.tl/poker

Number of players

Cards as seen by camera face down

Up Down

Page 36: Cheating at poker James Bond Style

ly.tl/poker

Number of players

Game type

in use

Cards as seen by camera face down

Up Down

Page 37: Cheating at poker James Bond Style

ly.tl/poker

Number of players

Feedback device

Game type

in use

Cards as seen by camera face down

Up Down

Page 38: Cheating at poker James Bond Style

ly.tl/poker

Number of playersResult

Feedback device

Game type

in use

Cards as seen by camera face down

Up Down

Page 39: Cheating at poker James Bond Style

ly.tl/poker

Fun facts

Super user password hard coded in string file... The app has a super user password that allows access on any devices

Most of the interesting features are in a kernel module Remote devices control and cards recognition handled by a kernel module

App(s) not obfuscated Easy to read as 123 if you know Java :)

Page 40: Cheating at poker James Bond Style

ly.tl/poker

Basic principleHow does this thing work anyway??

Underlying principle

The World Is Not Enough

Page 41: Cheating at poker James Bond Style

ly.tl/poker

Page 42: Cheating at poker James Bond Style

ly.tl/poker

Page 43: Cheating at poker James Bond Style

ly.tl/poker

Phone

Page 44: Cheating at poker James Bond Style

ly.tl/poker

Phone

IR LEDs

Page 45: Cheating at poker James Bond Style

ly.tl/poker

Phone

B&W camera

IR LEDs

Page 46: Cheating at poker James Bond Style

ly.tl/poker

Phone

B&W camera

IR LEDs

IR passband plastic housing

Page 47: Cheating at poker James Bond Style

ly.tl/poker

Phone

B&W camera

IR LEDs

IR passband plastic housing

IR illumination

Page 48: Cheating at poker James Bond Style

ly.tl/poker

Phone

B&W camera

IR LEDs

IR passband plastic housing

IR illumination

Page 49: Cheating at poker James Bond Style

ly.tl/poker

Phone

B&W camera

IR LEDs

IR passband plastic housing

IR illumination

Page 50: Cheating at poker James Bond Style

ly.tl/poker

Page 51: Cheating at poker James Bond Style

ly.tl/poker

Page 52: Cheating at poker James Bond Style

ly.tl/poker

Page 53: Cheating at poker James Bond Style

ly.tl/poker

Page 54: Cheating at poker James Bond Style

ly.tl/poker

Camera

Page 55: Cheating at poker James Bond Style

ly.tl/poker

CameraCustom chip

Page 56: Cheating at poker James Bond Style

ly.tl/poker

Page 57: Cheating at poker James Bond Style

ly.tl/poker

LEDS

Page 58: Cheating at poker James Bond Style

ly.tl/poker

RF Bluetooth antenna

LEDS

Page 59: Cheating at poker James Bond Style

ly.tl/poker

Card markingHow does this thing work anyway??Cards marking

Casino Royale

Page 60: Cheating at poker James Bond Style

ly.tl/poker

Page 61: Cheating at poker James Bond Style

ly.tl/poker

Page 62: Cheating at poker James Bond Style

ly.tl/poker

Page 63: Cheating at poker James Bond Style

ly.tl/poker

Marked cards vs regular cards

Device camera view

Page 64: Cheating at poker James Bond Style

ly.tl/poker

Marked cards vs regular cards

Regular cards

Device camera view

Page 65: Cheating at poker James Bond Style

ly.tl/poker

Marked cards vs regular cards

Marked cards Regular cards

Device camera view

Page 66: Cheating at poker James Bond Style

ly.tl/poker

Card encoding

Page 67: Cheating at poker James Bond Style

ly.tl/poker

Card encoding

Page 68: Cheating at poker James Bond Style

ly.tl/poker

Card encoding

Page 69: Cheating at poker James Bond Style

ly.tl/poker

Page 70: Cheating at poker James Bond Style

ly.tl/poker

Feedback devices

Feedback devices

Quantum of Solace

Page 71: Cheating at poker James Bond Style

ly.tl/poker

Page 72: Cheating at poker James Bond Style

ly.tl/poker

Number of players

Page 73: Cheating at poker James Bond Style

ly.tl/poker

Number of players

Sound on/off

Page 74: Cheating at poker James Bond Style

ly.tl/poker

Intercepting radio-command

Center frequency: 868.289 MHz Data rate: 2400bps Measured Δf =19kHz

2-FSK modulation

Page 75: Cheating at poker James Bond Style

ly.tl/poker

Page 76: Cheating at poker James Bond Style

ly.tl/poker

Page 77: Cheating at poker James Bond Style

ly.tl/poker

Volume

Page 78: Cheating at poker James Bond Style

ly.tl/poker

Volume

Sound on/off

Page 79: Cheating at poker James Bond Style

ly.tl/poker

Volume

Sound on/off“necklace”

Page 80: Cheating at poker James Bond Style

ly.tl/poker

Page 81: Cheating at poker James Bond Style

ly.tl/poker

Page 82: Cheating at poker James Bond Style

ly.tl/poker

“Mini vibrators”

Bluetooth P4 receiver

Page 83: Cheating at poker James Bond Style

ly.tl/poker

Sneaky time display

Page 84: Cheating at poker James Bond Style

ly.tl/poker

External Camera

Wireless camera

Page 85: Cheating at poker James Bond Style

ly.tl/poker

Page 86: Cheating at poker James Bond Style

ly.tl/poker

Page 87: Cheating at poker James Bond Style

ly.tl/poker

Page 88: Cheating at poker James Bond Style

ly.tl/poker

Page 89: Cheating at poker James Bond Style

ly.tl/poker

Page 90: Cheating at poker James Bond Style

ly.tl/poker

Page 91: Cheating at poker James Bond Style

ly.tl/poker

Battery

Battery housing

Hidden Wireless camera

Page 92: Cheating at poker James Bond Style

ly.tl/poker

Page 93: Cheating at poker James Bond Style

ly.tl/poker

IR LED

Camera

Page 94: Cheating at poker James Bond Style

ly.tl/poker

Camera

Page 95: Cheating at poker James Bond Style

ly.tl/poker

Antenna

MCU 8051

Transmission module

Page 96: Cheating at poker James Bond Style

ly.tl/poker

Transmission module VM152T

Page 97: Cheating at poker James Bond Style

ly.tl/poker

Page 98: Cheating at poker James Bond Style

ly.tl/poker

Transmission analysis

Page 99: Cheating at poker James Bond Style

ly.tl/poker

Transmission analysis

metadata?

Page 100: Cheating at poker James Bond Style

ly.tl/poker

Transmission analysis

metadata?

image

Page 101: Cheating at poker James Bond Style

ly.tl/poker

Transmission analysis

One full image

Page 102: Cheating at poker James Bond Style

ly.tl/poker

Page 103: Cheating at poker James Bond Style

ly.tl/poker

Open questions

Who created such device? Casinos? Level of sophistication means either stolen tech or large underground market

Who is ripping who? Where is this thing actively used? Need detection means and field study!

Where is the ink is coming from? You can’t buy it easily - only for secure marking of docs

Page 104: Cheating at poker James Bond Style

ly.tl/poker

Takeway

James Bond devices exist! They are hard to find but reality match fiction

Crimeware can be super sophisticated While NSA have cool tools, the crime mob does too!

A very diverse skillset is required to tackle this type of device infiltration, hardware analysis, software analysis, RF analysis, Vision Alg.

Page 105: Cheating at poker James Bond Style

ly.tl/poker

Co-conspirators

Pixel: Hardware specialist

Vivi: Chinese blackmarket infiltration expert

Page 106: Cheating at poker James Bond Style

ly.tl/poker

Thanks!