Praise be to Allah.
It is permissible to wipe over the socks, if they cover the ankles and were put on when one was in a state of complete purity, i.e., in which the feet had been washed. In that case, he may wipe over them if he wishes.
For information on the conditions on wiping over the socks, and how it is done, please see no. 12796 and 9640.
It does not matter if the socks are attached to the trousers, and wearing these trousers is not regarded as isbaal.
And Allah knows best.