It has become easier to mask ships’ identities with a proliferation of flags of convenience and registrations in small, poor countries.