the discovery and execuon of enrely new classes of web aacks in … · 2020-01-17 · entropy redux...

68
The discovery and execu1on of en1rely new classes of Web a7acks in order to meet your girlfriend. Samy Kamkar [email protected] h7p://samy.pl Twi7er: @SamyKamkar

Upload: others

Post on 21-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

The discovery and execu1on ofen1relynewclassesofWeba7acksinordertomeetyourgirlfriend.

[email protected]://samy.plTwi7er:@SamyKamkar

Page 2: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Whoissamy?

•  "NarcissisticVulnerabilityPimp" (akaSecurityResearcherforfun)

•  CreatorofTheMySpaceWorm

•  AuthorofEvercookies•  Co‐FounderofFonality,IPPBXcompany

•  LadyGagaaficionado

Page 3: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

CyberWarrior

•  Raided•  Computeruselost(Hackers‐style)

•  700hoursofcommunityservice

•  Restitution•  Probation

Page 4: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Whytheweb?

•  It’snew,it’scool,it’sexploitable!•  Gopherisn’tusedasmuchanymore•  Thewebisacodedistributionchannel•  Browserscancommunicateinways

theydon’tknow

•  Andmuchmore!

Page 5: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

MyHomepage

•  It’snew,it’scool,it’sexploitable!•  Gopherisn’tusedasmuchanymore•  Thewebisacodedistributionchannel•  Browserscancommunicateinways

theydon’tknow

•  Andmuchmore!

Page 6: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

A6ackIndirectly•  CertifiedInformationSecuritySpecialist

Professional•  ChiefExecutiveOfficerofSecTheory•  Co‐Authorof«XSSExploits:CrossSiteScripting

AttacksandDefense»•  Authorof«DetectingMalace»•  Co‐developerofClickjackingwithJeremiah

Grossman•  Runsha.ckers.organdsla.ckers.org•  CertifiedASS(ApplicationSecuritySpecialist)

Page 7: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

A6ackIndirectly•  Robert«Rsnake»Hansen•  Howdoweattacksomeonewhosecureshimselfwell?

•  Don’t.

Page 8: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

A6ackIndirectly•  XSS?Probablywon’tfallforit.•  CSRF?Same.

Page 9: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHP:Overview•  PHP:extremelycommonweblanguage

•  PHPsessions:extremelycommondefaultsessionmanagement

•  PHPsessions:usedbydefaultinmostPHPframeworks(e.g.,CakePHP)

•  PHPsessions:eitherpassedinURLor…

Page 10: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •
Page 11: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:Overview•  session_start()–initializePHPsession

Page 12: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:Entropy•  session_start()’spseudo‐randomdata:

•  IPaddress: 32bits

•  Epoch: 32bits

•  Microseconds: 32bits

•  Randomlcg_value()(PRNG): 64bits

•  TOTAL: 160bits

•  SHA1’d: 160bits

•  160bits=alot=1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976

Page 13: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Howbigisabit?Sometricks

•  Forevery10bits,add~3zeros•  10 bits = 1,024 (thousand) •  20 bits = 1,048,576 (mil) •  30 bits = 1,073,741,824 •  25 bits = ~32,000,000

0bits 1bit 2bits 3bits 4bits 5bits 6bits 7bits 8bits 9bits

1 2 4 8 16 32 64 128 256 512

Page 14: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

•  160bits=2^160=~10^48•  160bits=

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976

•  At100trillionvaluespersecond,160bitswouldtake…

•  (2^160)/(10^14)/(3600*24*365*500000000)=926,878,258,073,885,666=900quadrillioneons

•  1eon=500millionyears

It’s Just Math!

Page 15: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:Entropy•  session_start()’spseudo‐randomdata:

•  IPaddress: 32bits

•  Epoch: 32bits

•  Microseconds: 32bits

•  Randomlcg_value()(PRNG): 64bits

•  TOTAL: 160bits

•  SHA1’d: 160bits

•  160bits=alot=1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976

Page 16: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:EntropyRedux

•  Notsopseudo‐randomdata:

•  IPaddress:32bits•  Epoch:32bits•  Microseconds:32bits

– only0–999,999…20bits=1,048,576

– <20bits! (REDUCED)‐12bits

•  Randomlcg_value()(PRNG):64bits

•  TOTAL:148bits(reducedby12bits)

•  SHA1’d:160bits

Page 17: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

AnExample:Facebook

Page 18: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:EntropyRedux

•  Notsopseudo‐randomdata:

•  IPaddress:32bits•  Epoch:32bits(ACQUIRED)‐32bits

•  Microseconds:32bits– only0–999,999…20bits=1,048,576

– <20bits! (REDUCED)‐12bits

•  Randomlcg_value()(PRNG):64bits

•  TOTAL:116bits(reducedby44bits)

•  SHA1’d:160bits

Page 19: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

AnExample:Facebook

Page 20: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:EntropyRedux

•  Notsopseudo‐randomdata:

•  IPaddress:32bits(ACQUIRED)‐32bits

•  Epoch:32bits(ACQUIRED)‐32bits

•  Microseconds:32bits– only0–999,999…20bits=1,048,576

– <20bits! (REDUCED)‐12bits

•  Randomlcg_value()(PRNG):64bits

•  TOTAL:84bits(reducedby76bits)

•  SHA1’d:160bits

Page 21: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPLCG(PRNG):Randomness•  php_combined_lcg()/PHPfunclcg_value()

Page 22: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPLCG(PRNG):Randomness

•  S1WAS32bits,NOW20bits

•  SEED(s1+s2):64bits–12bits=52bits

Page 23: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPLCG(PRNG):Randomness

•  LCG(s2) = (long) getpid();

•  S2=32bits•  Linuxonlyuses15bitsforPIDs•  S2=32bits–17bits=15bits•  SEED(s1+s2)=15bits+20bits=35bits•  PHPfunction:getmypid()

•  Linuxcommand:ps

•  LearnPID,reducetheother15bits!•  SEED(s1+s2)=0bits+20bits=20bits

Page 24: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:EntropyRedux

•  Notsopseudo‐randomdata:

•  IPaddress:32bits(ACQUIRED)‐32bits

•  Epoch:32bits(ACQUIRED)‐32bits

•  Microseconds:32bits– only0–999,999…20bits=1,048,576

– <20bits! (REDUCED)‐12bits

•  Randomlcg_value(REDUCED)‐44bits

•  TOTAL:40bits(reducedby120bits)

•  SHA1’d:160bits

Page 25: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •
Page 26: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

PHPSessions:EntropyRedux

•  Microseconds:32bitsdownto20bits

•  Randomlcg_valuedownto20bits

•  40bits?No!Wecancalclcg_value()first!

•  Withatime‐memorytrade‐off(4MB),wecanlearnthelcg_valueoriginalseedinafewseconds,REDUCINGto20bits!

•  40bits–20bits=20bits

20bits=1,048,576cookies

Page 27: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

GREATSUCCESS!

• 500,000requestsonaverage!• Canbecompletedinhours

Page 28: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Youdownwithentropy?Yeahyouknowme!• PHP5.3.2:abitmoreentropy

• Createyourownsessionvalues!

• Attackisdifficulttoexecute!

• PS,FacebookisNOTvulnerable!

• <3Facebook• Pleasehelpmyfarmville* Thanks to Arshan Dabirsiaghi and Amit Klein for pointing me in the right direction

Page 29: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

GREATSUCCESS!

•  Usingoldvictim’scookie,messageournewvictimwithamaliciouslink!

Page 30: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Thisisyournetwork.

Page 31: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Thisisyournetworkondrugs.

Page 32: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

ANAT

Page 33: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Cross‐ProtocolScrip[ng(XPS)

•  HTTPserverscanrunonanyport•  Ahiddenformcanauto‐submitdatatoanyportviaJSform.submit()

•  HTTPisanewline‐basedprotocol

•  Soareotherprotocols….hmmmm

Page 34: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Cross‐ProtocolScrip[ng:Examplesintherealworld

•  Let’swriteanIRCclientinHTTP!

•  ThisusestheCLIENT’scomputertoconnect,thususingtheirIPaddress!

Page 35: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

IRCExample

Page 36: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Hos[ngtheXPS

Page 37: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:cont.

Page 38: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

HTTPPOSTw/IRCcontent

Page 39: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:XPS[mesOVER9,000

•  Sweet!SowhatisNATPinning?

•  NATPinningconfusesnotonlythebrowser,butalsotheROUTERontheapplicationlayer

•  E.g.,whencommunicatingwithport6667,browserthinksHTTP,routerthinksIRC

• Wecanexploitthisfactanduserouterconveniencestoattackclient

Page 40: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:IRCDCC

•  linux/net/netfilter/nf_conntrack_irc.c•  DCCchats/filesendsoccuronaseparateportthanchat

•  Clientsends:PRIVMSGsamy:DCCCHATsamyIPport

•  RouterseesIP(determinedfromHTTP_REMOTE_ADDR)andport,thenFORWARDSporttoclient!

•  ANYPORT!

Page 41: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:cont.

Page 42: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:blockedports

•  Ifbrowserdoesn’tallowoutboundconnectionsonspecificports?

•  TCP/UDPports=16bits=65536

•  Sooverflowtheport!65536+6667

Page 43: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:blockedports

•  6667+65536=72203•  6667 = 00001101000001011 •  72203 = 10001101000001011

•  Somebrowserscheck:

if port == 6667 … but

72203 != 6667

•  Correctcheck:port % 2^16*WebkitintegeroverflowdiscoveredbyGoatseSecurity

Page 44: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •
Page 45: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:preven[on

•  Strictfirewall–don’tallowunknownoutboundconnections

•  Clientside–runuptodatebrowser

•  Clientside–useNoScriptifusingFirefox

•  Clientside–runlocalfirewallortoollikeLittleSnitchtoknowifanapplicationisaccessingunknownports

Page 46: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Penetra[on2.0

Page 47: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

TRIPLE X!

Page 48: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

TRIPLE X!

SS!

Page 49: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

Page 50: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  Annavisitsmalicioussite

Page 51: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  Annavisitsmalicioussite

•  XXXSSscansherlocalnetworkforthetypeofroutersheuses

Page 52: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  Annavisitsmalicioussite

•  XXXSSscansherlocalnetworkforthetypeofroutersheuses

Page 53: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  Annavisitsmalicioussite

•  XXXSSscansherlocalnetworkforthetypeofroutersheuses

•  Ifnecessary,loginwithdefaultcredentials!

Page 54: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •
Page 55: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  Annavisitsmalicioussite

•  XXXSSscansherlocalnetworkforthetypeofroutersheuses

•  XSSroutertoloadremotemaliciousJS

Page 56: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  RemoteJSusesAJAXtoacquireMAC

Page 57: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

WhyMACAddress?

•  JustBingit!

Page 58: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

WhyMACAddress?

•  JustBingit!•  Typewww.bing.cominyourURLbar

Page 59: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

WhyMACAddress?

•  JustBingit!•  Typewww.bing.cominyourURLbar

•  Typein“Google”inthesearchbox

Page 60: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

WhyMACAddress?

•  JustBingit!•  Typewww.bing.cominyourURLbar

•  Typein“Google”inthesearchbox•  Hitenter!

Page 61: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

WhyMACAddress?

Page 62: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

•  UponMACacquisition,asktheGoogle

•  SeeFFsourceforLocationServices

Page 63: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSSlatitude: 36.0920029 longitude: -123.3461946

Page 64: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

Page 65: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Geoloca[onviaXXXSS

Page 66: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

NATPinning:preven[on

•  Strictfirewall–don’tallowunknownoutboundconnections

•  Clientside–runuptodatebrowser

•  Clientside–useNoScriptifusingFirefox

•  Clientside–runlocalfirewallortoollikeLittleSnitchtoknowifanapplicationisaccessingunknownports

PRIVACY IS!DEAD!

Page 67: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Q&A

Agentlemanneverasks.

Aladynevertells.

Page 68: The discovery and execuon of enrely new classes of Web aacks in … · 2020-01-17 · Entropy Redux • Not so pseudo‐random data: • IP address: 32 bits • Epoch: 32 bits •

Finphpwn:samy.pl/phpwnNATPinning: samy.pl/natpin

Geoloca1onviaXSS:samy.pl/mapxss

SamyKamkar

www.samy.pl

[email protected]

twi7er.com/SamyKamkar* No IRC channels were trolled in the making of this presentation.!