Context. The Rosetta lander Philae successfully landed on the nucleus of comet 67P/Churyumov-Gerasimenko on 12 November 2014. Philae carries the Dust Impact Monitor (DIM) on board, which is part of the Surface Electric Sounding and Acoustic Monitoring Experiment (SESAME). DIM employs piezoelectric PZT sensors to detect impacts by submillimeter-and millimeter-sized ice and dust particles that are emitted from the nucleus and transported into the cometary coma. Aims. The DIM sensor measures dynamical data such as flux and the directionality of the impacting particles. Mass and speed of the particles can be constrained assuming density and elastic particle properties. Methods. DIM was operated during three mission phases of Philae at the comet: (1) before the separation of Philae from Rosetta at distances of about 9.6 km, 11.8 km, and 25.3 km from the nucleus barycenter. In this mission phase particles released from the nucleus on radial trajectories remained undetectable because of significant obscuration by the structures of Rosetta, and no dust particles were indeed detected; (2) during Philae's descent to its nominal landing site Agilkia, DIM detected one approximately millimeter-sized particle at a distance of 5.0 km from the nucleus' barycenter, corresponding to an altitude of 2.4 km from the surface. This is the closest ever dust detection at a cometary nucleus by a dedicated in situ dust detector; and (3) at Philae's final landing site, Abydos, DIM detected no dust impact which may be due to low cometary activity in the vicinity of Philae or due to shading by obstacles close to Philae, or both. Results. Laboratory calibration experiments showed that the material properties of the detected particle are compatible with a porous particle having a bulk density of approximately 250 kg m −3 . The particle could have been lifted off the comet's surface by sublimating water ice.