Slide 1

Slide 1 text

C I R C O Cisco Implant Raspberry Controlled Operations https://circo.cc

Slide 2

Slide 2 text

• My name is Emilio and I’m hacker • I like to play with packets, networks, electronics and 3D printers • I presented security tools at various conferences (DEF CON, BlackHat Asia, AV Tokyo HIVE, SECCON, HITB, etc) • Sorry, I’m not a native programmer or English/Japanese speaker J Helloこんにちは https://circo.cc

Slide 3

Slide 3 text

▪ Allow existing IP-Phone to co-exist with CIRCO ▪ Eliminate template files (craft all packets) ▪ Support NTP exfiltration ▪ Software encrypted via Bluetooth (prevent forensic) ▪ Self destroy and alarm switch (thanks Will) ▪ Bypass fingerprinting (NAC) ▪ Credentials integration into Faraday (thanks Fran) https://circo.cc What’s new? 新機能

Slide 4

Slide 4 text

▪ Cisco DNA (Digital Network Architecture) ▪ Infoblox NetMRI ▪ Micro Focus® Network Automation (formerly HP NA) ▪ Service Now Discovery* ▪ ForeScout CounterACT (NAC) ▪ Trusted network administrators ▪ Others * SNMP discovery only https://circo.cc Who we target? ターゲットは?

Slide 5

Slide 5 text

https://circo.cc CIRCO Evolution 進化

Slide 6

Slide 6 text

Demo Box v1 https://circo.cc Production Box v1.4

Slide 7

Slide 7 text

Production Box v1.5 https://circo.cc

Slide 8

Slide 8 text

▪ Components □ CIRCO: Implant (hardware & software) □ CARPA: Credentials Receiver (Internet VPS, software and domain NS) □ JAULA: Wireless Credentials Receiver (software) ▪ Python 2 □ Mainly Scapy for packet manipulation □ Migration into Python 3 started… ▪ Features: □ Honeypots services to behave as a Cisco Switch or IP-Phone □ Trick NAC systems (nmap, Phone whitelisted, Golden MAC) □ OSfooler-NG (https://github.com/segofensiva/OSfooler-ng/) ▪ Exfiltration via cover channel protocols □ ICMP (ping), Traceroute, NTP, HTTP, HTTPS, DNS, Proxy (DNS) and Wireless ▪ Extra: Get plain credentials if a PC is plugged into the IP-Phone □ net-creds (https://github.com/DanMcInerney/net-creds) https://circo.cc Software ソフトウェア

Slide 9

Slide 9 text

▪ Cisco CDP & LLDP Advertisement (as IP-Phone & Network Switch) ▪ Cisco SNMP Agent ▪ Cisco Telnet CLI (IOS 15.x) ▪ Cisco SSH CLI (IOS 15.x) ▪ Mimic packets format like IOS to avoid NAC/IDS/IPS https://circo.cc Fake Services (Honeypots) シスコハニーポット

Slide 10

Slide 10 text

Demo Time! デモの時間!

Slide 11

Slide 11 text

https://circo.cc Lab Network Diagram

Slide 12

Slide 12 text

https://circo.cc Exfiltration Format 流出のフォーマット ▪ Telnet □ t,,, □ t,e,, ▪ SSH □ s,,, □ s,e,, ▪ SNMP (v1/v2) □ p,, ▪ net-creds* (optional) □ n,, * Under development

Slide 13

Slide 13 text

▪ ICMP (IP.id & ICMP.seq fields) ▪ Traceroute (IP.id field & UDP payload) ▪ HTTP and HTTPS (IP.id & TCP.window fields) ▪ NTP (NTP.stratum, NTP.poll, NTP.tx.timestamp) ▪ DNS (NS query evil.sub.domain) ▪ DNS (A query) via Proxy (DHCP Option 252, WPAD., PAC Guessing via DNS) ▪ Wireless* (SSID Name & Dot11.beacon, Dot11.SC and Dot11.interval) https://circo.cc Network Exfiltration Techniques ネットワーク流出テクニック * Proximity required Credentials & IP address are encrypted with AES256 before sending

Slide 14

Slide 14 text

https://circo.cc ICMP Exfiltration Flow

Slide 15

Slide 15 text

https://circo.cc Traceroute Exfiltration Flow

Slide 16

Slide 16 text

https://circo.cc HTTP/HTTPS Exfiltration Flow

Slide 17

Slide 17 text

https://circo.cc NTP Packet “Fraction”

Slide 18

Slide 18 text

https://circo.cc NTP Exfiltration Flow

Slide 19

Slide 19 text

https://circo.cc DNS Exfiltration Flow

Slide 20

Slide 20 text

https://circo.cc Proxy (DHCP) Exfiltration Flow

Slide 21

Slide 21 text

https://circo.cc Proxy (WPAD) Exfiltration Flow

Slide 22

Slide 22 text

Proxy (DNS Guessing) Exfiltration Flow https://circo.cc

Slide 23

Slide 23 text

https://circo.cc Wireless Exfiltration Flow