The new generation of the wireless body area networks (WBAN) for internet of things (IoT) is emerging in a fast-paced. Today patients can be tested using remote clinical nanosensors. WBAN involves interconnected small sensors for the collection of ongoing medical data and transmitted through the networks for further processing. However, the protection of healthcare data is very important and difficult because of the various active and passive numbers of attacks. Although there exists several literature on data security techniques such as digital signatures, Elliptic curve cryptography, and Advanced Encryption Standards (AES) they contain stumbling blocks for the security methodologies. Thus, in this paper, a novel data protection genetic-based encryption scheme is proposed for higher performance.INDEX TERMS WBAN security, genetic based algorithm, cryptography, healthcare data security, man-inmiddle attack, internet of nano things