Assembly is the nearest language to binary (a.k.a. base machine language composed of only 1's and 0's).
You'll need ASM if you do need to create and understand buffer overflows, in reverse engineering etc.
C/C++ are also good languages whose coding is easier than ASM.
But there's no such rule, that "hackerz shall know ASM", but if they do, than that's a positive marker...