Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 63 guests and 2 members online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Hardwarearrow PLC's / Control Networks Info
EH-Net
May 22, 2013, 11:50:19 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: PLC's / Control Networks Info  (Read 3792 times)
0 Members and 1 Guest are viewing this topic.
SamoletMaj
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: June 25, 2012, 02:24:44 PM »

Hello there Gents...

I am new to the business and i am looking to gain some knowledge specifically about exploiting PLC's and industrial control networks, i am a PLC programmer in the control systems industry and i have been tasked with identifying/exploiting vulnerabilities in our control systems.

I have already discovered several problems mainly dealing with UDP communication protocols.

I want to dig deeper and focus on two things, Buffer overflows on PLC's and exploits regarding crafting EIP/CIP messages. (Ethernet/IP)

What books/reading in general would you recommend? Any suggestions are welcome

Thanks!
Logged
cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #1 on: June 25, 2012, 04:03:33 PM »

In my experience you don't even need to go after the PLCs. The operating systems are typically so out of date and missing patches so exploitation is usually pretty trivial. Also, if you can pop the box that manages the PLCs you own everything.

Also, about 5 years ago when PLC manufacturers started adding web servers and snmp to their devices, they almost never password protected them or used hardcoded pws/snmp strings.

Finally, simple arp spoofing will usually yield tons of clear text passwords since most comm protocols are still modbus over tcp or telnet. As far as crafting CIP messages, I've never needed to do that. Total domination on ICS is usually less than a days work.

I have this book, and it is OK, not great: http://www.amazon.com/Industrial-Network-Security-Securing-Infrastructure/dp/1597496456/ref=sr_1_1?ie=UTF8&qid=1340658150&sr=8-1&keywords=industrial+network+security
Logged

SamoletMaj
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: June 26, 2012, 08:05:43 AM »

I completely agree, part of my testing is with the SCADA which includes the PC's and yes, it was ridiculously easy so i am drafting some action plans to patch those up.

And you are correct on the clear text also, i found some via UDP.

All that being said i want to push the envelope a bit more and i want to learn or at least educate myself on attacking the PLC's directly. Appart from the comms protocol FTP is the only thing open on the controllers, no SNMP. and Ethernet/IP (CIP) is the protocol of choice.

I will look at the book you recommended, Thanks!

Any ideas on what would be good reading in terms of the controller hardware side? i cant find anything online.
Logged
cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #3 on: June 26, 2012, 08:19:28 AM »

Aside from an allen bradley manual, not really sure on what to read from the hardware side. However, you might want to search on Embedded Device Hacking or Firmware Hacking.

Just reading some of the spec on CIP, (couldnt find an RFC looks to be a manufacturer created protocol?) two things jump out:

-Transfer of basic I/O data via User Datagram Protocol (UDP)-based implicit messaging
-Uploading and downloading of parameters, setpoints, programs and recipes via TCP (i.e., explicit messaging.)

Obvious UDP security issues with the first bullet, spoofing etc.

The second bullet is very interesting. I suspect if you fiddled with the values in those packets you might be able to get the PLCs to crash, which might mean exploitation is possible. I doubt they have much bounds checking implemented, especially if they are old. It would seem, the most malicious of intent would want to exploit this because success equals changing values or device compromise. I'm totally speculating on this attack vector, but it might be worth a look.

The hardest part would be debugging the crash. It's not like you could just open Immunity and debug the crashes. This part is out of my league.

Looks like there has already been some work done here: http://www.digitalbond.com/tools/basecamp/metasploit-modules/
http://www.digitalbond.com/tools/basecamp/rockwell-automation-controllogix/
« Last Edit: June 26, 2012, 08:24:54 AM by cd1zz » Logged

SamoletMaj
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #4 on: July 13, 2012, 09:11:18 AM »

Well, i went the UDP route and wow... let just say i have my work cutout trying to secure the control system against fairly simple attacks.

And i'm also proud to say i wrote my first metasploit module in ruby Cheesy

The only built in security options on the controller are basically write protect the entire thing, which turns into an admin nightmare in order to do software updates remotely, or, restrict rights based on IP's. however, a simple sniff and spoof would defeat that.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.051 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.