Australia has protection obligation to people who arrived in Australia on a valid visa but cannot return to their home country due to the risk of being harmed. You must arrive in Australia legally to be eligible for this visa.
What is Australia’s protection obligation? See link: Protection obligation
Subclass 866: Protection visa
Complete form to check eligibility