<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Cloudy Happy People</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/cloudyhappypeople/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/feed.xml</link>
    <description>Dave’s thoughts on cloud technologies at Microsoft</description>
    <lastBuildDate>Tue, 08 Jan 2019 02:25:31 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Requesting a FINRA/SEC 17a-4 Attestation Letter for Office 365</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/requesting-a-finra-attestation-letter-for-office-365</link>
      <pubDate>Mon, 07 Jan 2019 09:23:42 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=2395</guid>
      <description><![CDATA[This blog is moving! Check out my new site at https://aka.ms/cloudyhappypeople

One of the...]]></description>
      <content:encoded><![CDATA[<h2>This blog is moving! Check out my new site at https://aka.ms/cloudyhappypeople</h2>

One of the strengths of Microsoft’s cloud services is the deep and broad list of technical certifications that the services have achieved. These include various common standards, such as SOC I and II, and SSAE. Additionally, Microsoft meets various country-specific government standards, such as FedRAMP.

But before we go any further, it’s important to make a distinction between a “certification” and an “attestation”, because they sometimes get used interchangeably when referring to Office 365 compliance.

•	Certifications are industry standards, such as ISO and SOC that are audited by a 3rd party. Microsoft is required to operate our datacenters and services according to those audited standards.
•	Attestations, on the other hand, are more like 3rd party guidance, or opinions, related to specific regulations. They are reference documents created by a 3rd party that say, “Yes, the necessary controls exist in Office 365 so that you can configure your tenant to meet a given regulation.” For example, it could be HIPAA for medical and health customers, FERPA for education or FINRA for the financial industry. These attestations often provide implementation guidance, but the important point here is that the responsibility is on the customer to configure the controls in the tenant to meet the regulation. What the attestation does is confirm that the necessary controls exist in Office 365 that will allow the customer to meet that regulation.

The point of these certifications and attestations is not simply to be able to tick a checkbox on an RFP. Rather, these certifications and attestations form a foundation of trust that helps assure customers that their data, identities and privacy is being handled in a responsible way, according to a set of standards defined outside of Microsoft. 

There are numerous resources a customer or partner can go to and get information about specific compliance requirements, but sometimes it can be hard to track down exactly what you’re looking for – simply because there is SO MUCH information and it’s categorized and stored in different locations.

Take for example, the SEC 17a-4 letters of attestation, which are often referred to as the FINRA attestation letters. To be clear, SEC 17a-4 is the regulation, whereas FINRA is actually the agency that enforces the regulation. (Yes, the SEC is also an enforcement agency, but let’s not muddy the waters.) These letters may be required by a customer to confirm that Office 365 meets certain regulations of the Financial Industry Regulatory Agency (FINRA) in the United States. 

Since neither the customer nor the SEC have direct access to the Office 365 cloud environment, Microsoft bridges the gap through these letters of attestation to the SEC on behalf of the requesting customer.

These letters affirm, among other things, that the Office 365 service – and specifically the Immutable Storage for Azure Blobs that are the underpinnings of the Office 365 storage services - can be leveraged by the customer to preserve their data on storage that is non-rewriteable and non-erasable.

The next question is – where can a customer get that letter? Let’s talk for a moment about the various resource locations available for a customer to review to find the information they might require. (You can also skip straight to the end to get the answer about FINRA, but you’ll miss some interesting stuff.)

&nbsp;
<h2>Trust Center</h2>
The Trust Center Resources are located at <a href="https://www.microsoft.com/en-us/trustcenter/resources">https://www.microsoft.com/en-us/trustcenter/resources</a>

Here, you can use the drop-down selections to find articles, blogs, whitepapers, e-books, videos, case studies and other resources related to Microsoft’s compliance to different types of regulatory standards.

For example, in the screenshot below, I’ve narrowed my search down to any type of resource related to the financial industry in North America related to compliance in Office 365. The result is a single document, named <strong>IRS 1075 backgrounder</strong>.

<img width="1024" height="150" class="size-large wp-image-2265 alignleft" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/1_TrustCenter-1024x150.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

That’s probably interesting in a different scenario, but it’s not a FINRA attestation letter, so it won’t help me in this instance.

Let’s dig some more…
<h2>Office 365 Security and Compliance Center</h2>
The next place I might look is the Office 365 Security and Compliance Center. I can get to this location in my Office 365 tenant (whether it’s a paid or a demo tenant) by going to my <strong>Admin</strong> portal, then to <strong>Admin centers</strong>, and then <strong>Security &amp; Compliance</strong>.

Under the <strong>Service assurance</strong> section, I click on <strong>Compliance Reports</strong>.

&nbsp;

<img width="433" height="399" class="alignleft size-full wp-image-2275" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/2_ComplianceReports.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

From here, I have the ability to sort my reports according to the type of reporting I’m interested in, such as FedRAMP (for US federal government customers) and GRC (which simply means Governance, Risk and Compliance) and others.

For your reference, the same documents are available in the Trust Center here: <a href="https://servicetrust.microsoft.com/ViewPage/MSComplianceGuide">https://servicetrust.microsoft.com/ViewPage/MSComplianceGuide</a>

In looking through these documents, there is plenty to see, but nothing that specifically references FINRA.

Let’s look at the next blade – <strong>Trust Documents</strong>.

&nbsp;

<img width="280" height="275" class="alignleft size-full wp-image-2285" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/3_TrustDocuments.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

The default section that opens is a list of <strong>FAQs and Whitepapers</strong>, but the second section on the page is <strong>Risk Management Reports</strong>. This includes results of penetration testing and other security assessments against the cloud services, but again, no attestation letters.

&nbsp;

<img width="725" height="442" class="alignleft size-full wp-image-2295" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/4_PenTest.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

The last section to click on is <strong>Compliance Manager</strong>.

&nbsp;

<img width="275" height="278" class="alignleft size-full wp-image-2405" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/4.5_CompMgr.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri">The Compliance Manager tool can be accessed at any time by going to </span><a href="https://servicetrust.microsoft.com/ComplianceManager">https://servicetrust.microsoft.com/ComplianceManager</a><span style="color: #000000;font-family: Calibri"> and logging in with your Office 365 credentials.</span>

<span style="color: #000000;font-family: Calibri">In Compliance Manager, you can track your organization’s level of compliance against a given regulation, such as GDPR, FedRAMP or HIPAA. I won’t go into a lot of detail about Compliance Manager here, but the basic idea is that you define the service you are interested in evaluating and the certification you’re interested in, as seen in the screenshot below.</span>

&nbsp;

<img width="321" height="508" class="alignleft size-full wp-image-2305" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/5_ComplianceMgr.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri">As an example, let’s select HIPAA.</span>

<span style="color: #000000;font-family: Calibri">What I see now is a gauge that shows how far along my organization is in implementing all the controls related to HIPAA. Some of these controls are managed by Microsoft (such as those related to datacenter security) and others are managed by the customer (such as the decision to encrypt data). </span>

&nbsp;

<img width="520" height="381" class="alignleft size-full wp-image-2315" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/6_HIPAAGauge.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri">First, I see the actual control ID, title and a description of the control, as it is defined in the HIPAA documentation. This allows me to get a quick overview of the regulation itself.</span>

&nbsp;

<img width="709" height="302" class="alignleft size-full wp-image-2325" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/7_HIPAAControl.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri">You can also see information about how you could meet the requirements for this control using Microsoft products. The screenshot below shows how Azure Information Protection and Customer Managed Keys in Office 365 could help you meet the requirement for this HIPAA control.</span>

&nbsp;

<img width="592" height="549" class="alignleft size-full wp-image-2335" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/8_HowToDoIt.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Next, I see a list of related controls, so that, if there are areas of overlap, I don’t necessarily need to spend a lot of time and effort planning how to implement this control. For example, in the screenshot below, if my organization has already configured the controls for <strong>ISO 27018:2014: C.10.1.1</strong>, then I can simply verify that this would also meet the HIPAA control listed in the screenshot above.

&nbsp;

<img width="478" height="241" class="alignleft size-full wp-image-2345" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/9_RelatedControls.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri">I can then use the last section to provide my supporting documentation and the date of my validation testing, along with the test results.</span>

&nbsp;

<img width="517" height="245" class="alignleft size-full wp-image-2355" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/10_ProjectMgmt.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Compliance Manager is a powerful tool for tracking your adherence to certain regulations, but it’s still not a FINRA attestation letter.

&nbsp;
<h2>FINRA Attestation Letter Process</h2>
The actual process for requesting a FINRA attestation letter is not very complicated at all. Go back to your main Office 365<strong> Admin</strong> portal page and open a <strong>New service request</strong> under the <strong>Support</strong> section.

&nbsp;

<img width="317" height="254" class="alignleft size-full wp-image-2365" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/11_SupportTicket.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

You can choose to submit a “<strong>New service request by email</strong>”, ensuring that “FINRA attestation letter” is noted at the beginning of your documentation.

The support engineer who gets the ticket will be directed to pass this along to an escalation team.

Based upon the information exchanged with the customer, the escalation team will engage CELA (Microsoft’s legal group) and they will get the attestation letter generated and executed. The final letter will look somewhat similar to this, but the highlighted areas will have the actual customer name and address.

&nbsp;

<img width="871" height="480" class="alignleft size-full wp-image-2375" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/12_FINRALetter.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Note that this process carries a 10-day SLA.

When the support ticket has been opened the support engineer will provide the information shown below, and then they will work with the customer to collect specific tenant-level information that ensures the accuracy of the prepared document. 

&nbsp;
<em>
Microsoft's position, confirmed by an external review, is that Office 365 provides administrators with configuration capabilities within Exchange Online Archiving to help customers achieve compliance with the data immutability and data storage requirements of SEC Rule 17a-4.  

The Azure external review confirms the ability for customers to achieve compliance with the data immutability and data storage requirements of SEC Rule 17a-4.

Microsoft actively seeks to help our customers achieve compliance with the many and varied regulatory requirements found in domestic and international jurisdictions. That said, it is important to note that while Microsoft will do all we can to assist, Microsoft itself is a not a regulated entity and does not directly comply with the SEC 17a-4 regulation.

Financial services firms are the regulated entities and as such remain responsible for direct compliance with the applicable rules when using Microsoft technologies. Due to the many variances within customer environments, financial services firms themselves need to ensure all appropriate steps have been taken to meet the regulatory requirements, including using Microsoft’s online services appropriately and training employees to do the same. 
Microsoft has published the blog,  Office 365 SEC 17a-4 , which offers customer-ready information along with the capability to download our whitepaper.   

The SEC 17a-4 requires the regulated entity to secure a secondary resource to provide the archived data to the SEC upon request, should the regulated entity not be able or willing to provide the data to the SEC directly.  Microsoft will provide data to the SEC under the terms of the regulation for Office 365 customers who remain actively licensed for the service. Data for customers who exit the service will only be retained per the current data retention policies.  Microsoft will attest to meeting SEC requests for data by providing customers with the required Letter of Undertaking, addressed to the SEC and referencing the regulated entity. This letter is described within the regulation, under section 17a-4(f)(3)(vii).
The SEC 17a-4 also requires the regulated entity to attest to the immutability, quality, formatting and indexing of the archived data. This requirement is referred to as Electronic Storage Medium (ESM) Representation under section 17a-4(f)(2)(i). Microsoft will attest to the ESM capability by providing customers with the required Letter of Attestation, Electronic Storage Media Services, addressed to the SEC and referencing the regulated entity.</em>

&nbsp;

&nbsp;

&nbsp;

Hopefully, this information helps you as you work to meet FINRA compliance requirements in your Office 365 tenant!

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Setting Up a Kali Linux Machine in Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/setting-up-a-kali-linux-machine-in-azure</link>
      <pubDate>Mon, 24 Dec 2018 07:29:04 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=2425</guid>
      <description><![CDATA[This blog will be moving in 2019! Check out my new blog location at...]]></description>
      <content:encoded><![CDATA[<h2><strong>This blog will be moving in 2019! Check out my new blog location at https://aka.ms/cloudyhappypeople</strong></h2>
&nbsp;

<strong>A Quick Overview of Kali</strong>

One of the tools that many security professionals use on a regular basis is the Kali Linux penetration testing platform. This tool is built and maintained by Offensive Security (<a href="https://www.offensive-security.com/">www.offensive-security.com</a>), an organization that also provides extensive training on the platform and a variety of other security and penetration testing topics.

<img width="1024" height="628" class="alignleft wp-image-2435 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/1_KaliDesktop-1024x628.jpg" />

&nbsp;

&nbsp;

The Kali Linux platform is based on Debian GNU/Linux distro and contains hundreds of open source penetration-testing, forensic analysis, and security auditing tools. However, it isn’t exclusively used by traditional “red teams” and “blue teams”. In fact, it can also be used by IT admins to monitor their networks effectively (whether wired or wireless), perform analysis of data, and a variety of other tasks.

It’s important to remember that Kali Linux is NOT a static tool. Rather, you’ll likely have updates to the Kali distro on a daily basis, so make sure you perform updates before use the tool every time. (I’ll show you how in a few minutes)

Kali Linux can run on laptops, desktops or servers. You can download the ISO for Kali from <a href="https://www.kali.org/downloads">https://www.kali.org/downloads</a>, and create a bootable USB drive if you want to. But what we are doing today is running it on Azure, and this is one of the easiest ways to get started.

Let’s take a look.

<strong>
Provisioning Kali on Azure</strong>

The Kali Linux distro is available without cost on Azure, but it might not be obvious where to find it. If you log in to your Azure subscription and try to provision a Kali box, you simply won’t find it in the list of operating systems or images you can deploy.

What you actually need to do is request it from the Azure Marketplace. To do this, go to <a href="https://azuremarketplace.microsoft.com/en-us/marketplace/apps/kali-linux.kali-linux">https://azuremarketplace.microsoft.com/en-us/marketplace/apps/kali-linux.kali-linux</a> . There, you’ll see a page similar to the one shown below. Click on the “Get It Now” button to request the Kali Linux distro.

<img width="1024" height="767" class="alignleft size-large wp-image-2445" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/2_ProvisionKali-1024x767.jpg" />

&nbsp;

&nbsp;

After you request the Kali Linux machine, you’ll be asked which account you use to sign in when you request apps from the Azure Marketplace. Enter the login ID that you use for your Azure subscription.

<img width="1024" height="677" class="alignleft wp-image-2455 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/3_AzureMktplace-1024x677.jpg" />

&nbsp;

&nbsp;

Once you request the machine as described above, you’ll be able to provision the Kali box just like you would any other virtual machine or appliance. There are a couple points that should be highlighted in the description provided when you provision the box.

First, the Installation Defaults section tells us that, by default, the only way to log in to your Kali instance is by using SSH over port 22 and using either a set of SSH keys or a user-provided password. This is because the default configuration for the installation does not include a graphical user interface (GUI). The majority of the tools in Kali work just fine without a GUI, so this is the preferred way to use it, but if you are just getting started, you may want the benefit of a GUI while you figure out how the tools work and how Linux itself is set up. I’ll show you how to install the GUI later in this article. For this article, I’ll be using a username/password to log in, but again, SSH keys are more secure and would be preferred in a production environment.

Additionally, we see that it is recommended that you update the packages on your Kali machine after you deploy it. I’ll walk you through how to do that as well.

<img width="1024" height="922" class="alignleft size-large wp-image-2465" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/4_KaliDefaults-1024x922.jpg" />

&nbsp;

&nbsp;

After you’ve provisioned your Kali Linux machine (using username and password during the initial configuration in the Azure portal), you’ll want to connect to the machine.

To do so, download and install PuTTY, or a similar SSH/telnet tool. PuTTY can be downloaded here: <a href="https://putty.org/">https://putty.org/</a>

When PuTTY is installed, it will require you to enter the IP address of your Kali machine in order to connect. You can get the public IP address of the Kali machine from the Azure portal, as shown below.

<img width="734" height="568" class="alignleft size-full wp-image-2475" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/5_IPAddress.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Next, open your PuTTY client and connect to the IP address and port 22 of your Kali machine.

&nbsp;

&nbsp;

<img width="792" height="774" class="alignleft size-full wp-image-2485" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/6_PuTTY.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

One thing that’s unusual about the install is that the username and password that you defined for the Kali machine when you provisioned it does NOT have root access to the machine. This means you cant make any updates or modify the install with the set of credentials you are logging in with.

Let’s fix that.

As you can see below, I’m logged in to my machine KALI-001 as the user named KALIADMIN. I now need to set a password for the root (administrator) account. To do this, I type:

<em>sudo passwd root</em>

Then I define the password I want to use. That’s all there is to it!

Now I can log in as <strong>root</strong> using the command

<em>su root</em>

&nbsp;

<img width="1024" height="454" class="alignleft size-large wp-image-2495" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/7_SetPassword-1024x454.jpg" />

&nbsp;

&nbsp;

Now that I’m logged in with root permissions, I need to update my Kali machine. To do this, simply type:

<em>apt update &amp;&amp; apt dist-upgrade</em>

Type <em>y</em> to confirm the updates. Depending upon how many updates are available, this could take a while. For example, when I ran this command after provisioning my machine, it took about 20 minutes to get all the updates.

&nbsp;

&nbsp;

<img width="1024" height="215" class="alignleft size-large wp-image-2505" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/8_UpdateKali-1024x215.jpg" />

&nbsp;

&nbsp;

At this point, you have logged in over SSH, set a password for the root account and updated the machine. However, you still are doing everything from the command line. You may want to install GUI. Basically, there are three tasks you have to perform to be able to able to manage the Kali instance the same way you’d manage a Windows server:
<ol>
 	<li>Install a GUI</li>
 	<li>Install RDP</li>
 	<li>Configure networking to allow connection over RDP</li>
</ol>
&nbsp;

<strong>Install a GUI</strong>

Kali comes by default with the GNOME desktop package, but you need to install it.

To do so, use the command below:

<em>apt-get install -f gdm3</em>

&nbsp;

<strong>Install RDP</strong>

Next, you’ll need to install an RDP package and enable the services using the commands below.

<em>apt-get install xrdp</em>

systemctl enable xrdp

echo xfce4-session &gt;~/.xsession

service xrdp restart

&nbsp;

<strong>Configure Networking to Allow Connection over RDP</strong>

Lastly, you’ll need to configure your Azure Network Security Group (NSG) to allow TCP port 3389 inbound (RDP) to your Kali machine. In the Networking section of your machine’s configuration, configure an inbound port rule for TCP 3389. Again, this is a penetration testing tool, so in a production environment, you would likely lock down the source IP addresses that can connect to this machine, but for this demonstration, we are leaving it at Any/Any.

&nbsp;

&nbsp;

<img width="1024" height="187" class="alignleft size-large wp-image-2515" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/9_NSGRules-1024x187.jpg" />

&nbsp;

&nbsp;

Now that you have this set up, you should be able to connect to your Kali box using RDP, just as you would connect to a typical Windows machine. The interface for GNOME will look something like this, but it can be customized.

&nbsp;

<img width="1024" height="716" class="alignleft size-large wp-image-2525" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/12/10_GNUDesktop-1024x716.jpg" />

&nbsp;

&nbsp;

<strong>What Can I Do with It?</strong>

In the past, Microsoft required you to submit an Azure Service Penetration Testing Notification form to let Microsoft know that it was not an actual attack against a tenant. However, as per the documentation noted here, <a href="https://docs.microsoft.com/en-us/azure/security/azure-security-pen-testing">https://docs.microsoft.com/en-us/azure/security/azure-security-pen-testing</a>, this is no longer a requirement.

<em>“As of June 15, 2017, Microsoft no longer requires pre-approval to conduct penetration tests against Azure resources. Customers who wish to formally document upcoming penetration testing engagements against Microsoft Azure are encouraged to fill out the <a href="https://portal.msrc.microsoft.com/en-us/engage/pentest">Azure Service Penetration Testing Notification form</a>. This process is only related to Microsoft Azure, and not applicable to any other Microsoft Cloud Service.”</em>

In other words, there is no strict requirement to notify Microsoft when you perform a penetration test against your Azure resources. This means that you can perform many of the standard penetration tests against your Azure tenant, such as :
<ul>
 	<li style="list-style-type: none">
<ul>
 	<li style="list-style-type: none">
<ul>
 	<li>Tests on your endpoints to uncover the <a href="https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project">Open Web Application Security Project (OWASP) top 10 vulnerabilities</a></li>
 	<li><a href="https://blogs.microsoft.com/cybertrust/2007/09/20/fuzz-testing-at-microsoft-and-the-triage-process/">Fuzz testing</a> of your endpoints</li>
 	<li><a href="https://en.wikipedia.org/wiki/Port_scanner">Port scanning</a> of your endpoints It should be obvious, but just to be clear: DON’T use your Kali machine to attack anybody else’s stuff. You would most definitely find yourself in a legal pickle if you decided to attack resources that didn’t belong to you (or one of your customers) without explicit permission in writing. Please, just don’t run the risk. Practice using the 600+ tools available in the Kali Linux distro and learn how to better secure your environment.</li>
</ul>
</li>
</ul>
</li>
</ul>
However, one type of test that you can’t perform is any kind of <a href="https://en.wikipedia.org/wiki/Denial-of-service_attack">Denial of Service (DoS)</a> attack. This includes initiating a DoS attack itself, or performing related tests that might determine, demonstrate or simulate any type of DoS attack.

&nbsp;

<strong>Thanks, Captain Obvious……</strong>

It should be obvious, but just to be clear: <em>DON’T use your Kali machine to attack anybody else’s stuff</em>.

You would most definitely find yourself in a legal pickle if you decided to attack resources that didn’t belong to you (or one of your customers) without explicit permission in writing. Please, just don’t run the risk.

Practice using the 600+ tools available in the Kali Linux distro and learn how to better secure your environment!]]></content:encoded>
    </item>
    <item>
      <title>Every Question Tells a Story - Mitigating Ransomware Using the Rapid Cyberattack Assessment Tool: Part 3</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-3</link>
      <pubDate>Mon, 10 Sep 2018 02:28:39 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=2135</guid>
      <description><![CDATA[In the previous two posts in this series, I explained how to prepare your environment to run the...]]></description>
      <content:encoded><![CDATA[In the previous two posts in this series, I explained how to prepare your environment to run the Rapid Cyberattack Assessment tool, and I told you the stories behind the questions in the tool.

<a target="_blank" href="https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-1/" rel="noopener">https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-1/</a>

<a href="https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-2/">https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-2/</a>

Let’s finish up with the final steps in running the Rapid Cyberattack Assessment tool and a review of the output.
<h1>Specifying Your Environment</h1>
We’ve now finished all the survey questions in the assessment. Now we need to tell the tool which machines to go out and assess as the technical part of the assessment.

There are three ways to accomplish this:

<strong>Server Name:</strong> You can enter all the names of the machines you want to assess manually in the box, separated by commas, as shown below. This is only practical if you are assessing less than 10 machines. If you’re assessing more than that, I’d recommend that you use one of the other methods or you’ll get <em>really tired</em> of typing.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/17_SpecifyEnvironment.jpg" alt="" width="740" height="546" class="size-full wp-image-1805 aligncenter" />

&nbsp;

<strong>File Import:</strong> Let’s say you want to assess 10 machines from 10 different departments. You could easily do this by putting all the machine names into a standard text file, adding one machine per line.

In the screenshot below, I have a set of machines in the file named INSCOPE.TXT, located in a folder named C:\RCA. This is a good way to run the assessment if the machines are spread across several OU’s in Active Directory, which would make the <strong>LDAP path</strong> method less viable as a way of targeting machines. But again, it could be a lot of typing (unless you do an export from Active Directory – then it’s super easy).

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/18_SpecifyEnvironment.jpg" alt="" width="741" height="543" class="size-full wp-image-1815 aligncenter" />

&nbsp;

<strong>LDAP Path</strong>: If you have a specific OU in Active Directory that you want to target, or if you have less than 500 machines in your entire Active Directory and just want to target all of them, the easiest way to do that would be with the LDAP path method. Simply type the LDAP path to the target OU, or to the root of your Active Directory, as shown in the screenshot below:

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/19_SpecifyEnvironment.jpg" alt="" width="751" height="554" class="size-full wp-image-1825 aligncenter" />
<h3></h3>
<strong>NOTE:</strong>You only define your "in-scope" machines using ONE of the options noted above.

Click <strong>Next </strong>and run the assessment.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/20_RunningAssessment.jpg" alt="" width="733" height="536" class="size-full wp-image-1865 aligncenter" />

&nbsp;

As you see, the assessment goes out and collects data about the machines in the environment, and then it generates a set of reports for you to review.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/21_ViewReports.jpg" alt="" width="738" height="539" class="size-full wp-image-1875 aligncenter" />

&nbsp;

Click on <strong>View Reports</strong> to see the results of the assessment.

Notice that there are four files created. In my screenshot, you’ll also notice that the files don’t have the “official” Office icons – they just look like text files. This is because I don’t have Office installed on the Azure VM that is running the assessment. I can just copy the machines to a machine with Office installed and open them from there. But as you see, there are two Excel spreadsheets, a Word document and a PowerPoint deck. These are all created and populated automatically by the tool.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/22_ReportList.jpg" alt="" width="854" height="344" class="size-full wp-image-1885 aligncenter" />

&nbsp;

Let’s take a look at the tool’s findings.
<h2>Rapid Cyberattack Assessment Affected Nodes spreadsheet</h2>
First, let’s open the <strong>RapidCyberattackAssessmentAffectedNodes.xlsx</strong> spreadsheet.

In this spreadsheet you have several tabs along the bottom. The first tab is named “<strong>Host</strong>”, and it shows the names of the machines it was able to contact during the assessment, their operating system build version, install date and last boot-up time. All pretty standard stuff.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/2_AffectedNodes-HostTab.jpg" alt="" width="2325" height="178" class="size-full wp-image-1895 aligncenter" />

&nbsp;

The second tab is for “<strong>Installed Products</strong>", and this is a comprehensive listing of all the installed software found on the machines in the assessment. This is one way of verifying the question in the survey about whether you are keeping all your apps and middleware up to date. As you can see in my screenshot, there’s some software running on my lab machines that is several versions old, and the spreadsheet tells me which machine that software is running on. This is all stuff that could easily be collected by a network management tool like System Center Config Manager, but not every company has that kind of tool, so we provide this summary.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/2_AffectedNodes-InstalledProducts--1024x380.jpg" alt="" width="1024" height="380" class="wp-image-1905 size-large aligncenter" />

&nbsp;

The third tab is the "<strong>Legacy Computer Summary"</strong>, which tells you how many of the machines in the assessment are running operating systems that are no longer supported by Microsoft. In my case, I had none. The Active Count and the Stale Count columns simply tell you whether the machine is being logged on to regularly or if perhaps it is simply a stale object in Active Directory and can just be deleted.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/3_AffectedNodes-LegacyComputer-1024x201.jpg" alt="" width="1024" height="201" class="wp-image-2145 size-large aligncenter" />

&nbsp;

The "<strong>Legacy Computer Details"</strong> tab would give you more information about those legacy computers and could potentially help you determine what they are being used for.

The "<strong>Domain Computer Summary</strong>" tab is a summary of how many machines on your network are running current operating system versions.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/4_AffectedNodes-DomainComputer.jpg" alt="" width="862" height="247" class="wp-image-2155 size-full aligncenter" />
<h2>Rapid Cyberattack Assessment Key Recommendations document</h2>
Now let’s go to the Rapid Cyberattack Assessment Key Recommendations Word document.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/1_KeyRecommendations-CoverPage-1024x613.jpg" alt="" width="668" height="400" class="aligncenter wp-image-1845" />

&nbsp;

As you can see, this is a nice, professional looking document with an extensive amount of detail that will help you prioritize your next steps. One of the first things we show you is your overall risk scorecard, with your risk broken down into four major categories. In my case, I’ve got some serious issues to work on.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/2_KeyRecommendations-OVerallRisk-1024x392.jpg" alt="" width="600" height="230" class="aligncenter wp-image-2225" />

&nbsp;

But then we start helping you figure out how to approach the problems. We show you which of your issues are most urgent and that require your attention within the next 30 days. Then we show you the mid-term projects (30+ days), and finally Additional Mitigation Projects that may take a more extended period of time, or that don’t have a set completion date (such as ensuring that the security of your partners and vendors meets your security requirements). By giving you this breakdown, a list of tasks that could seem overwhelming (such as what you see in my environment below) is somewhat more manageable.

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/2_KeyRecommendations-30Days1-1024x542.jpg" alt="" width="767" height="406" class="aligncenter wp-image-2175" />

&nbsp;

We then get more granular and give you a listing of the individual issues in the Individual Issue Summary.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/3_KeyRecommendations-IssueLevel-1024x636.jpg" alt="" width="768" height="477" class="aligncenter wp-image-2185" />

You’ll notice that each finding is a hyperlink to another location in the document, which provides you with a status on the issue, a description of the issue, it’s potential impact and (for some of the issues) which specific machines are impacted by the issue.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/4_KeyRecommendations-CredentialsExposed1-1024x210.jpg" alt="" width="768" height="157" class="aligncenter wp-image-2195" /><img src="https://msdnshared.blob.core.windows.net/media/2018/09/4_KeyRecommendations-CredentialsExposed2-1024x640.jpg" alt="" width="768" height="480" class="aligncenter wp-image-2205" />

This is essentially the comprehensive list of all the things that should be addressed on your network.

So how do you track the progress on this?
<h2>Excel Resubmission Report spreadsheet</h2>
That’s the job of the <strong>Excel Resubmission Report.xlsx</strong> file. This file is what you would use to track your progress on resolving the issues that have been identified. In this spreadsheet you have tabs for “Active Issues” (things that require attention), “Resolved Issues (things you’ve already remediated) and “Not Applicable Issues” (things that don’t apply to your environment).

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/1_ExcelResubmissionReport2.jpg" alt="" width="2428" height="561" class="aligncenter wp-image-2235 size-full" />

&nbsp;

This spreadsheet is a good way for a project manager to see at a high level what progress has been made on certain issues and where more manpower or budget may need to be allocated.
<h2>Rapid CyberAttack Assessment Management Presentation PowerPoint deck</h2>
This is the deck – only a few short slides – that provides a high-level executive summary of all the things you identified and how you intend to approach their resolution. This is a very simple deck to prepare and can be used as a project status update deck as well.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/1_PPTKeyRecommendations1-1024x571.jpg" alt="" width="768" height="428" class="aligncenter wp-image-2245" />

&nbsp;
<h1>Every Question Tells a Story</h1>
So that’s the Rapid Cyberattack Assessment tool <em>in its entirety</em>. It isn’t necessarily the right tool for a huge Fortune 100 company to use to perform a security audit; there are much more comprehensive tools available (and they usually are quite expensive, which this tool is NOT).

But for the small-medium sized businesses who simply want to understand their exposure to ransomware and take some practical steps to mitigate that exposure, this tool is a <em><strong>great</strong></em> starting point.]]></content:encoded>
    </item>
    <item>
      <title>Every Question Tells a Story - Mitigating Ransomware Using the Rapid Cyberattack Assessment Tool: Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-2</link>
      <pubDate>Mon, 10 Sep 2018 01:54:13 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1945</guid>
      <description><![CDATA[In my previous post, I explained how to prepare your environment to run the Rapid Cyberattack...]]></description>
      <content:encoded><![CDATA[In my previous post, I explained how to prepare your environment to run the Rapid Cyberattack Assessment tool, and I told you that the questions in the tool would tell you a story.

<a href="https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-1/">https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-1/</a>

So, let’s get started with the storytelling, shall we?
<h2>Survey Mode or Full Assessment?</h2>
Once you start the tool, you are asked if you want to run the tool in Survey Only mode, or in the Full mode.

What’s the difference?

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/2_CompleteAssessment.jpg" alt="" width="734" height="531" class="wp-image-1915 size-full aligncenter" />

&nbsp;
<ul>
 	<li><strong>Survey mode</strong> simply asks a set of questions that relate to your environment and then provide you with some guidance on what you should look at to start protecting against ransomware.</li>
 	<li><strong>Full mode</strong> includes the survey questions, but it also runs a technical assessment against the machines in your environment to identify specific vulnerabilities.</li>
</ul>
Thus, survey mode is much quicker – but provides you with less information about the actual machine sin your environment.

This is the mode we will use for the tool.

The next page just outlines the requirements for running the tool, which we discussed previously.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/3_Prerequisites.jpg" alt="" width="738" height="549" class="wp-image-1975 size-full aligncenter" />

&nbsp;

Now comes the fun part…<em><strong>the questions.</strong></em>

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/4_Questions.jpg" alt="" width="739" height="537" class="wp-image-1955 size-full aligncenter" />

&nbsp;
<h2><strong>The Story-Telling Questions</strong></h2>
The first question relates to patching.

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/5_Question1.jpg" alt="" width="738" height="539" class="size-full wp-image-1995 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>“How long does it take to deploy critical security updates to all (99%+) Windows operating systems?”</em>

<strong>Why do we ask?</strong>

When Petya hit in the summer of 2017, some of the worst-hit organizations were those who had failed to apply one patch to their Windows operating systems. The “Eternal Blue” exploit, which takes advantage of how SMBv1 handles specific types of messages, had been patched <em>three months</em> before Petya made headlines.

<span>(<a href="https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2017/ms17-010">https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2017/ms17-010</a>)</span>

If organizations had applied the patches to their systems within 30 days, it's possible that they could have eliminated their exposure to that exploit.

------------------------------------------------------------

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/6_Question2.jpg" alt="" width="739" height="547" class="size-full wp-image-2005 aligncenter" />

&nbsp;

<strong>Question: </strong>

<em>How long does it take to deploy critical security updates to all (99%+) deployed software (operating systems, applications, middleware, routers/switches/devices, etc.)?</em>

<strong>Why do we ask?</strong>

Petya didn’t specifically leverage a weakness in, for example, a switch’s operating system. But it should go without saying that any vulnerability that exists on ANY piece of networking equipment or application or middleware is a weakness in the overall chain. If, for example, an adversary can compromise a switch and gain administrative control over all the traffic flowing between machines, they would then potentially have the ability to capture passwords and other critical information, which then allows them to make their next move.

---------------------------------------------

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/7_Question3.jpg" alt="" width="736" height="544" class="size-full wp-image-2015 aligncenter" />

&nbsp;

<strong>Q</strong><strong>uestion:</strong>

<em>What strategy do you use to mitigate risk of Windows operating systems that cannot be updated and patched?</em>

<strong>Why do we ask?</strong>

Unfortunately, some of the organizations that were most severely compromised by Petya/NotPetya/WannaCry had been running versions of Windows that have LONG been unsupported. There may genuinely be reasons why they haven’t been updated. Perhaps they are running software from a third-party that has not been tested against newer operating system versions. Maybe the third-party software vendor went out of business and no suitable replacement has been found. Regardless of the reason why the legacy operating systems exist, the key thing that needs to be addressed is “how do we reduce the risk of keeping these systems around?”. If they cannot be upgraded, can they be isolated on a network that isn’t connected to the Internet, and that separates them from the production network? Remember, if one machine can be compromised, it presents a potential threat to every machine on the network.

&nbsp;

----------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/8_Question4.jpg" alt="" width="740" height="544" class="size-full wp-image-2025 aligncenter" />

&nbsp;

Now the questions start to get a bit more complex….

<strong>Question: </strong>

<em>What is your strategy on staying current with technology?</em>

<strong>Why do we ask?</strong>

This question is really asking, “<em>Are you taking advantage of every improvement in security – whether in the cloud, in Microsoft products, on MacOS, the various flavors of Linux, mobile devices, etc.?</em>”

It’s probably safe to say that most of the major software and hardware vendors do their level best to improve the security posture of their products with every new release - whether it’s adding facial recognition, or stronger encryption, or even just addressing vulnerabilities that found their way into previous versions of code. If your user base is running primarily on Windows 7 or <strong><em>*gasp*</em></strong> Windows XP, there are, <em>without any question</em>, vulnerabilities that they are exposed to. Windows XP has, of course, reached its end-of-life, so any exploits identified for Windows XP are no longer being patched by Microsoft. That means these vulnerabilities will exist on your network <em>for as long as those machines exist on your network. </em>

That's a little scary.

The same is true of mobile devices, Mac OS, Linux machines, and so on. Unless they are updated, they will continue to be targeted by the bad guys using common, well-known exploits.

Don’t gamble with your network.

<em>Stay current to the extent that you can do so.</em>

-------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/9_Question5.jpg" alt="" width="733" height="545" class="size-full wp-image-2035 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following is true about your disaster recovery program?</em>

<strong>Why do we ask?</strong>

This is an interesting question. I’ve worked with a couple hundred Microsoft customers over the years, and it’s always interesting to hear exactly how each customer defines their disaster recovery strategy. Most customers have a regular backup process that backs up critical services and applications every day, or every couple hours. Most of those customers probably ship their backup tapes to an offsite tape storage facility for safekeeping in the event of a disaster. Many organizations will say they regularly validate the backups – when what they might mean is “I was able to restore Bob’s Excel file from two weeks ago, so I know the backup tapes are good.” Many organizations also perform some form of highly controlled DR testing yearly or quarterly.

But when you think about what Petya did, <strong>are those measures adequate</strong>? Imagine <em>every one of your machines completely inoperable</em>. You can recall all the backup tapes you’ve ever created, but your BACKUP SERVER is encrypted by ransomware. Now what? And even if it wasn’t, you can’t authenticate to anything because your domain controllers are encrypted. You can’t even perform name resolution because your DNS servers are encrypted. You could try to send an email from Office 365, but if you have ADFS set up, the authentication for Office 365 is happening on-premises…. against the domain controllers….<em>which are encrypted by ransomware</em>. This is the situation that some organizations faced.

Very few customers who were hit by Petya were prepared for a scenario where EVERYTHING was inoperable, all at the same time. Many were relegated to communicating via text message and WhatsApp because every other communication channel was inaccessible.

------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/10_Question61.jpg" alt="" width="739" height="535" class="size-full wp-image-1965 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following measures have you implemented to mitigate against credential theft attacks?</em>

<strong>Why do we ask?</strong>

Here’s the sad truth about Petya. There were organizations that had 97% (or more) of their workstations patched against the Eternal Blue exploit that we talked about earlier. <em>But Petya didn’t just use one attack vector.</em> Even if only <em>one</em> of the machines on a network of 5,000 machines was unpatched – that was enough of a wedge for Petya to gain a foothold. The next thing it did was attempt to laterally traverse from machine to machine using the local administrator credentials it was able to harvest from the unpatched machine. It would then attempt to use those credentials to connect to all the other machines on its subnet. So even if those machines were patched, <em>if the administrator passwords were the same on those machines</em>, those machines were toast.

Now think about that. How many organizations use a single administrator account and password on every desktop/laptop on the network? Based on what I’ve seen – it’s probably a sizable number. So even if those IT admins are very conscientious about patching, if they use the same local administrator password on every machine, a compromise of one machine is effectively a compromise of ALL the machines.

But how do you manage different passwords on thousands of different machines on a network?

We’ll discuss this quandary in a moment.

------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/11_Question7.jpg" alt="" width="742" height="533" class="size-full wp-image-1745 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following measures have you implemented to protect privileged accounts and credentials?</em>

<strong>Why do we ask?</strong>

It should be obvious that protecting your high-value credentials is important, but let’s talk about the measures you can choose from in the list:
<ol>
 	<li><strong>Create separate accounts for privileged activities (vs. standard accounts for email/browsing, etc.):</strong> Many organizations have learned this lesson and are good about creating separate sets of credentials for administrative activities and a lower-privileged account for everyday IT worker stuff like checking email, creating documents and surfing the web.</li>
 	<li><strong>Enforce multi-factor authentication on all privileged accounts:</strong> I’m happy to say I’m seeing many more organizations using multifactor authentication for highly-privileged accounts, whether it’s a token, or a phone-based tool like Microsoft Authenticator, or whatever. This is great to see, and I encourage every organization to start looking into MFA. In fact, Office 365 and Azure have MFA capabilities built right in – you just need to turn them on.</li>
 	<li><strong>All privileged users are prevented from using email and browsing the internet:</strong> The key word here is <strong><em></em></strong> I would venture to say that most organizations <em>advise</em> their admins not to use their admin accounts for browsing the web or checking email. But what if you are fixing a problem with a server and Microsoft has a hotfix that you need to download. Can’t you just this once…..? The answer is “no”. <strong> </strong>Admin accounts should be prevented from browsing the internet.<strong> <em>Period.</em> </strong>Nothing good can come of browsing the wild and wooly internet with an admin account. It’s like walking in a seedy part of the city at night with $100 bills hanging out of your pocket.</li>
 	<li><strong>Restrict Tier 0 privileged accounts to only logon on Tier 0 servers and trusted workstations (such as PAWs): </strong>This is one of the most critical parts of securing administrative access. A core principle for securing administrative access is understanding that if admin A is logged into Workstation A, and he then makes an RDP connection to Server B, then the workstation is a “security dependency” of the server. Put simply, the <strong><em>security of Server B depends upon the security of Workstation A</em></strong>.</li>
</ol>
<strong> <img src="https://msdnshared.blob.core.windows.net/media/2018/09/SecurityDependency2-1024x296.jpg" alt="" width="1024" height="296" class="wp-image-2125 size-large aligncenter" /></strong>

&nbsp;

If administrative credentials can be harvested from Workstation A due to lax security controls (for example, using pass-the-hash or pass-the-ticket techniques) then the security of Server B is jeopardized. Therefore, controlling privileged access requires that Workstation A be at the same security level as <em>the machines it is administering</em>. Microsoft’s Privileged Access Workstation (PAWs) guidance can help you understand how to accomplish this.

Microsoft IT enforces the use of Privileged Access Workstations extensively to manage our own privileged assets.

Take the time to read more about Privileged Access Workstations here: <span><a href="https://aka.ms/cyberpaw">https://aka.ms/cyberpaw</a></span>

-------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/12_Question8.jpg" alt="" width="745" height="539" class="size-full wp-image-1755 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following risk mitigation measures have you implemented to protect Tier 0 assets (Domain Controllers, Domain Administrators) in your environment?</em>

<strong>Why do we ask?</strong>

The concept of “standing administrative privilege” is one that carries a significant element of risk today. It’s a much better practice to leverage “Just In Time” privileges. This means that the administrator requests, and is granted, the access they need <strong><em>AT THE TIME THEY NEED IT</em></strong>. When the task they are performing is complete, the privilege is revoked. When they need the privilege again, they need to request the access again. This is also good for auditing purposes.

A corollary to this idea is “Just Enough Admin” access. In this scenario, an admin is given <em><strong>THE LEVEL OF PERMISSIONS THAT THEY NEED, AND NO MORE</strong></em>. In other words, if you need to perform DNS management tasks on a Windows server, do you NEED Domain Administrator credentials? No, there is a DNS Administrator RBAC group that can be leveraged to grant someone the needed level of permissions.

Combine “Just Enough Admin” with “Just-In-Time” access, and you significantly reduce the chance of administrative credentials being exposed on your network.

More info here:

<span><a href="https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/implementing-least-privilege-administrative-models">https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/implementing-least-privilege-administrative-models</a></span>

---------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/13_Question9.jpg" alt="" width="749" height="541" class="size-full wp-image-1765 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following is true with regards to your partners, vendors and outsources?</em>

<strong>Why do we ask?</strong>

This is related to one of the more fascinating aspects of the Petya attack.

MeDoc is a company based in Ukraine that makes financial accounting software used by many business and organizations in Ukraine. The Petya attack began when a threat actor compromised the MeDoc application and inserted the Petya ransomware payload into one of the update packages. When the MeDoc customers received their next update, they also received the Petya ransomware. From there, Petya started looking for machines that were vulnerable to the Eternal Blue exploit. Once it found a vulnerable machine, it began attempting the lateral traversal attacks using local administrator privileges that we talked about earlier.

<em>You see how the whole picture is starting to come together? Every question tells a story!</em>

The point behind this question is this: in today’s world, it isn’t enough to simply consider your own security controls and processes. You also must consider the security practices of the vendors and partners you’re doing business with and understand how THEY react to attacks or compromises, because their threats could very well be your threats someday.

-----------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/14_Question10.jpg" alt="" width="743" height="546" class="size-full wp-image-1775 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which measures do you have deployed to protect your environment from malware?</em>

<strong>Why do we ask?</strong>

Any IT admin worth their paycheck has for years been fighting the good fight against things like malware and spam.

But there’s a little more to the question than simply asking if you have an anti-spam and anti-malware component to your network management strategy. The question is also asking “how well does your anti-malware solution protect against the more sophisticated attacks?”

Consider this: from the time that <em>no machines were infected by Petya</em> to the time that <em>tens of thousands of machines were infected by Petya</em> was only about 3 ½ HOURS. That is simply not enough time for an antivirus vendor to reverse engineer the malware, develop a signature, and get it pushed down to their customers. The only real way an antimalware solution can be effective at that scale is if it gets telemetry from millions of endpoints, can detect anomalies using machine learning within SECONDS and take action to block across the world.

For an account of how Windows Defender did <strong><u>exactly that</u></strong> against the DoFoil crypto mining malware, read this story:

<span><a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/03/07/behavior-monitoring-combined-with-machine-learning-spoils-a-massive-dofoil-coin-mining-campaign/">https://cloudblogs.microsoft.com/microsoftsecure/2018/03/07/behavior-monitoring-combined-with-machine-learning-spoils-a-massive-dofoil-coin-mining-campaign/</a></span>

---------------------------------------------------------

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/15_Question11.jpg" alt="" width="744" height="551" class="size-full wp-image-1785 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>Which of the following legacy protocols have you disabled support for in the enterprise?</em>

<strong>Why do we ask?</strong>

As mentioned earlier in this article, the Petya attack exploited a vulnerability in the SMB V1 protocol that was nicknamed Eternal Blue. SMB (also known as CIFS) is a protocol designed to allow shared access to files, printers and other types of communication between machines on a Windows network.

However, SMB v1, as well as LanMan and NTLM v1 authentication have vulnerabilities that make them potential security risks.

Remember, any protocol that isn’t being used should be disabled or removed. If a protocol is still being used and cannot be removed, at the very least, you need to ensure it is patched when needed.

Learn how to detect use of SMB and remove it from your Windows network here:

<span><a href="https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and">https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and</a></span>

--------------------------------------------------------

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/09/16_Question12.jpg" alt="" width="748" height="547" class="size-full wp-image-1795 aligncenter" />

&nbsp;

<strong>Question:</strong>

<em>How do you manage risk from excessive permissions to unstructured data (files on file shares, SharePoint, etc..)?</em>

<strong>Why do we ask?</strong>

Indeed, why does having knowledge of the permissions on a file share have anything to do with a ransomware attack? Again, there’s a key word here: <strong><u>excessive</u></strong> permissions.

For example, one very common mistake is to assign permissions to the “Everyone” group on a file share. The problem, as you no doubt are aware, is that the Everyone group does not simply mean “everyone in my company”. For that purpose, the “Authenticated Users” group is what you are likely thinking of, since that includes anyone who has logged in <em>with a username and password</em>. However, the Everyone group includes Authenticated Users – but it also includes any user in non-password protected groups such as Guest or Local Service. That’s a MUCH broader group of user accounts, and its possible that some of those accounts are being exploited by people who may be trying to do bad things to your network.

The more people or services there are that have permissions on your network, the greater the chances that one of them will inadvertently (or intentionally) do something bad. It’s all about reducing your risk.

Therefore, a best practice is to perform an audit of your file shares and remove any excessive permissions. This is a good practice to perform anyway, since users change roles and may have permissions to things that they no longer need (such as if an HR person moves into a Marketing role).

---------------

&nbsp;

Well, that's a lot of questions, huh?

In my final post, I'll show you the last couple steps in using the tool and then walk through the findings.

<a href="https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-3/">https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-3/</a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Every Question Tells a Story - Mitigating Ransomware Using the Rapid Cyberattack Assessment Tool: Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-1</link>
      <pubDate>Mon, 10 Sep 2018 00:53:38 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1935</guid>
      <description><![CDATA[They say that a picture is worth 1,000 words.

But in some cases, the questions that you ask can...]]></description>
      <content:encoded><![CDATA[They say that a picture is worth 1,000 words.

But in some cases, the <em>questions that you ask</em> can also help tell a very interesting story.

Let me explain.

All of us are familiar with the devastating effects of ransomware that we saw last year in the WannaCry, Petya, NotPetya, Locky and SamSam ransomware attacks. We read the stories of the massive financial impact these attacks had on their victims, and we can only imagine the stress that the individuals in the IT departments of the impacted organizations went through trying to recover.

You may know that Microsoft has created a tool called the Rapid Cyberattack Assessment. The intent of the tool is to help an organization understand the potential vulnerabilities and exposures they have to ransomware attacks so that they can take steps to keep from being the next victim.

But like I said - <strong><em>every question tells a story</em></strong> - and in this tool there are many questions that an IT admin needs to ask himself or herself, and there’s a story behind each of these questions that helps make the tool’s value evident.

Let's take a look at the tool and as we go through the tool I'll try to give you the story behind each question.
<h1>Preparing the Environment</h1>
First, let’s download the tool itself.

It’s a free download from Microsoft, located here:

<span><a href="https://www.microsoft.com/en-us/download/details.aspx?id=56034">https://www.microsoft.com/en-us/download/details.aspx?id=56034</a></span>

It’s important to download both the executable (RCA.exe) and the requirements document. The requirements document is also important, because if you don’t set up the tool correctly as well as the target machines, you likely won’t get some information that’s very valuable.
<h2>Conditions</h2>
First of all, you need to be aware that the Rapid Cyberattack Assessment tool runs in an Active Directory environment, and against Windows machines <strong><em>only</em></strong>. Any machines that you target with the tool <u>must</u> be part of an Active Directory domain. Additionally, the tool is limited in scope to 500 machines.

What should you do if your environment is larger than that?

There are really two simple options:
<ol>
 	<li><strong>Assess your entire environment in 500 machine chunks</strong>. Run the tool against a specific OU or group of OU’s that total no more than 500 machines. You can also just create lists (maybe exported from a spreadsheet) and use that as input for the tool. This method will definitely take a little bit of time and it won’t give you a single, comprehensive report view, either.</li>
 	<li><strong>Take sample machines from a number of different departments and run the tool against them</strong>. With this method, you would take (as an example) 50 machines from HR, 50 machines from Finance, 50 machines from Sales, etc…and run the tool against them. It doesn’t capture data on every single machine in the environment, but the tool is designed to give you an idea of where your exposures lie, and that would most likely be revealed in even a random sampling of machines. You can reasonably assume that any vulnerabilities identified in that subset of machines likely exists elsewhere in the environment as well.</li>
</ol>
Personally, if I was running the tool in my own environment and we had more than 500 machines, I would choose the second option. It gives me a rough idea of the issues I have to resolve and helps me prioritize them. If my environment has more than 500 machines, I’m probably managing them with some sort of automation tool anyway (like System Center Configuration Manager), so I don’t have to know <em>exactly</em> how each machine is configured. I’ll just define what the standard should be and push out that configuration.
<h2>Hardware and Software</h2>
Installing the Rapid Cyberattack Assessment tool itself isn’t hard at all. You simply run the RCA.exe executable. There aren’t any options or choices to make other than agreeing to the license terms. Likewise, the machine you run the tool from doesn’t have a lot of requirements. It should be:
<ol>
 	<li>Server-class or high-end workstation running Windows 7/8/10 or Windows Server 2008 R2/2012/2012 R2/2016.</li>
 	<li>It’s preferable to have a machine with 16 GB+ of RAM, a 2 GHz+ processor and at least 5 GB disk space.</li>
 	<li>The machine should be joined to the Active Directory domain you will be assessing.</li>
 	<li>Microsoft .NET Framework 4.0 must be installed</li>
 	<li>Optionally, you may want Word, PowerPoint and Excel installed to view the reports. But you can also just export the reports and view them on a machine that has Office installed already.</li>
</ol>
<h2>Account Rights</h2>
The service account you use to run the tool needs to be a domain user who has <strong>local administrator</strong> permissions to all the machines within the scope of the assessment. The account should also have read access to the Active Directory forest that the in-scope computers are joined to.
<h2>Network Access</h2>
The machines you are trying to assess obviously must be reachable by the assessing machine. Therefore, there must be unrestricted access from the tools machine to any of the in-scope domain joined machines. By “unrestricted access” we mean you should make sure there are no firewall rules or router ACLs that would block access to any of the following protocols and services:
<ul>
 	<li>Remote Registry</li>
 	<li>Windows Management Instrumentation (WMI)</li>
 	<li>Default admin shares (C$, D$, IPC$)</li>
</ul>
If you are using Windows Advanced Firewall on the in-scope machines, you may need to adjust the firewall to allow the assessment tool to run.

You can configure this using a Group Policy targeted at the in-scope machines. To do this, follow these steps.
<ol>
 	<li>Use an existing Group Policy object or create a new one using the Group Policy Management Tool.</li>
 	<li>Expand the <em>Computer Configuration/Policies/Windows Settings/Security Settings/Windows Firewall with Advanced Security/Windows Firewall with Advanced Security/Inbound Rules</em></li>
 	<li>Check the <em>Predefined:</em>radio button and select <em>Windows Management Instrumentation</em> from the drop-down list. Click <em></em></li>
 	<li>Check the WMI rules for the Domain Profile. Click <em>Next</em></li>
 	<li>Check the <em>Allow the Connection</em>radio button and click <em>Finish</em> to exit and save the new rule.</li>
 	<li>Make sure the Group Policy Object is applied to the relevant computers using the Group Policy Management Tool</li>
</ol>
You would then do the same thing for: <em>Allow file and Print sharing exceptions</em>

For the Remote Registry Service, you want to set the service to Automatic startup for the duration of the assessment.
<ol>
 	<li>Open the Group Policy editor and the GPO you want to edit.</li>
 	<li>Expand <em>Computer Configuration &gt; Policies &gt; Windows Settings &gt; Security Settings &gt; System Services</em></li>
 	<li>Find the <strong>Remote Registry</strong> item and change the Service startup mode to <em>Automatic</em></li>
 	<li>Reboot the clients to apply the policy</li>
</ol>
That should be enough to get you started.

In the next post, I’ll walk you through the survey questions in the Rapid Cyberattack Assessment tool.

<a href="https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-2/">https://blogs.technet.microsoft.com/cloudyhappypeople/2018/09/10/every-question-tells-a-story-mitigating-ransomware-using-the-rapid-cyberattack-assessment-tool-part-2/</a>

I think you’ll find the stories revealed by the questions to be quite interesting.]]></content:encoded>
    </item>
    <item>
      <title>Are You Following Teams Tuesdays?</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/are-you-following-teams-tuesdays</link>
      <pubDate>Tue, 14 Aug 2018 20:56:23 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1705</guid>
      <description><![CDATA[Microsoft Teams has proven to be one of the biggest product releases of FY18 for Microsoft, with...]]></description>
      <content:encoded><![CDATA[Microsoft Teams has proven to be one of the biggest product releases of FY18 for Microsoft, with over 200,000 customers rolling it out within just a year!

If your organization hasn’t yet rolled out Teams, or if you are in the middle of planning your deployment, be sure to check out the Microsoft Teams webinar series, being delivered by the One Commercial Partner Modern Workplace team of architects.

This is what’s on the agenda for the Teams Tuesday webinars for the next few months!

<em> </em>

<em>August 21, 2018</em>

<strong>Using Automation to Provision Teams, Groups and Modern Communication Sites</strong>

In this webinar, we'll provide you with guidance on how you can leverage automation to standardize, secure and simplify your Microsoft Teams rollout.

<em> </em>

<em>August 28, 2018</em>

<strong>Understanding the Microsoft Teams Free Version</strong>

The new free version of Microsoft Teams raises a lot of questions for partners and customers alike. In this session, we'll walk you through the limitations and use case scenarios for the freemium version of Teams and help you articulate the value of the full version.

&nbsp;

<em>September 4, 2018</em>

<strong>Quality Management for Microsoft Teams</strong>

How do you prepare you network for the increased audio and video traffic that comes along with a Microsoft Teams deployment? And then once you have it deployed, how do you validate the quality on an ongoing basis? Join Andy McLaughlin in this session to learn the tricks of the trade!

<em> </em>

<em>September 18, 2018</em>

<strong>Upgrade and Interop with SfB</strong>

There is a lot of confusion around the upgrade and interop story with Skype for Business Online and Microsoft Teams? How will it work? What are the caveats? What will partners need to do to transition customers? JoAnn Boxrud will help clear up the cobwebs in this webinar.

&nbsp;

<em>October 2, 2018</em>

<strong>Managing Microsoft Teams Effectively</strong>

One of the great things about Microsoft Teams is that, once it takes hold in an environment, it spreads virally. As a partner, you may be asked to help manage this growth in a way that allows an organization to maintain control over data leakage, limit the use of guest access, standardize the way Teams are deployed, and so on. Robert Gates will provide tips form the pros in this webcast.

<em> </em>

<em>October 9, 2018</em>

<strong>Planning for User adoption and Customer Success with Microsoft Teams</strong>

There’s much to consider when deploying Microsoft Teams. Join us for a discussion about what you can do today to help customer Teams deployments go smoothly. We provide the latest in guidance and outline the building blocks required to help make all of your Microsoft Teams customer deployments a success.

<em> </em>

<em>October 16, 2018</em>

<strong>Deep Dive into Direct Routing</strong>

Direct Routing is one of the new capabilities in Teams to support Voice. What implementation options exist for Direct Routing? How do you configure Direct Routing? What are the requirements? Find out in this session.

&nbsp;

<em>October 23, 2018</em>

<strong>Understanding Guest Access in Microsoft Teams</strong>

Guest Access in Microsoft Teams is one of the most important features in enabling collaboration between an organization and its partners, vendors and affiliates. What needs to be done to enable Guest Access? What are the limitations on what a guest can do? How do i audit guest access? These are some of the questions that will be covered in this webinar with Kevin Martins.

&nbsp;

Look interesting? <em><strong>Then sign up here!</strong></em>

<a href="https://msuspartner.eventbuilder.com/?landingpageid=dst1ny">https://msuspartner.eventbuilder.com/?landingpageid=dst1ny</a>

There are also lots of recorded webcasts that you can go back and review at your leisure.

<strong>Hope to see you on the next Teams Tuesday!</strong>

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Leverage the Microsoft Graph with Azure Active Directory Identity Protection to Identify Network Threats</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/leverage-the-microsoft-graph-with-azure-active-directory-identity-protection-to-identify-network-threats</link>
      <pubDate>Wed, 11 Apr 2018 19:23:38 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1475</guid>
      <description><![CDATA[What is Azure Active Directory Identity Protection?
Azure Active Directory Identity Protection is a...]]></description>
      <content:encoded><![CDATA[<h2>What is Azure Active Directory Identity Protection?</h2>
Azure Active Directory Identity Protection is a feature built into the Azure AD Premium P2 license. The P2 SKU is important if you want to configure SharePoint Limited Access, CAS Proxy, or perform actions related to identity protection or control of privileged identities. The Azure AD Premium P2 (AADP P2) licensing is included with the Enterprise Mobility &amp; Security E5 license, but can be added on to other licensing, such as the EM&amp;S E3 license.

What’s great about it is that it also allows you to use the Microsoft Graph to query your Azure AD tenant and identify potential threats to your organization and even configure an automated response to them. This post will show you how to find these sorts of events in your organization, with a very simple script.

It only takes about 5 minutes to set up, so let’s get started!
<h2>What Do I Need to Do This?</h2>
For the steps below, I’m using a trial tenant with Office 365 E5 and EM&amp;S E5 licensing (which as mentioned above, includes the Azure AD Premium P2 licensing). This means I don’t have a fully-functioning Azure tenant, where I can set up virtual machines, web apps, containers and so on – but I have enough to do the steps below.

First, I log in to my Office 365 tenant and go to the Admin Centers and click on my <strong>Azure Active Directory</strong> admin center. I can, of course, just go to <a href="https://portal.azure.com/">https://portal.azure.com</a> and log in there, but this just helps illustrate the connection between the Office 365 tenant and Azure AD.

<img width="174" height="300" class="wp-image-1485 size-medium alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_1-Copy-174x300.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Click on the <strong>Azure Active Directory</strong> icon and see all the properties of the Azure Active Directory instance that underpins my Office 365 and EM&amp;S tenant. </span>

<img width="242" height="300" class="size-medium wp-image-1495 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_1.5-242x300.jpg" />

&nbsp;

I click on <strong>App registrations</strong>, as shown below:

&nbsp;

<img width="200" height="300" class="size-medium wp-image-1515 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_2-200x300.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Click on <strong>New application registration</strong></span>

<img width="480" height="150" class="wp-image-1525 alignleft" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_3.jpg" />

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now I fill in the properties for the new application registration.

The values below will work as shown.

&nbsp;

<img width="400" height="334" class="wp-image-1535 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_4-300x251.jpg" />

Click <strong>Create</strong> when finished.

Click on the <strong>Settings</strong> gear as shown below:

&nbsp;

<img width="500" height="200" class="wp-image-1545 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_5-300x120.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">One of the settings is <strong>Required permissions</strong> . </span>

<span style="color: #000000;font-family: Calibri">Click on the arrow to expand this property.</span>

<img width="450" height="188" class="wp-image-1555 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_6-300x125.jpg" />

<span style="color: #000000;font-family: Calibri">Next, click on <strong>Add</strong> to set up permissions for connecting to the Graph API.</span>

<img width="300" height="117" class="size-medium wp-image-1675 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_6.5-300x117.jpg" />

<span style="color: #000000;font-family: Calibri">You have the option of selecting which API you want to grant access to. </span>

<span style="color: #000000;font-family: Calibri">Click on the <strong>Select an API</strong> arrow.</span>

<img width="300" height="125" class="size-medium wp-image-1685 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_6.6-300x125.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">You’ll now see a bunch of API’s that you can connect to. </span>

<span style="color: #000000;font-family: Calibri">For our purposes, we’ll choose the <strong>Microsoft Graph</strong>, which contains security event information. </span>

<img width="400" height="159" class="wp-image-1565 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_7-300x119.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Click <strong>Select</strong> at the bottom of that pane.</span>

<span style="color: #000000;font-family: Calibri">Now click on <strong>Select permissions</strong>. </span>

<img width="600" height="215" class="wp-image-1575 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_8-300x108.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">In the <strong>Enable access</strong> page, scroll down till you see the <strong>Read all identity risk event information</strong> line. </span>

<span style="color: #000000;font-family: Calibri">Click the checkbox next to that line and then click <strong>Done.</strong></span>

<span style="color: #000000;font-family: Calibri">You should see the <strong>Windows Graph</strong> in your <strong>Required permissions</strong> page. </span>

<span style="color: #000000;font-family: Calibri">Click on <strong>Grant permissions</strong> to apply the permissions you just selected.</span>

<img width="300" height="244" class="size-medium wp-image-1585 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_9-300x244.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">When you click on <strong>Grant permissions</strong>, you’ll be asked for confirmation, so click <strong>Yes</strong> if you agree.</span>

<img width="600" height="229" class="wp-image-1595 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_10-300x114.jpg" />

<span style="color: #000000;font-family: Calibri"> </span>

<span style="color: #000000;font-family: Calibri">Back in the <strong>Settings</strong> page of your Application, click on <strong>Keys.</strong></span>

<img width="420" height="165" class="wp-image-1605 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_11-300x118.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Configure an access key as shown below and click<strong> Save</strong>.</span>

<img width="520" height="255" class="wp-image-1615 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_12-300x147.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">You should see the access key value in the field below. </span>

<span><em>Copy this key and save it somewher</em><em>e.</em> You’ll use it in the script as the <strong>$ClientSecret</strong> variable.</span>

<span style="color: #000000;font-family: Calibri"><img width="600" height="143" class="wp-image-1625 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_13-300x72.jpg" /></span>

&nbsp;

<span style="color: #000000;font-family: Calibri">Back on the <strong>Properties</strong> of the application itself, you will also see the <strong>Application ID value</strong>. </span>

<span><em>Copy this value somewhere as well</em>. This will be used in the script as the <strong>$ClientID</strong> variable</span>.

<img width="550" height="211" class="wp-image-1635 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_14-300x115.jpg" />
<h2></h2>
<h2><span style="color: #000000;font-family: Calibri">Use a PowerShell script to connect to Microsoft Graph and Look for Identity Risk Events</span></h2>
<span style="color: #000000;font-family: Calibri">The script below can be used to query the Microsoft Graph for identity risk events. You’ll need to fill in the following values:</span>
<ul>
 	<li><span style="color: #000000;font-family: Calibri">$ClientID</span></li>
 	<li><span style="color: #000000;font-family: Calibri">$ClientSecret</span></li>
 	<li><span style="color: #000000;font-family: Calibri">$tenantdomain</span></li>
</ul>
<span style="color: #000000;font-family: Calibri"><span style="color: #000000;font-family: Calibri">For my script, it looked like the screen capture below.</span></span>

<img width="640" height="75" class="wp-image-1645 alignleft" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_15.jpg" />

&nbsp;

&nbsp;

&nbsp;

<span style="color: #000000;font-family: Calibri"><span style="color: #000000;font-family: Calibri">I deleted the application after running the script so these credentials aren’t valid anymore.</span></span>

<span style="color: #000000;font-family: Calibri">Shown below is the sample script for querying the Microsoft Graph to capture identity risk events.</span>
<pre>$ClientID       = "Application ID value from the Registered App properties page "       # Should be a ~36 hex character string; insert your info here
$ClientSecret   = "Password value from the Keys page" # Should be a ~44 character string; insert your info here
$tenantdomain   = "Tenant name"   # For example, contoso.onmicrosoft.com

$loginURL       = "https://login.microsoft.com"
$resource       = "https://graph.microsoft.com"
$body      = @{grant_type="client_credentials";resource=$resource;client_id=$ClientID;client_secret=$ClientSecret}
$oauth     = Invoke-RestMethod -Method Post -Uri $loginURL/$tenantdomain/oauth2/token?api-version=1.0 -Body $body
Write-Output $oauth
if ($oauth.access_token -ne $null) {
   $headerParams = @{'Authorization'="$($oauth.token_type) $($oauth.access_token)"}
   $url = "https://graph.microsoft.com/beta/identityRiskEvents"
   Write-Output $url
   $myReport = (Invoke-WebRequest -UseBasicParsing -Headers $headerParams -Uri $url)
   foreach ($event in ($myReport.Content | ConvertFrom-Json).value) {
       Write-Output $event
   }
} else {
   Write-Host "ERROR: No Access Token"
}</pre>
&nbsp;

<span style="color: #000000;font-family: Calibri">Once you fill in the appropriate values for your environment, you can run the script in PowerShell and it will find any identity risk events associated with your tenant. </span>
<h2><span style="color: #000000;font-family: Calibri">What Information Does It Provide?</span></h2>
<span style="color: #000000;font-family: Calibri">In my tenant, it found one identity risk event, as shown below:</span>
<pre><img width="1024" height="226" class="wp-image-1655 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/AzureAD_16-1024x226.jpg" />

</pre>
What this tells me is that on February 26, 2018 there was an AnonymousIPRiskEvent that took place using Allan DeYoung’s user account.

It looks like someone logged in with his credentials using a TOR browser, and it was classified as a medium risk event.

Additionally, I am able to see the location where this event took place and the IP address associated with it.

From there, I am able to start tracking down what happened and see if it poses any risk to my network or Allan’s account.

What other types of events would we be able to identify? Microsoft Graph contains identify events such as:
<ul>
 	<li>Impossible travel to atypical locations (Did you log in from New York and then 5 minutes later try to log in from an IP address in Indonesia?)</li>
 	<li>Sign-in events from unfamiliar locations (Is the location you are signing in from outside of your typical login patterns?)</li>
 	<li>Sign-ins from an infected device (Is the device where the login was attempted communicating with a botnet server?)</li>
 	<li>Sign-ins from IP addresses with suspicious activity (Maybe an IP address where a number of login attempts are taking place for lots of different accounts, which could indicate a brute force password attack)</li>
</ul>
We can categorize the risk events because the Microsoft Graph maintains information related to billions of login events each month. That means we can detect anomalies and determine whether they are just a user who forgot their password three times, or some sort of automated attack against that user’s account.

This is a very simple example, but you could configure something like this to run periodically and dump the events to a SIEM, allowing you to collect all your security related events in a single place and have them reviewed by your security team.

There are LOTS of other event types you can query on using the Microsoft Graph API (and the other application-specific API’s). I encourage anyone who manages the security for a network to take advantage of these API’s and create automated scripts that can capture risk events on your network.
<h3>Have fun with Microsoft Graph!</h3>]]></content:encoded>
    </item>
    <item>
      <title>Secure Your Office 365 Tenant – By Attacking It (Part 2)</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/secure-your-office-365-tenant-by-attacking-it-part-2</link>
      <pubDate>Wed, 04 Apr 2018 22:08:09 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1305</guid>
      <description><![CDATA[By David Branscome

&nbsp;

In my previous post...]]></description>
      <content:encoded><![CDATA[By David Branscome

&nbsp;

In my previous post (https://blogs.technet.microsoft.com/cloudyhappypeople/2018/04/04/secure-your-office-365-tenant-by-attacking-it ), I showed you how to use the Office 365 Attack Simulator to set up the Password Spray and Brute Force Password (Dictionary) Attacks.

What we often find, though, is that spear phishing campaigns are extremely successful in organizations and are often the very first point of entry for the bad guys.

Just for clarity, there are “phishing” campaigns and there are “spear phishing” campaigns.

A <strong>phishing campaign</strong> is typically an email sent out to a wide number of organizations, with no specific target in mind. They are usually generic in nature and are taking the approach of “spreading a wide net” in hopes of getting one of the recipients to click on a URL or open an attachment in the email. Think of the email campaigns you’ve likely seen where a prince from a foreign country promises you $30 million if you’ll click on this link and give him your bank account information. The sender doesn’t particularly care WHO gets the email, as long as SOMEBODY clicks on the links.

On the other hand, a <strong>spear phishing campaign</strong> is much more targeted. In a spear phishing campaign, the attacker has a specific organization they are trying to compromise – perhaps even a specific individual. Maybe they want to compromise the CFO’s account so that they can fraudulently authorize money transfers from the organization by sending an email that appears to be coming from the CFO. Or maybe they want to compromise a highly-privileged IT admin’s email account so that the attacker can send an email asking users to browse to a fake password reset page and harvest user passwords. The intent with a spear phishing campaign is to make the email look very legitimate so that the recipients aren’t suspicious – or perhaps they even feel obligated to do as instructed.
<h2>What Do I Need?</h2>
As you can imagine, setting up a spear-phishing campaign takes a little more finesse than a brute force password attack.

First, decide WHO the sender of the spear phishing email will be. Maybe it’s HR requesting that you log in and update your benefits information. Or perhaps it’s the IT group asking everyone to confirm their credentials on a portal they recently set up.

Next, decide WHO you want to target with the campaign. It may be the entire organization, but keeping a low profile as an attacker also has its advantages.

You’ll probably want to use a realistic HTML email format so that it looks legitimate. The Attack Simulator actually provides two sample templates for you, as we’ll see below. Using the sample templates makes the campaign very easy to set up, but as you get more comfortable using the Attack Simulator, you will likely want to craft your own email to look more like it’s coming from your organization.

That should be enough to get us started.
<h2>Launching a Spear Phishing Attack</h2>
In the Attack Simulator console, click on “Launch Attack”.

<img width="1024" height="287" class="wp-image-1315 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/1_SPBlog-1024x287.jpg" />

&nbsp;

At the <strong>Provide a name to the campaign</strong> page, choose your own name, or click on “Use template”. If you click on “Use template” you will see two template options to choose from. I’ve chosen “Prize Giveaway” below:

<img width="1024" height="169" class="wp-image-1325 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/2_SPBlog-1024x169.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Next, select the users you want to “phish”. You can select individual users or groups.</span>

&nbsp;

<img width="1024" height="337" class="wp-image-1335 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/3_SPBlog-1024x337.jpg" />

&nbsp;

On the next page, if you’ve selected a template, all the details will be filled in for you. One important value to note here is the <strong><em>Phishing Login server URL</em></strong>. Select one of the phishing login servers from the drop down. This is the way the attack simulator is able to track who has clicked on the URL in the email and provides reporting.

Note that the URL's for the phishing login servers are NOT actually bad sites. They are sites set up specifically for the purposes of this tool's functioning.

&nbsp;

<img width="1024" height="545" class="wp-image-1345 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/4_SPBlog-1024x545.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">In the Email body form, you can customize the default email. Make sure that you have a variable <strong>${username}</strong> so that the email looks like it was sent directly to the end user.</span>

&nbsp;

<img width="1024" height="484" class="wp-image-1355 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/5_SPBlog-1024x484.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Click <strong>Confirm,</strong> and the Attack Simulator will send the email out to the end users you specified.</span>

<span style="color: #000000;font-family: Calibri">Next, I opened the Administrator email account that I targeted and saw this:</span>

&nbsp;

<img width="1024" height="302" class="wp-image-1365 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/6_SPBlog-1024x302.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Notice that it customized the email to the MOD Administrator account in the body of the email.</span>

<span style="color: #000000;font-family: Calibri">If I click on the URL (which points to the https://portal.prizesforall.com URL we highlighted earlier) I get sent to a website that looks like this.</span>

<img width="1024" height="582" class="wp-image-1375 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/7_SPBlog-1024x582.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Finally, if I click on the reporting area of the Attack Simulator, I can see who has clicked on the link and when.</span>

&nbsp;

<img width="839" height="797" class="wp-image-1385 size-full alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/8_SPBlog.jpg" />

&nbsp;
<h2><span style="color: #000000;font-family: Calibri">Okay. But seriously…would you <em>really</em> have clicked on that URL? </span></h2>
<span style="color: #000000;font-family: Calibri">Probably not.</span>

<span style="color: #000000;font-family: Calibri">So how do you make it a little more sophisticated?</span>

<span style="color: #000000;font-family: Calibri">Let’s create a more realistic attack.</span>

<span style="color: #000000;font-family: Calibri">In this attack we will use the Payroll Update template, which is very similar to what you might actually see in many corporate environments.  You can also create your own HTML email using your organization’s branding and formatting.</span>

&nbsp;

<img width="982" height="707" class="wp-image-1395 size-full alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/9_SPBlog.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">I’ll again target the MOD Administrator because he seems like a good target, since he’s the O365 global admin (and seems to be somewhat gullible).</span>

In this situation though, instead of sending from what appears to be an external email address (prizes@prizesforall.com, used in the previous attack) I’m going to pose as someone the user <strong><em>might actually know</em></strong>. It could be the head of HR or Finance or the CEO. I’ll use the actual email address of that person so that it resolves correctly.

Notice that this templates uses a different phishing login server URL from the drop down. You’ll see why in a second.

<img width="971" height="1024" class="wp-image-1405 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/10_SPBlog-971x1024.jpg" />

In the <em><strong>Email body</strong></em> page, we’ve got a much more realistic looking email.

It should be noted, though, that if you make the email look ABSOLUTELY PERFECT and people click on the URL, <em>what have they learned</em>? It’s best to provide a clue in the email that a careful user would notice and recognize as a problem. Maybe send the official HR email from someone who isn’t actually in HR, or leave off a footer in the email that identifies it as an official HR email. Whatever it is, there should be <em><u>something that you can use to train users to look out for.</u></em>

So if you read the email template below carefully, you'll see some grammatical errors and misspellings that should be a "red flag" to a careful user.

&nbsp;

<img width="1024" height="863" class="wp-image-1455 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/10.5_SPBlog-1024x863.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Again, you <strong>Confirm</strong> the settings for the attack and the attack launches.</span>

<span style="color: #000000;font-family: Calibri">Going to the MOD Administrator’s mailbox….that’s much more realistic, wouldn’t you say?</span>

&nbsp;

<img width="1024" height="825" class="wp-image-1415 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/11_SPBlog-1024x825.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">When I click on the “<strong>Update Your Account Details</strong>” link, I get sent to this page, where I’m asked to provide a username and password, which of course, I dutifully provide:</span>

&nbsp;

<img width="1024" height="764" class="wp-image-1425 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/12_SPBlog-1024x764.jpg" />

&nbsp;

Notice, however, that the URL at the top of the page is the portal.payrolltooling.com website - even thought the page itself looks like a Microsoft login page. Many attacks will mimic a "trusted site" to harvest credentials in this manner. When you're testing you can use <em>any</em> email address (legitimate or not) and any password for testing - it isn't actually authenticating anything.

<span style="color: #000000;font-family: Calibri">Once I enter some credentials, I am directed to the page below, which lets me know I’ve been “spear phished” and provides some hints about identifying these kind of attacks in the future:</span>

&nbsp;

<img width="1024" height="318" class="wp-image-1435 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/13_SPBlog-1024x318.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">And finally, in the reporting, I see that my administrator was successfully spear phished.</span>

<img width="806" height="335" class="wp-image-1445 size-full alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/14_SPBlog.jpg" />

&nbsp;
<h2><span style="color: #000000;font-family: Calibri">The Value of Attack Simulations</span></h2>
<span style="color: #000000;font-family: Calibri">This is all interesting (and a little bit fun) but what does it really teach us? The objective is that once we know what sort of attacks our users are vulnerable to (password or phishing are the two highlighted by this tool), then we can provide training to help enhance our security posture. Many of the ransomware attacks that are blanketing the news lately <strong><em>started as phishing campaigns</em></strong>. </span>

If we can take steps to ensure that our users are better equipped to identify suspicious email, and help them select passwords that aren't easily compromised, we help improve the organization's security posture.

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Secure Your Office 365 Tenant - By Attacking It (Part 1)</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/secure-your-office-365-tenant-by-attacking-it</link>
      <pubDate>Wed, 04 Apr 2018 19:21:15 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1135</guid>
      <description><![CDATA[By David Branscome

I've been waiting several months for this day to arrive. The Office 365 Attack...]]></description>
      <content:encoded><![CDATA[<span style="color: #000000;font-family: Calibri">By David Branscome</span>

<span style="color: #000000;font-family: Calibri">I've been waiting several months for this day to arrive. The <strong>Office 365 Attack Simulator</strong> is LIVE!</span>

<span style="color: #000000;font-family: Calibri">If you log into your Office 365 E5 tenant with the Threat Intelligence licensing, it shows up here in the <strong>Security &amp; Compliance</strong> portal.</span>

<img width="257" height="300" class="size-medium wp-image-1145 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/1_ASBlog-257x300.jpg" />

<span style="color: #000000;font-family: Calibri">When you click on it, the first thing it will tell you is that there are some things you need to set up before you can run an actual attack. There’s a link that says, “Set up now” (in the yellow box shown below). After you click that link, it says the setup is complete, but you’ll have to wait a little while before running an attack. (I only had to wait about 10 minutes when I set it up)</span>

<img width="1024" height="511" class="wp-image-1155 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/2_ASBlog-1024x511.jpg" />

&nbsp;

It also reminds you that you need to have MFA (multi-factor authentication) set up on your tenant in order to run an attack. This makes a lot of sense, since you want to ensure that anyone who runs the attack is a “good guy” on your network.

To set up MFA, follow the steps here:

Go to the Office 365 Admin Center

Go to <strong>Users</strong>&gt; <strong>Active users</strong>.

Choose <strong>More</strong>&gt; <strong>Setup Azure multi-factor auth</strong>

<img width="300" height="271" class="size-medium wp-image-1165 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/3_ASBlog-300x271.jpg" />

&nbsp;

Find the people who you want to enable for MFA. In this case, I'm only enabling the admin account on my demo tenant.

Select the check box next to the people you want to enable for MFA.

On the right, under <strong>quick steps</strong>, you'll see <strong>Enable </strong>and <strong>Manage user settings</strong>.

Choose <strong>Enable</strong>.

&nbsp;

<img width="300" height="212" class="size-medium wp-image-1285 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/4_ASBlog1-300x212.jpg" />

&nbsp;

&nbsp;

In the dialog box that opens, choose <strong>enable multi-factor auth</strong>.

<img width="1024" height="306" class="wp-image-1185 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/5_ASBlog-1024x306.jpg" />
<h1></h1>
<h1>The Attacks</h1>
<h2>Spear Phishing</h2>
With a spear phishing attack, I’m sending an email to group of “high-value” users - maybe my IT admins, the CEO/CFO, the accounting office, or some other user group whose credentials I want to capture. The email I send contains a URL that will allow me to capture user credentials or some other sensitive data as part of the attack. When I set up this attack, it needs to look like it’s coming from a trusted entity in the organization. Maybe I’ll set it up to make it appear as though it’s coming from the IT Security group asking them to verify their credentials.
<h2>Brute Force Password (a.k.a., Dictionary Attack)</h2>
In this attack, I’m running an automated attack that just runs through a list of dictionary-type words that could be used as a password. It is going to use lots of well-known variations, such as using “$” for “s” and the number 0 for the letter O. If you thought <em>Pa$$w0rd123</em> was going to cut it as a secure password on your Office 365 account, this attack will show you the error of your ways.

This type of attack is pretty lengthy in nature because there are thousands of potential guesses being made against each user account. The attack can be set up to vary in frequency (time between password guesses) and number of attempts.

It’s important to note that if a password is actually found to be successful, that password is NOT exposed to anyone – even the admin running the attack. The reporting simply indicates that the attack was successful against Bob@contoso.com, for example.
<h2>Password Spray Attack</h2>
A password spray attack is a little different from the brute force password attack, in that it allows the admin/attacker to define a password to use in the attack. These would typically be passwords that are meaningful in some way – not simply an attempt using hundreds, or thousands of guesses. The password you use could be something like the name of a football team mascot and the year they won a championship, or the name of a project that people in one department are working on. Whatever criteria you select, you define what password or passwords should be attempted and the frequency of the attempts.

<strong>Ready? Let’s go hunting…</strong>
<h1></h1>
<h1>Launching a Password Spray Attack</h1>
First, I’ll try the password spray attack. I’ve set up several accounts in my test tenant with passwords that are similar to the one I’ll attempt to exploit – which is <strong>Eagles2018!</strong>. Notice that, by most criteria, that’s a complex password – upper and lower case, alphanumeric and it includes a special character, but it’s also a fairly easily-guessed password, since the Philadelphia Eagles won the Super Bowl in 2018 (though it pains me to say that).

I’ve set up a couple users with that password to ensure I get some results.

I go to my Attack simulator and click on <strong>Launch Attack</strong>.

<img width="1024" height="207" class="wp-image-1195 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/6_ASBlog-1024x207.jpg" />

<span style="color: #000000;font-family: Calibri">The first screen is where I name the attack.</span>

&nbsp;

<img width="1024" height="544" class="wp-image-1205 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/7_ASBlog-1024x544.jpg" />

&nbsp;

Next, I select the users I want to target. Notice that I can select <em>groups</em> of users as well.

&nbsp;

<img width="1024" height="333" class="wp-image-1215 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/8_ASBlog-1024x333.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">Now I manually enter the passwords I want to use in the attack.</span>

&nbsp;

<img width="1024" height="508" class="wp-image-1225 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/9_ASBlog-1024x508.jpg" />

&nbsp;

Confirm the settings, click <strong>Finish</strong> and the attack will begin immediately.

If I go back to my Attack Simulator console, I can see the attack running.

&nbsp;

<img width="841" height="488" class="wp-image-1235 size-full alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/10_ASBlog.jpg" />

&nbsp;

After the attack completes, I see the users who have been compromised using the password.

(Yes, I’ve reset their passwords now, so don’t try and get clever.) 😊

<img width="1024" height="436" class="wp-image-1245 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/11_ASBlog-1024x436.jpg" />

<span style="color: #000000;font-family: Calibri">Now I politely encourage ChristieC and IrvinS to change their password to help ensure their account security.</span>
<h2>Launching a Brute Force Password (Dictionary Attack)</h2>
<span style="color: #2f5496;font-family: Calibri Light;font-size: large"><span style="color: #000000;font-family: Calibri">Again, I’ve set up a couple accounts with some pretty common password combinations (P@ssword123, P@ssw0rd!, etc..)<span style="color: #000000;font-family: Times New Roman"> </span></span></span>

<span style="color: #000000;font-family: Calibri">I walk through the configuration of the attack, which is very similar to the Password Spray attack setup.</span>

<img width="1024" height="499" class="wp-image-1255 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/12_ASBlog-1024x499.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">I set up my target users as before, and then I choose the attack settings.</span>

<span style="color: #000000;font-family: Calibri">In this case, I uploaded a text file containing hundreds of dictionary passwords, but you can create a sampling of several passwords by entering them manually one at a time in the field above the Upload button.</span>

<img width="1024" height="486" class="wp-image-1265 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/13_ASBlog-1024x486.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">As the attack runs, you’ll see something like the screenshot below. Remember, if you have a large number of users and a very large wordlist for the dictionary attack, this attack will run for quite some time as the simulator cycles through all the possible variations for each user.</span>

<img width="1024" height="363" class="wp-image-1275 size-large alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/14_ASBlog-1024x363.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">And again, when the simulation is complete, you’ll want to caution DiegoS on his lack of good password hygiene.</span>

<span style="color: #000000;font-family: Calibri">In my second blog post, I’ll show you how to do a <strong>Spear Phishing Attack</strong>. These are the REALLY sneaky ones….</span>
<h2><span style="color: #000000;font-family: Calibri">Stay tuned!</span></h2>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>“Argh…My Skype for Business Recording Failed!!”</title>
      <link>https://docs.microsoft.com/archive/blogs/cloudyhappypeople/arghmy-skype-for-business-recording-failed</link>
      <pubDate>Mon, 26 Mar 2018 02:48:59 GMT</pubDate>
      <dc:creator><![CDATA[David Branscome - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/cloudyhappypeople/?p=1035</guid>
      <description><![CDATA[By David Branscome

&nbsp;

I recently received a call from a colleague who had been working on...]]></description>
      <content:encoded><![CDATA[By David Branscome

&nbsp;

I recently received a call from a colleague who had been working on a two-hour Skype for Business meeting.

At the end of the call, she went into her Recording Manager to get the recorded meeting but saw that the recording for the meeting had failed. It was showing up as “0 bytes” in size.

When we browsed to C:\Users\%USERNAME%\AppData\Local\Microsoft\Communicator\Recording Manager\Temporary Recording Files\ we saw this:

<img width="888" height="502" class="alignnone wp-image-1045 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/1_Image.jpg" />

So, we were pretty sure that the files were available, they just hadn’t been finalized at the end of the meeting into a single file. But how do you fix it?

Actually, the fix was pretty easy.

First, start a new Skype for Business meeting. It can be a meeting with just one person.

Once the meeting is started, share out your desktop.

<img width="1005" height="899" class="alignnone wp-image-1055 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/2_Image.jpg" />

Now start the recording.

<img width="454" height="766" class="alignnone wp-image-1065 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/3_Image.jpg" />

&nbsp;

Immediately afterward, pause the recording as shown below:

&nbsp;

<img width="1024" height="210" class="alignnone wp-image-1075 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/4_Image-1024x210.jpg" />

Go to the temporary recording files path:

C:\Users\%USERNAME%\AppData\Local\Microsoft\Communicator\Recording Manager\Temporary Recording Files and locate the folder with the temporary files for the <strong><em>RECORDING YOU JUST PAUSED</em></strong>. It should be easy to locate based on the time stamp.

Open that folder and delete all the files EXCEPT the file named <strong><em>lock.lock</em></strong>.

<img width="1965" height="517" class="alignnone wp-image-1085 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/6_Image.jpg" />

Next, go back to the C:\Users\dabran\AppData\Local\Microsoft\Communicator\Recording Manager\Temporary Recording Files path and locate the folder for the <strong><em>FAILED</em></strong> recording. Again, you can use the timestamps on the files to ensure you have the right files. Select all the files in this folder and copy them using either CTRL-C or the Copy command

<img width="1024" height="712" class="alignnone wp-image-1095 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/7_Image-1024x712.jpg" />

At this point, you should have all the files from the folder of the original FAILED Recording copied over into the folder for the NEW, paused recording.

Now, from your Skype for Business client, STOP the recording for the meeting you initiated earlier. This will start the process of combining all the files from the FAILED recording into a single, functional recording.

&nbsp;

<img width="1024" height="221" class="alignnone wp-image-1105 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/8_Imagejpg-1024x221.jpg" />

&nbsp;

Go into your System Tray in the lower right corner and click on the Recording Manager icon and select “Open”

<img width="594" height="333" class="alignnone wp-image-1115 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/9_Image.jpg" />

&nbsp;

Ensure that the New recording is being compiled, as shown by the green progress bar.

<img width="1443" height="146" class="alignnone wp-image-1125 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/10_Image.jpg" />

&nbsp;

&nbsp;

In a few minutes (depending upon the length of the original meeting), your file should be completely recovered and ready to use!]]></content:encoded>
    </item>
  </channel>
</rss>