The friction force is upward. Because the moving object pushes the dents of the surface downward, they push back upward, so the friction force is upward.
The friction force is always parallel to the surface and opposite the motion of the object relative to the surface.