At a first glance I would say: Staphylinidae. But the antennae are very strange. I can not see the tarsi but this would be important (number of tarsomeres).
Yes Pierre this was my first intention too, but the strange antennae , now I got an info by a colleague, and so I found a paper (http://zookeys.pensoft.net/articles.php?id=4277) deals with this Aleocharinae genus Doryloxenus (species are myrmecophil and sitting on ants), quite interesting !!.
Yes, very interesting indeed. The highly modified antennae and legs indicate a particular adaptation. Your beetle in a certain sense did remember me an other species, Platypsyllus castori (Leptinidae). The shortened elytrae, antennae and legs are rather typical for such kind of hosts living in the fur of mammals.