We numerically investigate the interaction between a nanosatllite CubeSat and surrounding plasma. The present study aims to elucidate particular issues related to nanosatllite-plasma interaction which affects the on-board instruments by using particle-in-cell simulations. The numerical results of the present study demonstrate the importance of several key physical processes in nanosatellites-plasma interaction. In particular, it is shown that plasma flow, ion composition, and the geomagnetic field have a strong impact on the Langmuir probes.