In Black and White, the Enigma Berry is only obtainable as part of event distributions, all of which have long expired. Fortunately, there's still a way to get your hands on one.
The DNS Exploit uses fan-hosted servers to access old Mystery Gifts, including the May 2012 Darkrai. This is the only Darkrai event available for Generation V games in the present day. For help setting up the exploit, reference our detailed guide. A Darkrai/Enigma Berry obtained using this method is legitimate and will pass hack checks.