• No results found

Computer Search Engine

N/A
N/A
Protected

Academic year: 2021

Share "Computer Search Engine"

Copied!
39
0
0

Loading.... (view fulltext now)

Full text

(1)

SHODAN

Computer Search Engine

University of Florida

5 November, 2013

Shawn Merdinger

Security Analyst, HealthNet UF Health

(2)

Outline

Shodan

High-level technical overview

(3)

Shodan

Computer Search Engine

John Matherly

● US based

● Public late 2009

“Search engine for service banners of pre-scanned

devices that are accessible via the public Internet”

Somewhat controversial...

● Major media coverage, security conference talks, DHS

ICS-CERT advisories, political leaders naming as threat

(4)

Shodan Scans

Shodan's Scanning Process

Shodan servers scan Internet

● Services (web, telnet, snmp, ftp, mysql, rdp, etc.)

● Ports (80, 8080, 443, 161, 21, 23, 3389, etc)

Place scan results in DB

Users search Shodan

● Web interface or API

● Free-text, port, org, hostname, country, city, CIDR, etc.

Advanced Integration

● Metasploit Modules (hat tip to John Sawyer :)

(5)

How We Use Shodan at UF&Shands

Currently looking for “low-hanging fruit”

Printers on public IP

Open Telnet → “Polycom Command Shell”

Lots of ways to leverage more

Automation & deltas

Application-level

Limitations

External IP only

Still worth it

(6)
(7)
(8)
(9)

Who Is Talking About Shodan?

(10)

DHS ICS-CERT Shodan Advisories

First issued October 2010

(11)

10/25 DHS ICS-CERT Advisory

Project SHINE:

SH

odan

IN

telligence

E

xtraction

– Bob Radvanovsky & Jake Brodsky infracritical / scadasec

● I provide volunteer research support, search terms, etc.

– Daily search feed to ICS-CERT

(12)

Keeping Perspective...

Scanning is old news

Attackers

● Constantly scanning you

● Shodan just made scanning more

– Searchable + visible + accessible....without scanning

Legitimate research

● HD Moore's scanning project

– Hits select UDP ports of entire Internet every 7 hours .ru vps

● Academic researchers doing default credential checks!

– Columbia, 2010 (Qui, Stoflo) +500K devices with default credentials

● Scans.io

– Repository of raw scan data

(13)

Research Findings

Challenges

Of finding and reporting scary things

● “Do no harm” ground rules, intent, curiosity, outcomes

● What to do? Who to tell? How to go about it?

● Perspectives

– “We will sue you” ↔ “Unethical” ↔ “Thank you” ↔ “No response”

The

invaluable

value of the CERTs

● I would not do this without them as resource. Period.

● Find bad stuff, write-up threat evaluation, send to CERTs

– Leave them alone

● Takes time, but mostly good results...mostly ● Exceptions...

(14)

S2 Security NetBox

DefCon 2010 talk: “We don't need no stinkin' badges”

– Building Door Access Controllers (Web Based)

– Multiple CVEs, complete compromise of device, S2 Security

vendor threatened to sue me, blocked my Twitter follow...

– Real value of Shodan

● Proved not “deep inside corporate network” (Today 800+ )

“When hackers put viruses on your home computer it's a nuisance; when they unlock doors at your facility it's a nightmare”

(15)

VoIP Phones

Lots of VoIP phones, individual, conference (esp. Polycom)

Late 2010 I focused on Snom

VOIPSA blog

● Remote Tap scripts, call via phone web server, record, etc.

(16)

No Auth Cisco Routers & Switches

"cisco-ios" "last-modified"

– 14,000+ devices with HTTP No authentication set

– Level 15 access via HTTP

● “ip http authentication local” would lock down web server ● Creative attacks – bit.ly and tinyurl.com w/ commands

(17)

No Auth Cisco Devices in Iran

“School of Particles and Accelerators”

in Tehran, Iran

(18)

Banners Bite Back

Warning banners = easy fingerprinting

When best practices....ain't

Swisscom and hotel routers (1200+)

– Warning banner has company name and hotel location

(19)

Banners Bite Back

(20)

Open SMB Router Example

(21)

Telnet To Root On Linux Devices

TVs, DVRs, home wifi/routers, phones, refrigerators

Telnet to root, no auth!

(22)

WebCams

Huge

numbers

, all kinds of uses

Personal, Office, Business, Security,

SCADA

See

Dan Tentler's

talks and code

Camcreep.py

● Auto screenshot via CLI

(23)

“Watching the Watchers Watch”

(24)

Printers on Public IP

Technical Risks

MFP = Multi-function Printer (FAX, Scan, Email, Storage)

Advanced research (Andrei Costin, Ph.D - Milan, Italy)

– Access docs, change configs, attack via printed document

Risks

– Print from anywhere, Web printing, run out paper, ink

(25)

Printer Case Study: Penn State

(26)

Online Crematorium

● Siemens HMI - VNC 3 char default pass, no auth Telnet, MD5 passwords ● “pr0f” South Houston SCADA hack (11/2011)

(27)

Cisco Lawful Intercept

● Cisco routers with LI special code and SNMP public

“LI User” = level 16 super-duper Cisco admin level. Supposed to be invisible to any other user. Taps supposed to use encrypted SNMPv3 for secure Mediation Device comms.

(28)

BlueCoat

● BlueCoat surveillance devices and human rights abuses

– Syria

● Tracking and interception of dissidents' communications ● From “Chilling effect” to “Killing effect”

– ITAR export violations

(29)
(30)

Econolite Traffic Light Controller

● Yes, it is what you think. Credit: Dan Tentler @viss

(31)

Red Light Enforcement Cameras

● Delete those pesky speeding tickets!

(32)

Embassy Devices

● Question: What's running telnet in country X with “embassy” in name? ● Cuts both ways...

(33)

Serial to Ethernet Controllers

Many of these are online

– Connected to anything that has a serial port

– Extra scary because don't know what it controls

● HVAC, lab stuff, etc.

Web, telnet, snmp

– Wide open

Legacy

– BACnet

(34)

Caterpiller VIMS

Web based remote monitoring (control?) over cell modem

CAT 79X series = largest trucks in world

80+ in Alberta, Canada (working the tar sands)

Poor vendor response...lawyers, not engineers

(35)

75+ US TV Stations' Antennas

● TV station digital antenna controllers w/ no auth (telnet/http)

– Remote sites, air-to-ground data links, marketed to MIL, LEO, broadcasters – On the wire looks like home NAS or DVR (embedded Windows)

● Multi-step search technique to find – (1) Shodan (2) scan for unique port

– Sent DHS ICS-CERT report of issues, IP, Geolocation, FCC info

● Major broadcast network with “C” in acronym name

● Asset Owner: “We'll take care of this after election” ● Vendor: “Should be deep in corporate network”

(36)

Gas Station Pumps

600+ in Turkey

Reported to Turkish CERT

Posted search & vendor doc to my Twitter feed

(37)
(38)

Wrapping up

Register for free Shodan account

Email John Matherly for moar access

Read up on Shodan

Wikipedia

Shodan web site (help, filters, references)

Understand tool integration and new tools

Metasploit, Stach & Lui Diggity, Shi0San, etc.

(39)

Thanks!

Contact

Email:

[email protected]

Twitter @shawnmer

LinkedIN

MedSec

References

Related documents

[r]

Once I knew the roles of ERα and ERβ in the bleo/neo and mp53/neo cells with endogenous ER expression levels, I next wanted to mimic what I had observed in the

Here, we have shown for the first time that increasing cell density is a negative regulator of both proliferation and PAI-1 secretion in OFs, regardless of whether they are

• Phreatic steam explosions caused by decompression of hydrothermal fluid • No direct magmatic involvement  epithermal gold deposition 3: Hydrothermal breccias – phreatic

The RE210’s single Ethernet port allows the Extender to function as a wireless adapter to connect wired devices like Blu-ray® players, gaming consoles, DVRs and Internet TVs. At

In iLike, text-based search is performed by form- ing expanded queries using visual synonyms, whereas in ACSIR, first images are retrieved using expanded queries with visual

The data of NO 3− adsorption onto ferric coagulant at various current densities applied to Elovich kinetic model is shown in figure (5).. The plot expresses

We assume that each mobile network knows that the fixed network chooses the price p Ci given the termination charges t i and the retail prices p i.. The first