Documentation

How to Secure Office 365: The Ultimate Guide

The threat of cyberattacks is a very real and growing problem. In fact, over half of all businesses were victims of ransomware attacks. If you are not taking precautions with how you use Office 365, your data could be at risk! This guide will teach how to protect yourself from these types of threats by teaching how to secure Office 365 and how to avoid common mistakes that leave your data vulnerable.

Office 365 Security Defaults

Defaults for Microsoft Office 365 security settings are preconfigured security settings that can assist you in protecting your Office 365 data against common dangers. 

How to Enable Security Defaults in Office 365

To enable security defaults in Office 365, follow these steps:

  1. Sign in to Office 365 with administrator credentials.
  2. In the left navigation pane, under Admin Centers, select Security & Compliance. 
  3. Under Threat Management > Policies, choose New Policy.
  4. In the Name box, type a name for your policy. 
  5. Scroll down to Detection & notification > Malware and Threat Management > Office 365 Advanced Data Governance policies list, select the first option (Office 365 Message Encryption).
  6. On the right side of the screen under Action, you should see two options: Enable or Disable. Choose “Enable.” This will ensure that all messages sent from this tenant are encrypted using OME as soon as possible after they’re created. The time it takes before encryption occurs depends on how long it takes email to reach OneDrive for Business where OME is enabled by default in every new message library you create.

Secure Office 365: Phishing Protection

Phishing is one of the most common ways that cybercriminals attempt to steal your data. They send an email that looks like it’s from a trusted source, such as your bank or a colleague and tries to trick you into giving away your password or other sensitive information. One way to protect yourself from phishing attacks is to be suspicious of any emails that ask for personal information and never respond directly to them. Instead, go to the website mentioned in the email by typing the address into your web browser’s address bar, rather than clicking on any links in the email.

Another way to stay safe from phishers is to use two-factor authentication (also known as two-step verification). This adds an extra layer of security to your account by requiring a special code, in addition to your password, each time you login. You can set up two-factor authentication for your Office 365 account by going to.

Additional Recommendations

If you’re ever unsure about the safety of an email or attachment, it’s always best to err on the side of caution and delete it. ransomware is a type of malware that encrypts all the files on your computer until you pay a ransom fee. The most common way ransomware is delivered is through infected attachments or links in phishing emails. To protect yourself from ransomware, be sure to install antivirus software on all of your devices and keep it up-to-date. You should also back up your data regularly so that you can restore it and stay protected if you do get infected with ransomware.

How to Backup A Directory in Linux

There are many ways to backup a directory in Linux, but how do you select one? The majority of people will back up their home directory to an external hard drive. Rsync will be our program, and we’ll use an external USB hard drive as the destination. Let’s get started!

Which directories you must back up

Unfortunately, it’s not at all clear on Linux systems what you need to include in a backup set. And how do you know which directories are worth including? Let’s discuss what needs to be backed up.

  • /home/: This contains all your personal files, documents, music, etc. You want this data included in any backup set. It is the most important directory to back up on a Linux system. If anything bad happens and you don’t have backups of it – well good luck! 
  • /etc/: The main configuration file for your operating system lives here (in Debian systems) or in subdirectories under /etc. Configuration information is key for getting all applications working properly after restoring from an older backup. 
  • /root/: This is the home directory for the root user. This should be included in your backup set if you are backing up your entire system. 
  • /var/: This contains files that change often, such as logs and mailboxes. If you’re just doing a quick ‘snapshot’ of your system, then you can probably omit this directory from the backup set.

Backup the home directory of the Linux system: Instructions

  1. Connect your external USB drive to your Linux system. 
  2. Open a terminal window and type the following command: sudo rsync -avz /home/username/ /media/usb-drive-namehere/backup-directory-namehere/ 
  3. Replace ‘username’ with your actual username, ‘usb-drive-namehere’ with the name of your USB drive, and ‘backup-directory-namehere’ with the desired backup directory on your USB drive. 
  4. Press enter. You will be prompted for your password. Type it in and press enter again.
  5. The rsync program will begin copying files from your home directory to the backup directory on your USB drive. This will take some time, depending on how much data is in your home directory. 
  6. When the process finishes you will receive a message stating how many files were copied and how long it took. 

Restore the home directory

To restore your backup copy later run this command: sudo rsync -avz /media/usb-drive-namehere/backup-directory-namehere/[email protected]:/home/username/. If you are not logged into Linux help then change ‘linuxhelp’ to the name of your server (if different). Replace username with actual username on Linux help. Press enter again. You will be prompted for your password, type it in and press enter again. The rsync program should begin restoring files from your USB drive’s backup directory to your home directory. This process may take some time, depending on how many files need to be restored and the size of your USB drive. 

When it is finished you will see a message stating “files have been successfully restored.” You can now log out of Linux help and reboot your computer. Your home directory will be exactly as it was when you backed it up!