All these things has been possible because the Internet (and computers) has some defects, and has not way to avoid them.
1. Bad people try to go into a network that they are not allowed. (break into access control)
2. Bad people try to send too much data to some computers on the Net, and make them down.
3. Bad people try to send computer viruses
4. Bad people try to pretend to be someone else.