Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I make fun of Modbus because it is a network protocol invented by people with limited background in programming let alone protocol design (like indexes start at 1?

I make fun of Modbus because it is a network protocol invented by people with limited background in programming let alone protocol design (like indexes start at 1?

Scheduled Pinned Locked Moved Uncategorized
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • reverseics@infosec.exchangeR This user is from outside of this forum
    reverseics@infosec.exchangeR This user is from outside of this forum
    reverseics@infosec.exchange
    wrote last edited by
    #1

    I make fun of Modbus because it is a network protocol invented by people with limited background in programming let alone protocol design (like indexes start at 1? what?).

    I've been writing my own DNP3 stack (native Python stack) and I've gotta say the exact opposite about DNP3. It was written by insane network protocol people who aren't worried at all about making something ridiculously complex. Especially if twenty extra parsing steps might allow someone to save a byte or two on-the-wire. I totally get how Adam and Chris found 18 bjillion parsing bugs in dnp3 systems a few years ago. I'm surprised they didn't find even more bugs.

    cr0w@infosec.exchangeC 1 Reply Last reply
    0
    • reverseics@infosec.exchangeR reverseics@infosec.exchange

      I make fun of Modbus because it is a network protocol invented by people with limited background in programming let alone protocol design (like indexes start at 1? what?).

      I've been writing my own DNP3 stack (native Python stack) and I've gotta say the exact opposite about DNP3. It was written by insane network protocol people who aren't worried at all about making something ridiculously complex. Especially if twenty extra parsing steps might allow someone to save a byte or two on-the-wire. I totally get how Adam and Chris found 18 bjillion parsing bugs in dnp3 systems a few years ago. I'm surprised they didn't find even more bugs.

      cr0w@infosec.exchangeC This user is from outside of this forum
      cr0w@infosec.exchangeC This user is from outside of this forum
      cr0w@infosec.exchange
      wrote last edited by
      #2

      @reverseics My favorite part about DNP3 is how inconsistent firewalls are if you are doing anything more than simple port blocking.

      reverseics@infosec.exchangeR 1 Reply Last reply
      0
      • cr0w@infosec.exchangeC cr0w@infosec.exchange

        @reverseics My favorite part about DNP3 is how inconsistent firewalls are if you are doing anything more than simple port blocking.

        reverseics@infosec.exchangeR This user is from outside of this forum
        reverseics@infosec.exchangeR This user is from outside of this forum
        reverseics@infosec.exchange
        wrote last edited by
        #3

        @cR0w transport layer fragmentation in dnp3 introduces all sorts of fun firewall evasion. a firewall really needs to reassemble the complete request before determining whether the request is allowed, so I'm not surprised at all about firewall evasions :(.

        cr0w@infosec.exchangeC 1 Reply Last reply
        0
        • reverseics@infosec.exchangeR reverseics@infosec.exchange

          @cR0w transport layer fragmentation in dnp3 introduces all sorts of fun firewall evasion. a firewall really needs to reassemble the complete request before determining whether the request is allowed, so I'm not surprised at all about firewall evasions :(.

          cr0w@infosec.exchangeC This user is from outside of this forum
          cr0w@infosec.exchangeC This user is from outside of this forum
          cr0w@infosec.exchange
          wrote last edited by
          #4

          @reverseics It's not even just evasions. Certain firewalls tend to change how they handle things like TCP streams and it's cause outages. For example: An org was allowing DNP3 by protocol through a fancy firewall because they didn't want someone to abuse port 20000 or whatever they were using. But the firewall changed its timeouts and application fingerprinting so the only part of the stream that flagged as DNP3 was the beginning. After a certain amount of time ( since we know DNP3 streams can be maintained for a long time ) it flagged the traffic as generic TCP and dropped it. It was a weird one to troubleshoot.

          1 Reply Last reply
          1
          0
          • R relay@relay.infosec.exchange shared this topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups