Yes, BEC attacks are illegal, and perpetrators can face significant legal consequences, including imprisonment and fines, depending on the severity of the crime.