java – How to create a simple assembler virus?

they could help me a bit, they commissioned me as a task to create a simple virus in assembler, and because I do not really get much information, as it is illegal to do this, but for practical and basic purposes …
I would use a very simple one for example to deactivate the keyboard or so …