bitcoin cannot be attacked, however, the network and storage location for bitcoin storage and "protected" can be hacked by evil forces. Even though there are guarantees from bitcoin storage companies and currency developers, bitcoin exchanges can and have been hacked. So for that it is very important for you to take certain steps for your own security so that you can avoid any possible losses. There are several security steps, namely
Secure your e-mail account, Secure your social media account, Use unique and strong passwords for all online accounts, and Enable two-factor authentication (two-factor authentication).