It's a mistaken position to believe sharing "how to" information somehow mints cybercriminals; however, this is the position YouTube has repeatedly and is increasingly taking with striking innocent content creators sharing information about how security vulnerabilities work and how to test for them.
This type of content is widely available on mainstream online blog sites, in published books, and through established, expensive training outfits like the SANS Institute. YouTube has really missed the mark thinking there are real risks they are mitigating by culling it out from their platform.
This is an editorial decision by YouTube on what they want to groom YouTube's community to be, not a content decision based on sound public policy or realistic threat models.