Because he was chained to Roman soldiers in prison and had a firsthand view of their equipment and operations.
Watch the Teaching: Is it scriptural to bind Satan?