One of the most interesting aspects of ISIS? The diversity of their cash flow. They make money from tariffs to taxes to smuggling to oil production to hostage taking to the plundering of art/antiquities/etc..
This isn't your standard 20th Century terrorist group, yet they haven't built the bureaucracatic structures we expect of a nation-state.
They are something in between. Let's explore this a bit.