Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CIRCO HITB GSEC

Emilio
August 29, 2019

CIRCO HITB GSEC

HITB GSEC Singapore 2019 Armory
https://gsec.hitb.org/sg2019/hitb-armory/

Emilio

August 29, 2019
Tweet

More Decks by Emilio

Other Decks in Technology

Transcript

  1. ▪ 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 active & passive fingerprinting (NAC) ▪ Credentials integration into Faraday (thanks Fran) https://circo.cc What’s new?
  2. ▪ 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?
  3. CIRCO Demo Box (v1 - 2018) ▪ Raspberry Pi Zero

    W ▪ USB LAN Adapter ▪ USB Hub ▪ Wireless Dongle (WLI-UC-GNM2S) ▪ PoE LAN Adapter (12V) ▪ Bucket Regulator (12V-5V) https://circo.cc
  4. CIRCO Production Box #1 (v1.4) ▪ Raspberry Pi 3B ▪

    PoE LAN Adapter (5V) https://circo.cc ▪ Quad RJ45 Wall Faceplate ▪ Desk/Mount Box Network Outlet
  5. CIRCO Production Box #2 (v1.4) ▪ Raspberry Pi Zero W

    ▪ PoE LAN Adapter (5V) ▪ USB LAN Adapter https://circo.cc ▪ 1 RJ45 Socket ▪ Desk/Mount Flat Network Outlet
  6. CIRCO Production Box #1 (v1.5) § Quad RJ45 Wall Faceplate

    § Desk/Mount Box Network Outlet § Raspberry Pi 3B+ § Magnets mount (3D printed) § USB LAN Adapter § DC-DC LM2596HVS (56V-5V) § Magnetic switch and magnet (4mm) § USB Wireless Adapter https://circo.cc
  7. CIRCO Production Box #2 (v1.5) ▪ Raspberry Pi Zero ▪

    DC-DC LM2596HVS (56V-5V) ▪ 2 x USB LAN Adapter ▪ Micro USB HUB https://circo.cc ▪ 2 x RJ45 Socket ▪ Desk/Mount Flat Network Outlet ▪ Push switch
  8. ▪ LM2596HVS (DC-DC 56V/5V) = $3 (Amazon) ▪ 2 x

    USB LAN Adapter = $18 (Amazon) ▪ Raspberry Pi Zero W = $10 (Adafruit) ▪ Micro USB Hub = $9.99 (Tindie) ▪ Flat Network Outlet = $9 (eBay) https://circo.cc Hardware Cost (v1.5) Get CIRCO for $49.99 bucks!
  9. ▪ 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
  10. ▪ 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)
  11. https://circo.cc Exfiltration Format ▪ Telnet □ t,<username>,<password>,<src_IP> □ t,e,<enable_password>,<src_IP> ▪

    SSH □ s,<username>,<password>,<src_IP> □ s,e,<enable_password>,<src_IP> ▪ SNMP (v1/v2) □ p,<community>,<src_IP> ▪ net-creds* (optional) □ n,<credentials>,<src_IP> * Under development
  12. ▪ 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.<domain>, 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