I recently purchased a book for research purposes titled The Three Magical Books of Solomon, The Testament of Solomon & His Greater & Lesser Keys in One Volume, translated into English by Aleister Crowley, S.L.MacGregor Mathers & F.C. Conybear. I haven't finished reading it yet as it's very tedious reading, the first part resembling a data base file. I don't recommend it to the saints as it's far from Christian in content and is intended for use in conjuring or calling forth demonic entities to do your bidding. In other words it's a tool for sorcery that may be entirely the result of someone's imagination, but it is a very old book which has gone through a number of translations. I only bring it up because the first section identifies the names of principal spirits, their rank in the demonic hierarchy, sometimes their position before "the fall", their powers, their typical appearance in manifestation, their tendencies to lie or speak truth, the "gifts" they may bestow, the number of legions of spirits that they command, etc. Some are kings, some dukes, some princes, some marquis, and just looking at this list is enough to understand that the original authors believed that the kingdom of Satan is a reflection of the hierarchy of the kingdom of Heaven, with the most powerful beings at the top ranks and the least powerful serving in the lowest ranks.
The focus of scripture is on Christ, not the heavenly or demonic hierarchy so the scripture doesn't have much to say on the topic, but makes references in places that confirm the general idea, if not identifying all the host of heaven and their ministerial duties.
Again, everything in this book of sorcery could be a lie, or simply the result of the evil imaginations of men, but practitioners of "magical arts" have treated this work as real and as a basis for their sorceries for centuries, some portions having been traced back at least to the 16th century and possibly further.
The point I want to make is simply that while some of these spirits are relatively innocuous and mostly indifferent to humanity, having very little power and authority, others are both malevolent and extremely powerful.
Jesus Christ has authority over all of them, and if we have His Spirit, then we have a share in that authority which is manifested in the work of the Holy Spirit. Yet, there is still potentially great danger to those self deceived in their relationship (or lack of one) to Christ, in any attempt to expel or exorcise demonic entities. The book of the acts of the apostles gives us an example of Jewish exorcists that attempted to exorcise a demon in the name of Jesus, but were not born again believers and were badly beaten by the possessed man. Consider that the Gerasene demoniac couldn't be bound by chains. Ever break a chain by hand?
I'm not afraid of demons because I know the Lord, but I respect their power and authority because it was given by God and not something to take lightly.
" Yet Michael the archangel, in contending with the devil, when he disputed about the body of Moses, dared not bring against him a reviling accusation, but said, “The Lord rebuke you! " Jude 1:9