element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Internet of Things... Security
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 24 replies
  • Subscribers 396 subscribers
  • Views 2031 views
  • Users 0 members are here
  • ethernet
  • internet_of_things
  • iot
  • encryption
  • arduino
Related

Internet of Things... Security

gadget.iom
gadget.iom over 10 years ago

I have recently purchased an ENC28J60 module and started experimenting with ethernet connectivity on my various Arduino boards. As to be expected with the Arduino community there are a good number of resources, on here and the wider web, for support in getting a basic project up and running.

 

I have mainly been experimenting with sending GET requests to a web server and acting upon the responses, and while there is a great deal of guidance about how to achieve this, none of them seem to contemplate the aspect of secure communications. While this may not be so much of an issue on a private LAN, the very nature of 'Internet of Things' would suggest that this communication will take place over a third party network at some point.

 

I have spent some time investigating the process of implementing some basic encryption on these communications and have found the availability of such information to be very weak. Methods I have looked into so far are RC4 and XOR, and some of the examples actually work on the local microcontroller, but fail to encrypt/decrypt successfully in the PHP implementations at the server.

 

Have you implemented any kind of encryption in your microcontroller projects? How successful were they? Do you think there are enough resources for data encryption? Or is there something obvious that I've missed? image

 

Would love to hear your thoughts and opinions.

Paul

  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 10 years ago +3
    They say you can't put a price on your health, and for the sake of my mental health I have taken Robert Peter Oakes s advice and ordered one of these bad-boys to experiment with: CC3200-LAUNCHXL - TEXAS…
  • DAB
    DAB over 10 years ago in reply to Robert Peter Oakes +3
    I think the best way to deal with IoT security is to look at the data you are sending. As long as you are just looking at states and raw data, you are pretty safe from anyone making sense of what you are…
  • shabaz
    shabaz over 10 years ago in reply to Robert Peter Oakes +3
    Oh, wow - probably healthcare has some of the highest security requirements - so we should use you to grill all the kickstarter creators we see who totally ignore security : )
Parents
  • clem57
    clem57 over 10 years ago

    As for internet, look to SSL communication like https!image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • clem57
    clem57 over 10 years ago

    As for internet, look to SSL communication like https!image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • gadget.iom
    gadget.iom over 10 years ago in reply to clem57

    Thanks clem57, SSL was the first thing I looked at. Unfortunately I googled "Arduino UNO SSL" and got this:

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom

    Yup, Arduino UNO and SSL do not mix in any universe but there are options

     

     

     

    For instance, the ESP-01 etc. are sub processors with extensive capability and I believe this includes SSL, also a YUN can offload this task from the basic Arduino, some Launchpad’s (TivaC or CC3200 for instance) have crypto libraries built in and can still be fairly easy to program

     

     

     

    Food for thought

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DAB
    DAB over 10 years ago in reply to Robert Peter Oakes

    I think the best way to deal with IoT security is to look at the data you are sending.

    As long as you are just looking at states and raw data, you are pretty safe from anyone making sense of what you are sending.

    If you send messages, then using the old compiler technic of a message ID number instead of a detailed message allows you to customize what IDs mean different events, data or issues.

     

    Security is most needed when you put data together with context.  At that point, you have valuable information and you really should secure it.

     

    The nice thing about a simple code is that it is secure if only you have the ability to put the code into a useable context.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 10 years ago in reply to DAB

    This was part of a news item in NZ ... mainly about the smart TV's.

    It pointed to this report which reinforces what you're saying DAB.

     

    http://www.ftc.gov/system/files/documents/reports/federal-trade-commission-staff-report-november-2013-workshop-entitled-internet-things-privacy/150127iotrpt.pdf

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 10 years ago in reply to mcb1

    Had a big thing here in the UK about Smart TV's been able to listen in to your conversations..

    I was wondering how long it was before they got compromised ...looks like I 'll get a first run with the legitimate traffic first image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to mcb1

    Hi Mark,

     

    Thanks for this, very nice paper!!

    Hi DAB,

    As you say, it is super-important to know the information and the value of it. Not just IoT related (although often it is harder to know what is valuable, since data can reveal subtle bits of information), but so many organizations in general tend to consider security with no regard to the value of the data. They then end up vastly underspending, or vastly overspending but in the wrong areas, leaving themselves (and customers) still vulnerable, e.g. by not considering who should and who should not have access to which data, what data should not be shared with some departments (i.e. within a business), and how to handle data between businesses too (e.g. the smart TV scenario you guys mention).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to shabaz

    Totally agree with you there Shabaz

     

    I have to be always on the lookout for issues like this as a Solutions Architect in the government Healthcare world, I design systems for the Province of Ontario to manage peoples medical data and also personal information (PHI and PI) so I totally get what your saying, the vulnerabilities come from the strangest of places and often not where you suspect, for instance most breaches are committed by insider support people, not a hack from the outside and also what constitutes PI or PHI data

     

    Social Engineering is also a popular way for back trace information to people, simple things like age, gender, local events or entities all lead someone closer and closer to you

     

    Now start posting when your heating comes on or lights etc etc and soon someone knows where you live and hen you home (On not more to the point)

     

    So while I get Dabs comment, don't post it if you don't need to (Is it necessary for the recipient to have that additional bit of info) because it can all add up to finding more about you

     

    This is a very interesting topic and one that can run for a long time, I welcome it completely as it is long over due

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    I'm not even sure how IoT could possibly take off.  I can understand your own projects, connecting to your own systems as long as you're careful and monitor them.  But would many people buy a commercial device(eg, fridge, thermostat) and put it online to do or connect to whatever the manufacturer wanted?  I sure wouldn't want to, it seems ridiculous.  Although, I do know a few people that have bought the "nest" thermostat who are crazy for the google stuffimage.  To me, it's a trap.  Then again, most people are carrying around their own(or their employers) tracking device now, so maybe it will. image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to Robert Peter Oakes

    Oh, wow - probably healthcare has some of the highest security requirements - so we should use you to grill all the kickstarter creators we see who totally ignore security : )

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 10 years ago in reply to shabaz

    Funnily enough Healthcare and the likes were one of the bigger concerns....

     

    ve3zyr

    I'm afraid your average non technical consumer has NO IDEA.

    The classic case is a Smart TV they have no idea about security (or lack of it).

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube