You can tell the tax man that you earned money from illegal activities and pay tax on your ill gotten gains. Due to privacy laws the tax ofice can't tell anyone willy nilly you're a crim, it would take a royal commission for the tax office to divulge that information.