How to Fight a Security Fire Within 72 Hours

Gorodenkoff/Shutterstock.com

It's possible to prevent serious consequences.

If you don’t know how long your network was compromised, how can you fight threats effectively and properly? 

Persistence detections are one of the most common investigations done by incident response teams, and you must know what to do in the critical 72 hours following discovery. In this situation, the attacker has been in the network for months (or even years) and established a foothold within the network.  

With automated malware, compromises can occur in minutes. Once achieved, second stage actions aim to establish a foothold. If the attackers did their recon well enough—and assume that they have—then they’ll move quickly to find other devices to either move to or put their tools on. They may also start capturing credentials and inevitably be rewarded by recovering a domain administrator who may have inadvertently or improperly managed a device and did not properly log off.  

Once the attacker has a domain admin account, they can cause catastrophic damage but likely will not. They’ll try to remain low-key and create extra user accounts in Active Directory. They may then also start to “administer” other devices, just like domain admins who do this routinely. They may also create persistence mechanisms by taking advantage of scheduled tasks. Because most users don’t have permissions, they would never see this. Most domain admins would not see this either, as they’re often overtasked and using a remote desktop connection to a file server that doesn’t usually prompt further investigation—unless the number of domain admin accounts were very small and well-monitored. 

Attackers that achieve this level of persistence will be well-versed in your network and may know it better than you. They know how to remain inconspicuous and take advantage of your data, either by monetizing it or stealing intellectual property. They remain active in your environment until such a time where they have nothing left to take or, perhaps, fall victim to the same issue which gave them their opportunity: complacency.  

The First 24: Inspect and Validate Your Tools

Alerts may be a sign of a new or previous attack. Trust but verify what your tools are reporting to you. 

Whether you enlist the help of an experienced external incident response team or decide to tackle the issue internally, your security team’s first step should be to determine the scope of the incident. Once you have a comprehensive map of your cyber terrain, you can respond appropriately. 

Security teams should prioritize identifying both the security tools that detected the attack and those that failed in detecting it, as well as malware in the network. In this critical first day, you should be able to answer the questions: Where are the attackers? Which systems can they access? Then set alerts for the involved IP addresses, user accounts and malware to track them in real time. 

Hours 24-48: Map Your Terrain

Attackers hope to gain and retain elevated privileges. A domain admin account is highly sought after as they can likely go anywhere and do anything as their activities may go overlooked for quite some time. Attackers with a domain admin account will make efforts to spread out as wide as possible to avoid any single point of failure. You should already know just how wide and deep your terrain is so you will be prepared to hunt.

After realizing the extent of the attack, security teams should recognize this attack as a persistence detection and will spend the bulk of these hours performing SIEM lookups for good IP addresses, bad IP addresses, malware and user accounts to determine if any breach activity occurred before the incident was detected and track additional movement afterward. 

It is also imperative that teams determine why the attack succeeded and wasn’t detected or prevented beforehand to ensure this doesn’t happen again.

The Final Hours: Extinguish the Blaze

As the critical 72 comes to an end, expand the scope of your investigation. It’s time to eradicate attackers by planning and coordinating an event that will turn out the lights on the attacker. This will likely be a tightly orchestrated ballet of removing web access, resetting user accounts, removing malware, remediated affected systems, blocking known bad IP addresses and implementing custom signatures for endpoint active defense tools. 

Afterward, security teams should also establish formal reporting procedures with the security operations center about indicators of compromise directly related to this incident. Outline what worked and what didn’t to smooth operations moving forward. 

Although there’s often limited information and visibility, if you act quickly and efficiently in the first 72 hours, you can prevent serious consequences. Ultimately, you must identify the scope of the incident and then launch the eradication event, noting missteps and activity along the way to ensure the attacker(s) are gone for good. 

Chuck Twardowski is an operational lead for incident response at Fidelis Cybersecurity. He is a retired law enforcement officer and has taught to government agencies at the Defense Cyber Investigations Training Academy. 

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.