Brazilian security forces , backed by tanks and helicopters , have carried out an operation to recover stolen weapons from a slum in Rio de Janeiro .