Tapeli wa kofia nyeusi ni tapeli anayevunja usalama wa kompyuta kwa faida yake binafsi au kwa uovu tu. Asili ya neno hilo mara nyingi huhusishwa na nadharia ya utamaduni wa wadukuzi Richard Stallman (ingawa yeye anakanusha kuitunga) kulinganisha wadukuzi wa kinyonyaji na wadukuzi wa kofia nyeupe ambao hufunga kinga kwa kutumia udhaifu katika mifumo ya kompyuta ambayo inahitaji ukarabati. "Black hat (computer security)", Wikipedia (in English), 2021-06-01, retrieved 2021-06-22  "Black hat (computer security)", Wikipedia (in English), 2021-06-01, retrieved 2021-06-22  "Black hat (computer security)", Wikipedia (in English), 2021-06-01, retrieved 2021-06-22  Silic, Mario; Lowry, Paul Benjamin (2019-09-04). "Breaking Bad in Cyberspace: Understanding why and how Black Hat Hackers Manage their Nerves to Commit their Virtual Crimes". Information Systems Frontiers. 23 (2): 329–341. doi:10.1007/s10796-019-09949-3. ISSN 1387-3326. Laskow, Sarah (January 27, 2017). "The Counterintuitive History of Black Hats, White Hats, And Villains". Atlas Obscura. Archived from the original on June 29, 2018.