Unjust or illegal (8)
I believe the answer is:
wrongful
I believe this clue is a double definition.
'unjust' is the first definition.
(similar in meaning)
'illegal' is the second definition.
(thesaurus)
(Other definitions for wrongful that I've seen before include "Not just or fair" , "Unjust or illegal" , "Improper" .)