SlideShare a Scribd company logo
2017#apricot2017
Forensic Tracing in the Internet:
An Update
Geoff Huston
Chief Scientist
APNIC
2017#apricot2017
The story so far…
• The status of the transition to IPv6 is not going according to the original plan:
• We have exhausted the remaining pools of IPv4 addresses in all regions except Africa - this was never
meant to have happened
• We we meant to have IPv6 fully deployed by now
• What we are seeing is the pervasive use of Carrier Grade NATs as a means of
extending the useable life of the IPv4 Internet
• Around 10% of users use both IPv6 and IPv4 – the other 90% are IPv4 only
• It appears that most IPv4 use today uses NATs in the path
• This has some major implications for LEA functions, principally in traceback and
metadata record keeping
2
2017#apricot2017
Traceback – Version 1
3
A: 192.0.2.1
Ftp Server
Internet
Lets start by looking way back to the
Internet of the 1980’s
ftpserver.net 192.0.2.1 [31/Aug/2013:00:00:08 +0000]
Ftp Server Log
$ whois 192.0.2.1
NetRange: 192.0.2.0 - 192.0.2.255
NetName: TEST-NET-1
Contact: User Contact Details There was a rudimentary whois service
and it listed all end users!
2017#apricot2017
Assumptions:
• Each end site used a stable IP address range
• Each address range was recorded in a registry, together with the end
user data
• Each end device was manually configured with a stable IP address
• Traceback was keyed from the IP address
4
2017#apricot2017
Assumptions:
• Each end site used a stable IP address range
• Each address range was recorded in a registry, together with the end
user data
• Each end device was manually configured with a stable IP address
• Traceback is keyed from the IP address
5
2017#apricot2017
+ NATs
6
A: 10.0.0.1
B: 10.0.0.2
C: 10.0.0.3
CPE NAT/
DHCP Server
192.0.2.1 ISP
2017#apricot2017
Traceback – Version 2
7
A: 10.0.0.1
Web Server
ISP
webserver.net 192.0.2.1 [31/Aug/2013:00:00:08 +0000] "GET /1x1.png HTTP/1.1" 200
Web Server Log
$ whois 192.0.2.1
NetRange: 192.0.2.0 - 192.0.2.255
CIDR: 192.0.2.0/24
OriginAS:
NetName: TEST-NET-1
NetHandle: NET-192-0-2-0-1
Parent: NET-192-0-0-0-0
NetType: IANA Special Use
CPE NAT/
DHCP Server
192.0.2.1
ISP RADIUS Log
15/Aug/2013:18:01:02: user XXX IP: 192.0.2.1
2017#apricot2017
Assumptions
• The ISP operates an address pool
• Each end site is dynamically assigned a single IP address upon login
(AAA)
• The site is dynamically addressed using a private address range and
a DHCP server
• The single public address is shared by the private devices through a
CPE NAT
8
2017#apricot2017
Changes
• Traceback to an end site is keyed by an IP address and a
date/time
• Requires access to WHOIS records to identify the ISP and the
ISP’s AAA logs to identify the end site
• No traceback to an individual device – the trace stops at the
edge NAT
9
2017#apricot2017
IPv4 Address Exhaustion
10
What have ISP’s done in response?
• It’s still not viable to switch over to all-IPv6 yet
• The supply of further IPv4 addresses to fuel service platform
growth has dried up
• How do ISPs continue to offer IPv4 services to customers in the
interim?
• By sharing addresses across customers
2017#apricot2017
Carrier Grade NATs
11
By	sharing	public	IPv4	addresses	across	multiple	customers!
2017#apricot2017
Traceback – Version 3
12
A: 10.0.0.1
B: 10.0.0.2
C: 10.0.0.3
CPE NAT/
DHCP Server
ISP CGN
192.0.2.0/24
Web Server
Internet
webserver.net [192.0.2.1]::45800 [31/Aug/2013:00:00:08
+0000] "GET /1x1.png HTTP/1.1" 200
Web Server Log
$ whois 192.0.2.1
NetRange: 192.0.2.0 - 192.0.2.255
CIDR: 192.0.2.0/24
OriginAS:
NetName: TEST-NET-1
NetHandle: NET-192-0-2-0-1
Parent: NET-192-0-0-0-0
NetType: IANA Special Use
ISP CGN Log
31/Aug/2013:00:00:02
172.16.5.6:34233 128.66.0.0:80 -> 192.0.2.1:45800 128.66.0.0:80
ISP RADIUS Log
15/Aug/2013:18:01:02: user XXX IP: 172.16.5.6:34000-40000
172.16.5.6
2017#apricot2017
Assumptions
• The ISP operates a public address pool and a private address pool
• The access into the public address pool is via an ISP-operated NAT (CGN)
• Each end site is dynamically assigned a single private IP address upon login
(AAA)
• The site is dynamically addressed using a private address range and a DHCP
server
• The single public address is shared by the private devices through a CPE NAT
13
2017#apricot2017
Assumptions
• Traceback to an end site is keyed by a source IP address and a
source port address, and a date/time
• Requires access to
• WHOIS records to identify the ISP,
• The ISP’s CGN logs to identify the ISP’s private address and
• The ISP’s AAA logs to identify the end site
14
2017#apricot2017
ISP CGN Logging
CGN bindings are formed for EVERY unique TCP and UDP session
That can be a LOT of data to retain…
15http://www.nanog.org/meetings/nanog54/presentations/Tuesday/GrundemannLT.pdf
2017#apricot2017
It could be better than this…
• Use Port Blocks per customer
or
• Use a mix of Port Blocks and Shared Port Pool overflow
and
• Compress the log data (which will reduce storage but may increase search
overhead)
16
2017#apricot2017
Or it could be worse…
17
2017#apricot2017
18
We are going to see a LOT of transition
middleware being deployed!
2017#apricot2017
19
And we are going to see a significant diversity in
what that transition middleware does
We are going to see a LOT of transition
middleware being deployed!
2017#apricot2017
What does this mean for
Forensic tracing?
20
LEAs	have	traditionally	focused	on	the	NETWORK	as	
the	point	of	interception	and	tracing
They	are	used	to	a	consistent	model	to	trace	activity:
• get	an	IP	address	and	a	time	range
• trace	back	based	on	these	two	values	to	uncover	a	
set	of	network	transactions
2017#apricot2017
What does this mean for
Forensic tracing?
21
In	a	world	of	densely	deployed	CGNs	and	ALGs	the	IP	
address	loses	coherent	meaning	in	terms	of	end	party	
identification.
2017#apricot2017
What does this mean for
Forensic tracing?
22
And	instead	of	shifting	to	a	single	“new”	model	of	IP	address	use,	we	are	
going	to	see	widespread	diversity	in	the	use	of	transition	mechanisms	and	
NATs	in	carrier	networks
Which	implies	that	there	will	no	longer	be	a	useful	single	model	of	how	to	
perform	traceback on	the	network
Or	even	a	single	coherent	model	of	“what	is	an	IP	address”	in	the	network
2017#apricot2017
Variants of NAT CGN Technologies
23
Variant:
CGN with per user port blocks
CGN with per user port blocks + pooled overflow
CGN with pooled ports
CGN with 5-tuple binding maps
Address Compression
Ratio
10:1
100:1
1,000:1
>>10,000:1
The same public address and port is used
simultaneously by multiple different internal
users
ISP Internet
CGN
Source: 192.0.2.1:1234
Dest: 128.66.0.0:80
Source: 192.0.2.1:1234
Dest: 128.66.2.2:80
Customer A
Customer B
2017#apricot2017
Adding IPv6 to the CGN Mix
• The space is not exclusively an IPv4 space.
• While CGNs using all-IPv4 technologies are common today, we are
also looking at how to use CGN variants with a mix of IPv6 and IPv4
For example: Dual-Stack Light connects IPv4 end users to the IPv4 Internet across an IPv6
ISP infrastructure.
• We see many more variants of ISP’s address transforming
middleware when they IPv6 into the mix
24
2017#apricot2017
++IPv6:
Transition Technologies
25
Randy Bush, APPRICOT 2012: http://meetings.apnic.net/__data/assets/pdf_file/0016/45241/120229.apops-v4-life-extension.pdf
2017#apricot2017
Transition Technologies Example:
464XLAT
26Masataka Mawatari, Apricot 2012, http://meetings.apnic.net/__data/assets/pdf_file/0020/45542/jpix_464xlat_apricot2012_for_web.pdf
2017#apricot2017
What does this mean for
Forensic tracing?
27
There	is	no	single	consistent	model	of	how	an	IP	network	
manages	IPv4	and	IPv6	addresses
There	is	no	fixed	relationship	between	IPv4	and	IPv6	addresses
What	you	see	in	terms	of	network	trace	information	is	strongly	
dependent	on	where the	trace	data	is	collected
2017#apricot2017
What does this mean for
LEAs?
28
What’s	the	likely	response	from	LEAs	and	regulators?
One	likely	response	is	to	augment	the	record	keeping	
rules	for	ISPs
2017#apricot2017
What does this mean for
ISPs and LEAs?
29
But	what	are	the	new	record	keeping	rules?
In	order	to	map	a	“external”	IP	address	and	time	to	a	
subscriber	as	part	of	a	traceback exercise	then:
for	every active	middleware	element	you	now	need	to	hold	
the	precise time	and	the	precise transforms	that	were	applied	
to	a	packet	flow
and	you	need	to	be	able	to	cross-match these	records	
accurately
2017#apricot2017
What does this mean for
ISPs and LEAs?
30
But	what	are	the	new	record	keeping	rules?
In	order	to	map	a	“external”	IP	address	and	time	to	a	
subscriber	as	part	of	a	traceback exercise	then:
for	every active	middleware	element	you	now	need	to	hold	
the	precise time	and	the	precise transforms	that	were	applied	
to	a	packet	flow
and	you	need	to	be	able	to	cross-match these	records	
accurately
2017#apricot2017
What does this mean for
ISPs and LEAs?
31
How	many	different	sets	of	record	keeping	rules	are	required	for	each	CGN	/	
dual	stack	transition	model	being	used?
And	are	these	record	keeping	practices	affordable?
(granularity	of	the	records	is	shifting	from	“session”	records	to	“transition”	and	
even	individual	packet	records	in	this	diverse	model)
Are	they	even	practical	within	today’s	technology	capability?
Is	this	scaleable?
Is	it	even	useful	any	more?
2017#apricot2017
Making it hard...
32
The	V6	transition	was	challenging	enough
The	combination	of	V4	exhaustion	and	V6	transition	is	far	harder
The	combination	of	varying	exhaustion	times,	widespread	
confusion,	diverse	agendas,	diverse	pressures,	V4	exhaustion	and	
V6	transition	is	now	amazingly	challenging
2017#apricot2017
Making it very hard...
The	problem	we	are	facing	is	that	we	are	heading	away	from	a	single	service	
architecture	in	our	IP	networks
Different	providers	are	seeing	different	pressures	and	opportunities,	and	are	using	
different	technology	solutions	in	their	networks
And	the	longer	we	sit	in	this	“exhaustion	+	transitioning”	world,	the	greater	the	
diversity	and	internal	complexity	of	service	networks	that	will	be	deployed
33
2017#apricot2017
34
Does it ever get easier?
Is there light at the end of this tunnel?
2017#apricot2017
That was then
The material so far refers to the Internet of late 2013
Three years later, has it got any easier?
Or has it just got harder?
35
2017#apricot2017
Sessions are the Key
We	assumed	that	there	is	a	“session”	that	maps	between	a	service	and	a	client,	and	this	
session	is	visible	in	some	manner	to	the	network
The	forensic	task	was	to	take	a	partial	record	of	a	“session”	and	identify	the	other	party	to	
the	session	by	using	ancilliary information	(whois registries,	web	logs,	metadata	data	sets,	
etc)
But	maybe	the	entire	concept	of	a	“session”	no	longer	exists!	Do	we	still	use	“sessions”	in	
applications?
What	is	changing?
36
2017#apricot2017
37
2017#apricot2017
The new Paranoid Internet Service
Architecture
The entire concept of open network transactions is now over
We are shifting into an environment where user information is deliberately withheld
from the network, withheld from the platform and even withheld from other applications
We circulate large self-contained applications that attempt to insulate themselves
completely from the host platform
Application Service Providers see the platform provider as representing a competitive
interest in the user, and they want to prevent information leakage from their application
to the platform
Application Service Providers see other applications as as representing a competitive
interest in the user, and they want to prevent information leakage from their application
to other applications in the same platform
38
2017#apricot2017
39
2017#apricot2017
40
These technologies are already deployed, and
enjoy significant use in today’s network
They break down the concept of a “session” and
splay the encrypted traffic across multiple
networks, and even multiple protocols
They use opportunistic encryption to limit third
party access to information about users’ actions
The result is that only the endpoints see the
entirety of a session, while individual networks see
disparate fragments of pseudo-sessions
2017#apricot2017
41
2017#apricot2017
The Bottom Line
It’s	no	longer	just	an	issue	with	IPv4	and	NATs	and	a	visible	reluctance	to	shift	to	IPv6
Networks,	platforms	and	applications	now	regard	each	other	with	mutual	suspicion
Platforms	seek	to	hide	users’	activities	from	the	network
Applications	seek	to	hide	their	information	from	the	platform	and	from	other	applications
The	DNS	is	sealing	itself	into	private	tunnels	that	resist	external	examination,	intervention	
and	intervention
“Sessions”	are	being	deconstructed	into	opaque	fragments
Opportunistic	encryption	is	being	applied	ubiquitously
42
2017#apricot2017
Its not just “the IPv6
transition” any more
These are not just temporary steps to make IPv4 last longer for the
transition to IPv6
Even if we complete the transition to an all-IPv6 Internet, this paranoia,
complexity and deliberate obfuscation will not go away
This is now the Internet we have to live with
43
2017#apricot2017
We are never coming back from here – this is the
new “ground state” for the Internet!
44
2017#apricot2017
45
Does it ever get easier?
Is there light at the end of this tunnel?
2017#apricot2017
46
No!
2017#apricot2017
Thank You!
Me: gih@apnic.net

More Related Content

PDF
2017 01-31-cgns
PDF
Tstat conext compressed
PPTX
Abitcool - A vast array of small-scale service providers with gigabit access,...
PDF
Rolling the Root Zone DNSSEC Key Signing Key
PPTX
IPv6 and the DNS, RIPE 73
PDF
Having Honeypot for Better Network Security Analysis
PPTX
Apnic IPv6 Deployment
PPTX
The case for IPv6
2017 01-31-cgns
Tstat conext compressed
Abitcool - A vast array of small-scale service providers with gigabit access,...
Rolling the Root Zone DNSSEC Key Signing Key
IPv6 and the DNS, RIPE 73
Having Honeypot for Better Network Security Analysis
Apnic IPv6 Deployment
The case for IPv6

What's hot (19)

PDF
Secured Internet Gateway for ISP with pfsense & FRR
PDF
Internet Noise (A Story About Two Little Subnets - Tom Paseka
PPTX
IPv6 Deployment Architecture for Broadband Access Networks
PDF
HKNOG 1.0 - DDoS attacks in an IPv6 World
PDF
MANRS for Network Operators - bdNOG12
PDF
OARC 26: Scoring the Root Server System
PPTX
CommunicAsia 2017: IPv6 deployment architecture for IoT
PDF
28th TWNIC OPM and TWNOG 2017: Security best practices for network operators
PDF
Welcome to the APNIC Member Gathering, Mongolia
PDF
NetBeez - IEEE IRI 2016
PDF
Actual Condition Survey of Malware Download Sites for A Long Period
PPTX
Tutorial: Using GoBGP as an IXP connecting router
PDF
Core Bluetooth on iOS
PDF
TLD Anycast DNS servers to ISPs
PDF
The New Root Zone DNSSEC KSK
PPTX
APNIC IPv6 Deployment
PPTX
Мобильная связь небезопасна. Аргументы, подкрепленные фактами
PDF
npNOG 2: APNIC IPv6 deployment
PPTX
Security in an IPv6 World - Myth & Reality
Secured Internet Gateway for ISP with pfsense & FRR
Internet Noise (A Story About Two Little Subnets - Tom Paseka
IPv6 Deployment Architecture for Broadband Access Networks
HKNOG 1.0 - DDoS attacks in an IPv6 World
MANRS for Network Operators - bdNOG12
OARC 26: Scoring the Root Server System
CommunicAsia 2017: IPv6 deployment architecture for IoT
28th TWNIC OPM and TWNOG 2017: Security best practices for network operators
Welcome to the APNIC Member Gathering, Mongolia
NetBeez - IEEE IRI 2016
Actual Condition Survey of Malware Download Sites for A Long Period
Tutorial: Using GoBGP as an IXP connecting router
Core Bluetooth on iOS
TLD Anycast DNS servers to ISPs
The New Root Zone DNSSEC KSK
APNIC IPv6 Deployment
Мобильная связь небезопасна. Аргументы, подкрепленные фактами
npNOG 2: APNIC IPv6 deployment
Security in an IPv6 World - Myth & Reality
Ad

Viewers also liked (20)

PPSX
História e a evolução do Computador
PDF
Arquitetura pentium
PPTX
La dama del alba (refranes)
PDF
A contribution to new material standards for Ductile Ironsand Austempered Duc...
PPTX
Transporte
PDF
Resultados
PPTX
Taller 1 cristhian pozo, paola cruz
PPTX
Operaciones
PPTX
MBA Internship Presentation - Customer Awareness and Market potential of geo...
DOCX
THE IMPACT OF ICT IN QUANTITY SURVEYING
PDF
Smart 看 tv!
PPTX
Stephen J. Gould - Scientific Author of The Measure of a Man
PPTX
5 Ways To Fight A DDoS Attack
PPTX
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
PPTX
The Cloud: Privacy and Forensics
PPTX
Pulso, presión arterial, pulso venoso.
PPTX
IoT DDoS Attacks: the stakes have changed
PDF
Security on cloud storage and IaaS (NSC: Taiwan - JST: Japan workshop)
PPSX
The security of SAAS and private cloud
PPT
Cloud Computing Security Challenges
História e a evolução do Computador
Arquitetura pentium
La dama del alba (refranes)
A contribution to new material standards for Ductile Ironsand Austempered Duc...
Transporte
Resultados
Taller 1 cristhian pozo, paola cruz
Operaciones
MBA Internship Presentation - Customer Awareness and Market potential of geo...
THE IMPACT OF ICT IN QUANTITY SURVEYING
Smart 看 tv!
Stephen J. Gould - Scientific Author of The Measure of a Man
5 Ways To Fight A DDoS Attack
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
The Cloud: Privacy and Forensics
Pulso, presión arterial, pulso venoso.
IoT DDoS Attacks: the stakes have changed
Security on cloud storage and IaaS (NSC: Taiwan - JST: Japan workshop)
The security of SAAS and private cloud
Cloud Computing Security Challenges
Ad

Similar to 2017 03-01-forensics 1488330715 (20)

PDF
The End of IPv4: What It Means for Incident Responders
PPT
Apnic V6 Tutorial Distribution
PDF
Panel with IPv6 CE Vendors
PPTX
How to Ingest 16 Billion Records Per Day into your Hadoop Environment
PDF
RIPE NCC Operations and Analysis Tools
PDF
IPv6 Tutorial; USENIX LISA 2013
PDF
Computer Network
PDF
Building and operating a global DNS content delivery anycast network
PDF
PLNOG 13: Krzysztof Mazepa: BGP FlowSpec
PDF
PhNOG 2020: Securing your resources with RPKI and IRT
PPT
IPv4 adressing
PDF
Leveraging Network Offload to Accelerate SDN and NFV Deployments
PDF
SDN and metrics from the SDOs
PDF
Openconfig
PDF
Who's Watching, by Geoff Huston [APNIC 38 / Technical Keynote]
PDF
SDI to IP 2110 Transition Part 1
PPTX
Application Visibility and Experience through Flexible Netflow
PPTX
Upcoming internet challenges
PPTX
.NET Core Today and Tomorrow
PDF
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
The End of IPv4: What It Means for Incident Responders
Apnic V6 Tutorial Distribution
Panel with IPv6 CE Vendors
How to Ingest 16 Billion Records Per Day into your Hadoop Environment
RIPE NCC Operations and Analysis Tools
IPv6 Tutorial; USENIX LISA 2013
Computer Network
Building and operating a global DNS content delivery anycast network
PLNOG 13: Krzysztof Mazepa: BGP FlowSpec
PhNOG 2020: Securing your resources with RPKI and IRT
IPv4 adressing
Leveraging Network Offload to Accelerate SDN and NFV Deployments
SDN and metrics from the SDOs
Openconfig
Who's Watching, by Geoff Huston [APNIC 38 / Technical Keynote]
SDI to IP 2110 Transition Part 1
Application Visibility and Experience through Flexible Netflow
Upcoming internet challenges
.NET Core Today and Tomorrow
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]

More from APNIC (20)

PPTX
APNIC Report, presented at APAN 60 by Thy Boskovic
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
DNSSEC Made Easy, presented at PHNOG 2025
PDF
BGP Security Best Practices that Matter, presented at PHNOG 2025
PDF
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
PDF
IPv6 Deployment and Best Practices, presented by Makito Lay
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
PDF
The Internet - By the numbers, presented at npNOG 11
PDF
Transmission Control Protocol (TCP) and Starlink
PDF
DDoS in India, presented at INNOG 8 by Dave Phelan
PDF
Global Networking Trends, presented at the India ISP Conclave 2025
PDF
Make DDoS expensive for the threat actors
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
PDF
DDos Mitigation Strategie, presented at bdNOG 19
PDF
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
PDF
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
PDF
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC Report, presented at APAN 60 by Thy Boskovic
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
RPKI Status Update, presented by Makito Lay at IDNOG 10
The Internet -By the Numbers, Sri Lanka Edition
Triggering QUIC, presented by Geoff Huston at IETF 123
DNSSEC Made Easy, presented at PHNOG 2025
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
IPv6 Deployment and Best Practices, presented by Makito Lay
Cleaning up your RPKI invalids, presented at PacNOG 35
The Internet - By the numbers, presented at npNOG 11
Transmission Control Protocol (TCP) and Starlink
DDoS in India, presented at INNOG 8 by Dave Phelan
Global Networking Trends, presented at the India ISP Conclave 2025
Make DDoS expensive for the threat actors
Fast Reroute in SR-MPLS, presented at bdNOG 19
DDos Mitigation Strategie, presented at bdNOG 19
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
Measuring Starlink Protocol Performance, presented at LACNIC 43

Recently uploaded (20)

PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPT
tcp ip networks nd ip layering assotred slides
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Testing WebRTC applications at scale.pdf
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
An introduction to the IFRS (ISSB) Stndards.pdf
SASE Traffic Flow - ZTNA Connector-1.pdf
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
tcp ip networks nd ip layering assotred slides
522797556-Unit-2-Temperature-measurement-1-1.pptx
Introuction about WHO-FIC in ICD-10.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
presentation_pfe-universite-molay-seltan.pptx
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Module 1 - Cyber Law and Ethics 101.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Design_with_Watersergyerge45hrbgre4top (1).ppt
Testing WebRTC applications at scale.pdf
The New Creative Director: How AI Tools for Social Media Content Creation Are...

2017 03-01-forensics 1488330715

  • 1. 2017#apricot2017 Forensic Tracing in the Internet: An Update Geoff Huston Chief Scientist APNIC
  • 2. 2017#apricot2017 The story so far… • The status of the transition to IPv6 is not going according to the original plan: • We have exhausted the remaining pools of IPv4 addresses in all regions except Africa - this was never meant to have happened • We we meant to have IPv6 fully deployed by now • What we are seeing is the pervasive use of Carrier Grade NATs as a means of extending the useable life of the IPv4 Internet • Around 10% of users use both IPv6 and IPv4 – the other 90% are IPv4 only • It appears that most IPv4 use today uses NATs in the path • This has some major implications for LEA functions, principally in traceback and metadata record keeping 2
  • 3. 2017#apricot2017 Traceback – Version 1 3 A: 192.0.2.1 Ftp Server Internet Lets start by looking way back to the Internet of the 1980’s ftpserver.net 192.0.2.1 [31/Aug/2013:00:00:08 +0000] Ftp Server Log $ whois 192.0.2.1 NetRange: 192.0.2.0 - 192.0.2.255 NetName: TEST-NET-1 Contact: User Contact Details There was a rudimentary whois service and it listed all end users!
  • 4. 2017#apricot2017 Assumptions: • Each end site used a stable IP address range • Each address range was recorded in a registry, together with the end user data • Each end device was manually configured with a stable IP address • Traceback was keyed from the IP address 4
  • 5. 2017#apricot2017 Assumptions: • Each end site used a stable IP address range • Each address range was recorded in a registry, together with the end user data • Each end device was manually configured with a stable IP address • Traceback is keyed from the IP address 5
  • 6. 2017#apricot2017 + NATs 6 A: 10.0.0.1 B: 10.0.0.2 C: 10.0.0.3 CPE NAT/ DHCP Server 192.0.2.1 ISP
  • 7. 2017#apricot2017 Traceback – Version 2 7 A: 10.0.0.1 Web Server ISP webserver.net 192.0.2.1 [31/Aug/2013:00:00:08 +0000] "GET /1x1.png HTTP/1.1" 200 Web Server Log $ whois 192.0.2.1 NetRange: 192.0.2.0 - 192.0.2.255 CIDR: 192.0.2.0/24 OriginAS: NetName: TEST-NET-1 NetHandle: NET-192-0-2-0-1 Parent: NET-192-0-0-0-0 NetType: IANA Special Use CPE NAT/ DHCP Server 192.0.2.1 ISP RADIUS Log 15/Aug/2013:18:01:02: user XXX IP: 192.0.2.1
  • 8. 2017#apricot2017 Assumptions • The ISP operates an address pool • Each end site is dynamically assigned a single IP address upon login (AAA) • The site is dynamically addressed using a private address range and a DHCP server • The single public address is shared by the private devices through a CPE NAT 8
  • 9. 2017#apricot2017 Changes • Traceback to an end site is keyed by an IP address and a date/time • Requires access to WHOIS records to identify the ISP and the ISP’s AAA logs to identify the end site • No traceback to an individual device – the trace stops at the edge NAT 9
  • 10. 2017#apricot2017 IPv4 Address Exhaustion 10 What have ISP’s done in response? • It’s still not viable to switch over to all-IPv6 yet • The supply of further IPv4 addresses to fuel service platform growth has dried up • How do ISPs continue to offer IPv4 services to customers in the interim? • By sharing addresses across customers
  • 12. 2017#apricot2017 Traceback – Version 3 12 A: 10.0.0.1 B: 10.0.0.2 C: 10.0.0.3 CPE NAT/ DHCP Server ISP CGN 192.0.2.0/24 Web Server Internet webserver.net [192.0.2.1]::45800 [31/Aug/2013:00:00:08 +0000] "GET /1x1.png HTTP/1.1" 200 Web Server Log $ whois 192.0.2.1 NetRange: 192.0.2.0 - 192.0.2.255 CIDR: 192.0.2.0/24 OriginAS: NetName: TEST-NET-1 NetHandle: NET-192-0-2-0-1 Parent: NET-192-0-0-0-0 NetType: IANA Special Use ISP CGN Log 31/Aug/2013:00:00:02 172.16.5.6:34233 128.66.0.0:80 -> 192.0.2.1:45800 128.66.0.0:80 ISP RADIUS Log 15/Aug/2013:18:01:02: user XXX IP: 172.16.5.6:34000-40000 172.16.5.6
  • 13. 2017#apricot2017 Assumptions • The ISP operates a public address pool and a private address pool • The access into the public address pool is via an ISP-operated NAT (CGN) • Each end site is dynamically assigned a single private IP address upon login (AAA) • The site is dynamically addressed using a private address range and a DHCP server • The single public address is shared by the private devices through a CPE NAT 13
  • 14. 2017#apricot2017 Assumptions • Traceback to an end site is keyed by a source IP address and a source port address, and a date/time • Requires access to • WHOIS records to identify the ISP, • The ISP’s CGN logs to identify the ISP’s private address and • The ISP’s AAA logs to identify the end site 14
  • 15. 2017#apricot2017 ISP CGN Logging CGN bindings are formed for EVERY unique TCP and UDP session That can be a LOT of data to retain… 15http://www.nanog.org/meetings/nanog54/presentations/Tuesday/GrundemannLT.pdf
  • 16. 2017#apricot2017 It could be better than this… • Use Port Blocks per customer or • Use a mix of Port Blocks and Shared Port Pool overflow and • Compress the log data (which will reduce storage but may increase search overhead) 16
  • 18. 2017#apricot2017 18 We are going to see a LOT of transition middleware being deployed!
  • 19. 2017#apricot2017 19 And we are going to see a significant diversity in what that transition middleware does We are going to see a LOT of transition middleware being deployed!
  • 20. 2017#apricot2017 What does this mean for Forensic tracing? 20 LEAs have traditionally focused on the NETWORK as the point of interception and tracing They are used to a consistent model to trace activity: • get an IP address and a time range • trace back based on these two values to uncover a set of network transactions
  • 21. 2017#apricot2017 What does this mean for Forensic tracing? 21 In a world of densely deployed CGNs and ALGs the IP address loses coherent meaning in terms of end party identification.
  • 22. 2017#apricot2017 What does this mean for Forensic tracing? 22 And instead of shifting to a single “new” model of IP address use, we are going to see widespread diversity in the use of transition mechanisms and NATs in carrier networks Which implies that there will no longer be a useful single model of how to perform traceback on the network Or even a single coherent model of “what is an IP address” in the network
  • 23. 2017#apricot2017 Variants of NAT CGN Technologies 23 Variant: CGN with per user port blocks CGN with per user port blocks + pooled overflow CGN with pooled ports CGN with 5-tuple binding maps Address Compression Ratio 10:1 100:1 1,000:1 >>10,000:1 The same public address and port is used simultaneously by multiple different internal users ISP Internet CGN Source: 192.0.2.1:1234 Dest: 128.66.0.0:80 Source: 192.0.2.1:1234 Dest: 128.66.2.2:80 Customer A Customer B
  • 24. 2017#apricot2017 Adding IPv6 to the CGN Mix • The space is not exclusively an IPv4 space. • While CGNs using all-IPv4 technologies are common today, we are also looking at how to use CGN variants with a mix of IPv6 and IPv4 For example: Dual-Stack Light connects IPv4 end users to the IPv4 Internet across an IPv6 ISP infrastructure. • We see many more variants of ISP’s address transforming middleware when they IPv6 into the mix 24
  • 25. 2017#apricot2017 ++IPv6: Transition Technologies 25 Randy Bush, APPRICOT 2012: http://meetings.apnic.net/__data/assets/pdf_file/0016/45241/120229.apops-v4-life-extension.pdf
  • 26. 2017#apricot2017 Transition Technologies Example: 464XLAT 26Masataka Mawatari, Apricot 2012, http://meetings.apnic.net/__data/assets/pdf_file/0020/45542/jpix_464xlat_apricot2012_for_web.pdf
  • 27. 2017#apricot2017 What does this mean for Forensic tracing? 27 There is no single consistent model of how an IP network manages IPv4 and IPv6 addresses There is no fixed relationship between IPv4 and IPv6 addresses What you see in terms of network trace information is strongly dependent on where the trace data is collected
  • 28. 2017#apricot2017 What does this mean for LEAs? 28 What’s the likely response from LEAs and regulators? One likely response is to augment the record keeping rules for ISPs
  • 29. 2017#apricot2017 What does this mean for ISPs and LEAs? 29 But what are the new record keeping rules? In order to map a “external” IP address and time to a subscriber as part of a traceback exercise then: for every active middleware element you now need to hold the precise time and the precise transforms that were applied to a packet flow and you need to be able to cross-match these records accurately
  • 30. 2017#apricot2017 What does this mean for ISPs and LEAs? 30 But what are the new record keeping rules? In order to map a “external” IP address and time to a subscriber as part of a traceback exercise then: for every active middleware element you now need to hold the precise time and the precise transforms that were applied to a packet flow and you need to be able to cross-match these records accurately
  • 31. 2017#apricot2017 What does this mean for ISPs and LEAs? 31 How many different sets of record keeping rules are required for each CGN / dual stack transition model being used? And are these record keeping practices affordable? (granularity of the records is shifting from “session” records to “transition” and even individual packet records in this diverse model) Are they even practical within today’s technology capability? Is this scaleable? Is it even useful any more?
  • 33. 2017#apricot2017 Making it very hard... The problem we are facing is that we are heading away from a single service architecture in our IP networks Different providers are seeing different pressures and opportunities, and are using different technology solutions in their networks And the longer we sit in this “exhaustion + transitioning” world, the greater the diversity and internal complexity of service networks that will be deployed 33
  • 34. 2017#apricot2017 34 Does it ever get easier? Is there light at the end of this tunnel?
  • 35. 2017#apricot2017 That was then The material so far refers to the Internet of late 2013 Three years later, has it got any easier? Or has it just got harder? 35
  • 36. 2017#apricot2017 Sessions are the Key We assumed that there is a “session” that maps between a service and a client, and this session is visible in some manner to the network The forensic task was to take a partial record of a “session” and identify the other party to the session by using ancilliary information (whois registries, web logs, metadata data sets, etc) But maybe the entire concept of a “session” no longer exists! Do we still use “sessions” in applications? What is changing? 36
  • 38. 2017#apricot2017 The new Paranoid Internet Service Architecture The entire concept of open network transactions is now over We are shifting into an environment where user information is deliberately withheld from the network, withheld from the platform and even withheld from other applications We circulate large self-contained applications that attempt to insulate themselves completely from the host platform Application Service Providers see the platform provider as representing a competitive interest in the user, and they want to prevent information leakage from their application to the platform Application Service Providers see other applications as as representing a competitive interest in the user, and they want to prevent information leakage from their application to other applications in the same platform 38
  • 40. 2017#apricot2017 40 These technologies are already deployed, and enjoy significant use in today’s network They break down the concept of a “session” and splay the encrypted traffic across multiple networks, and even multiple protocols They use opportunistic encryption to limit third party access to information about users’ actions The result is that only the endpoints see the entirety of a session, while individual networks see disparate fragments of pseudo-sessions
  • 43. 2017#apricot2017 Its not just “the IPv6 transition” any more These are not just temporary steps to make IPv4 last longer for the transition to IPv6 Even if we complete the transition to an all-IPv6 Internet, this paranoia, complexity and deliberate obfuscation will not go away This is now the Internet we have to live with 43
  • 44. 2017#apricot2017 We are never coming back from here – this is the new “ground state” for the Internet! 44
  • 45. 2017#apricot2017 45 Does it ever get easier? Is there light at the end of this tunnel?