Episode 31, Welcome to season two of the Cyber Security America podcast. In this episode, we explore the evolving landscape of cloud security, focusing on critical considerations for organizations migrating to Office 365 and Azure AD. Stay tuned as we unravel essential strategies and insights to bolster your security posture in the cloud.
In traditional on-prem environments, users authenticate to domain controllers within a network. However, replicating this infrastructure to Azure Cloud introduces significant changes. Now, users can authenticate from anywhere globally, leading to numerous failed authentications and increased MFA prompts. This new setup can cause account lockouts that do not synchronize back to the on-prem domain controller. Therefore, when moving to Office 365, it's crucial to consider Microsoft's Defender for Identity for enhanced security posture, compliance, threat detection, and vulnerability assessments.
One of the most significant security concerns is PowerShell. It's frequently used in legitimate administrative actions and by malicious actors. Hardening PowerShell is essential, and this includes enabling transcription, which captures input and output of commands, and script block logging, which ensures Base64 encoded commands are logged and can be decoded for analysis. This helps to detect and respond to malicious activities without relying on external tools like CyberChef.
Furthermore, enforcing script execution policies (restricted, bypass, remote signed, all signed) helps manage which scripts can run, though these policies are not foolproof security controls. The key is to use them as intended to prevent unintended script execution.
Constrained language mode is another vital hardening measure, restricting access to commands that can invoke Windows APIs, which are often exploited to download malware. For example, commands like `Add-Type` can load arbitrary C# code and are frequently used in attacks.
Additionally, integrating the Anti-Malware Scanning Interface (AMSI) into applications can help detect and prevent script-based threats by scanning unobfuscated scripts before execution. This is particularly useful in environments where PowerShell is heavily used, as it adds an extra layer of security.
Effective cybersecurity requires technical depth and business alignment. Start by understanding your industry's regulations and standards. Align your cybersecurity strategy with business risks and integrate threat intelligence, incident response management, and continuous attack surface management. This strategic approach ensures a comprehensive security posture.
Finally, as organizations migrate to Azure AD and other cloud services, several key security considerations must be addressed. This includes understanding architecture changes, monitoring data flow, and ensuring tool rationalization. Critical components often overlooked include proper deployment of MFA and firewall management. PowerShell security remains a top priority, requiring logging configurations that decode Base64 and using digital signatures to verify scripts.
Emerging technology threats, such as AI model poisoning and DNS over HTTPS, also need attention. Monitoring DNS logs for threat hunting is crucial, but the shift to DNS over HTTPS complicates this. Additionally, remote access solutions like RDP should be used in just-in-time mode to prevent continuous exposure.
In summary, moving to the cloud and adopting new technologies necessitates a robust cybersecurity framework that integrates traditional security measures with advanced threat detection and response capabilities.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Today's businesses are on a vigilant watch for threats in an ongoing cyber war. It's time to get real world solutions to protect and secure your valuable business information anytime, anywhere. Welcome to Cyber Security America with Josh Nicholson. You're about to gain special access into a world of restricted information and a backstage pass to the inner sanctum of cyber security. Cybersecurity operations. Here's your host. Joshua Nicholson again,
back here for season number two. So glad to have such a wonderful season one with 30 episodes. The last one culminating with the interview of governor McCorry, talking about technology and cyber risks within government, what is it like from a mayor? What's it like from a governor's perspective, but on season two, we have a couple of things that we want to cover. One is I'll give you kind of an overview is. There's a lot of talk about artificial intelligence, but we've done a couple episodes on our show about that. This one was more of, , we want to start to get into artifacts
and forensics artifacts. How do you tell what a decision was made? What are some of the kind of the prompts? We wanted to give some more of the usability tips and features that we're seeing with, say, CHAT GPT and some of the other common models. We're also going to have a time on where we're going to have some recruiters on that are going to talk about what do you need from a resume and a skill perspective? What are people looking for? What is, uh, important to them? What are the fields that, uh, are expanding, which are some of the ones that are contracting? What do you need to do from an SEO perspective within LinkedIn? Uh, a lot of people ask questions related to that.
So one of the things I want to catch people up on is that I went to a conference called the CackylackyCon conference. So this was a phenomenal little conference in Raleigh, North Carolina. And it was at a series of different presentations from practitioners. But some of the areas I thought were just fascinating was, for instance, a lock picking area where there was an area of me and my kids were able, I was able to take my kids to this one, we were able to learn how to undo locks and tumbler locks and how to get out of handcuffs. That had to have been the best skilled of the entire week.
There was how to get out of the double lock handcuffs. I thought that was. Uh, exciting. There was also a capture the flag where you had, a number of different penetration testing capabilities, a couple of contests going on. One of it was really broken down for the newbies. I thought that was important, kind of give the clues, walk them through this, make it really easy because it's intimidating at first for some of the newer people in cybersecurity. So I really had a good time over there CackylackyCon. And then this week I'm at that Techno Forensics Conference in Wilmington.
I got to speak, I spoke this morning at 10:30. Part of this presentation here for this podcast, I can show up with the world and I'm going to present it here on the show. But we had a really great time. There was a lot of people there. I would say, I don't know, a lot is a relative term. Let's say 400 people. It seems right around that number. I think the attendance was really well supported in the AI, some of the AI areas, but more importantly in some of the forensics tool sets and the demonstrations and so forth. So it's not just a people wanting to hear.
Thought leadership, but it's also people wanting to see actual tools and what they do and so forth. That happened, my presentation was just going over some of the latest threats that are happening from an incident response perspective. If the DeepSeas is a cybersecurity company, we have many different services, but our core is our platform is our managed detection and response. We also manage. Sim systems, we also have professional services, advisory, as well as penetration testing. And of course the, the vSISO function.
One of the lessons learned we have from DeepSeas is just looking at the amount of data that comes in. When you see that we have millions and millions of different unfiltered events that come in and logs that come in. They need to be identified, they need to be correlated, they need to be actioned, and so forth. So there is a lot of information that we can glean from these different attacks. One of the things I'm going to go over in this upcoming presentation here is just Azure. The move to Azure has opened up the attack space for a lot of people. You can see them moving from the traditional on prem domain
controller over to Azure AD. Which is a natural progression, especially when you want to start leveraging O365 applications and using the power of cloud, Microsoft intra ID gives you a lot of functionality to be able to do things like that. However, your traditional security monitoring tools are accustomed to having that, uh, domain controller log information coming into the SIEM. And those rules for brute force attack, password stuffing, all those types of, uh, things. Uh, tags are, are built into the SIM.
However, they don't realize is that when you set up a on prem domain controller to replicate to an Azure AD domain controller, you have to use what's called AD connect, it's a little tool set. It's a little proxy that allows you to connect the two. So that connector does that. It replicates the SAM database information that's within there up to, uh, out here. So now if your laptop is on premises, you can log on locally with a domain controller. If you go to your hotel room, you can log on to your O365 applications using Azure AD.
Problem though that occurs is that when you move to Azure AD in that way, and you start failing authentication, you start brute force authenticating, it's not the normal Kerberos port 8080 that you would see, and you would see a failed logon attempt of 4625. On those domain controllers, you're not going to see that in an Azure cloud scenario because it's using HTTPS using stuff like SAML and OAuth to do the authentication and authorization. So what happens if you don't account for those Azure AD logs into your SIEM,
you're going to be missing a whole, probably half, depending on the mobility of your workforce, but half of the logs and the events that are occurring. Cyber Battlefield Insights, identifying critical shifts and errors leading to intrusion. This is from an MDR, Incident Response Commander's perspective. This is my perspective. DeepSeas, we have about 700 customers around the world. We monitor their endpoint detection and response tools for them. Their CrowdStrikes, their Carbon Blacks, and so forth. Not only do we monitor them, but we create threat intelligence.
Over a thousand pieces of threat intelligence go into those platforms. So it's like saying, do you have an EDR? It's like saying, do you have a car? But we make that car into a race engine. So that perspective gives us over 450,000 desktops under management. So out of We get a number of different incidents that occurred that we have some lessons learned from. everything is just bombarding us from RSA. A lot of people at RSA, I didn't go this year. But I went to the Kaki Laki conference instead, but at RSA there was a lot of talk I'm hearing from all my co workers about artificial intelligence.
Everything was artificial intelligence. And when you look it back AT&T and that big outage they had, it wasn't artificial intelligence that did it, it was just human error. So artificial intelligence is no match for natural stupidity. So in this presentation, what I'm going to go over is I'm going to present a little small overview of DeepSeas. I am going to talk about who they are, what's the genesis of the company. It gives us perspective in the data for what's about to come in the later presentation.
So this is not a sales presentation, but I do need to qualify where I'm getting my perspective from and what kind of data am I making these inferences from. Threat intelligence perspectives. We also want to be able to pull from some of the headlines, what's going on right now. There's a couple of things we want to be able to cover, how that relates. I see a larger trend that's going on. Then a traditional approach towards your security tool sets and everything. I'm going to go over the model of how a CISO kind of looks at it from how do I implement change, risk management.
I don't do it by picking my tools and develop my risk structure around that. It's develop my restructure and then put my tools that are aligned to that. We also see some shifting in technology here. Just move to Azure and the authentication go in Azure AD. Some of the challenges that occurs and how that changes from a deeper perspective for incident response. When you're looking at failed logon attempts, you're not getting those 4724, 4725 events anymore from the domain controllers. You're getting a lot of these different events that are not showing up because
it's now Azure AD showing up in the cloud and it's all off over HTTPS. We're also going to talk about that and DNS over HTTP and how that is causing havoc right now in environments. Now, after that, we go over some of the shifting of technology. We move into PowerShell. PowerShell seems to be at the heart of all the intrusions that we're working today. All the different incidents that we have. Are coming up. A lot of them are remote management tool sets and the use of PowerShell. Then we're going to go over the top 12 areas of focus that make sense.
For our greatest bang for a buck. So a little background on me in case I really haven't gone over this on the podcast before too much. Cause you could see my LinkedIn channel from here, but essentially 24 years in information security. I have held many different roles and responsibilities starting off in the Marine Corps. Very technical. I worked on radio systems. I was a weapons instructor. So I got both shooting, blowing stuff up, as well as being able to do IT and
build servers and networking and so forth. After the Marine Corps went into the defense sector, worked at Northrop Grumman, worked as a sysadmin, NT systems administrator, and that started my career off into IT. And that gave me a good perspective on route switch servers architecture before moving into Cisco routers, CCNA, CCNP, and doing infrastructure level things. That migrated me over to Hancock Bank after, Hurricane Katrina. There was a three month time period I was homeless.
We, my family and I had to evacuate from New Orleans. We had to live with family members for a time period. We had to move around, stayed in a hotel for a couple weeks. So it was an interesting situation, not only to have to go through Katrina, but not to have your home. Not to have your job and not to have your bank account because both my credit unions, both branches were underwater. It's a very unique situation but Hancock Bank tremendous opportunity to build both their data centers out in Dallas and then the one out in Atlanta and then became the first data security manager there, being the VP
of Information Security there short, shortly after for about seven years. A lot of great people in New Orleans. I still love that town and everyone I worked with. What's really interesting is the information security team that's over there is pretty much the same team I hired 12 years ago. Maybe one or two people have left, but it's pretty much the same people. Went from Hancock bank over to Ernst Young. Ernst Young had me flying all over the country doing cybersecurity work on their FSO practice. Before I went to Wells Fargo, I did the group information security officer.
There are, I did a lot of risk management. I used my technical skills, my incident response technical skills there while doing audits and assessments. And then moving on to CoFence. I was the Senior VP of Professional Services. I ran their phishing defense. I built their phishing defense center when I was there. That went worldwide. And then Booz Allen Hamilton is where I spent about three years working on big commercial customers, cyber fusion centers, building security operation centers. And at that time during the pandemic for two years, I was a CFC lead
for a large pharmaceutical company. overview of who DeepSea's is, DeepSea's 30 years of experience delivering 24/7 managed cyber defense systems. Now this is several different iterations under different names. But it's the same platform, the same people. When we spun out of Booz Allen Hamilton, we went through private equity and we are the company Deep Seas. So right around 260 employees and we're having 700 plus customers. some of the offerings and solutions that we have, for instance you can see
we start off really with the Strategic Advisor and Professional Services. is really aligned towards helping you with decision enablement. What should you go after? What should you not go after? What's important? What's not important? And how do you build that into a concise roadmap that's measurable? That is understandable, not just from the technical personnel, but also managerial with any outside security companies that you may have to interact with. We also have offerings on the managed detection and response.
So endpoint, email, network, sim, operational technology, and of course our log management platforms that we're able to provide managed services and multiple different delivery configurations. When you look at penetration testing, surface management, we have the acquisition of Red Team. So we do penetration testing inside, outside, web application code review vulnerability risk management is a big thing. Being able to keep up with patches, being able to run CSIRT, being able to manage that is always critical to your environment.
So when you look at the DeepSeas MDR continuous cyber protection, so like I was saying before, we have the end point. Where we monitor CrowdStrike, Cortex, Sentinel 1, Microsoft Defender, SOFO, Cyber Reason. We have that network side of that too. We have our own NIDS, so Network Intrusion Detection Sensors. We also use CoreLight as a platform as well to push our intelligence out. Very important to have a network TAPS. Everyone thinks you can just go with an endpoint solution nowadays, but Log4j all kind of different threats are not detectable by EDRs,
they're all detectable by NDRs. So you definitely still want to be able to have a NIDS, and you also want to be able to do full PCAP capture for some of the traffic, especially inside your network. Email being able to do email response. So when you respond to a phishing email, you submit it. You want to have an organization takes a look at it, analyze it, and does a response back. Logs, you're looking at Microsoft Sentinel, Devo, and Splunk. These are solutions we bring to our customers to help drive some cyber risk down that they may have. And then from an operational technology perspective, those OT environments.
Nozomi is one of our big partners that we do OT work with. Some of these pharmaceutical companies I was telling you about before. manufacturing life cycles for medicine development for the development of the drugs for the pushing out and distribution points around the world. So just something by the numbers. Steve DeepSeas SOC by the numbers. So 2023. 82,620,000 unfiltered alerts.
Now out of those you had 13 million filtered alerts and then an aggregated alert of 7.3. Now, out of all that volume that you're getting, 'cause you get a lot of noise from all these tools, look at 82.6 million different alerts from down level tool sets. All that gets filtered and correlated, used on our platform in order to come up with that 36, 079 threat notifications. A threat notification is actually an event that's deemed critical that the customer needs to know about and take action on it.
And so we either send that as an item of inquiry, or we send that to them as a SEV1, SEV2, SEV3, or SEV4 event. So that's a reduction of about 99. 96 percent of that volume that's coming at you. That's huge. Most organizations have just thousands of alerts coming from it. I can't tell you how many intrusions I've been in where the ransomware showed up on the EDR product, there just wasn't anybody looking at it. No one was seeing the alerts, it wasn't even set to block and it wasn't even seeing all the activity in the first place.
So it has to be managed, has to be cared for, you just can't plop a, an EDR product in there and expect to it to operate at its best performance. Now you look at our TOC metrics, that's our Technology Operations Center. A lot of different deep dives, 113 hours of deep dives with customers. It was like saying an alert went off one of the analysts needs to either work with that customer back and forth to analyze it, drill down to it, do we need to get threat hunters involved? Do we need to have malware analysts involved and so forth?
Perimeter hardening requests all the way to that number 451, 000. I think this is a little dated, this slide, because I think we hit the we're closer to the 500,000 mark. But when you look at how many total endpoints that we manage from multiple different platforms, and sometimes in the same context. Imagine there's a merger, there's an acquisition, you're going to need to manage CrowdStrike on one end, for instance, while you merge in a company that has Carbon Black. How do you provide comprehensive security to both of these? Because mergers and acquisitions are the most dangerous part of a
Organization or company's life cycle. ready made detections. How do you keep up with all that? If you look at an internal intrusion detection capability or an internal SOC capability, just keeping up with SIEM use cases and endpoint use cases and network rules and yara rules and so forth. That's a lot of work that Why have to do that for one customer one time? Do that internal. That's where we maximize our ability to scale. And we're able to do this for hundreds of customers on be able to provide
these use cases, keep up with them, make sure they're accurate and then deprecate them when they're no longer needed and take those out of circulation. Too many, too often people just keep throwing rules out there. So if they have 5, 000 rules, I could just say how many different rules, but some are so irrelevant, they're not even needed anymore. And then you, that all needs to be cleaned up. Then when we start talking about industry leading services, like getting into meantime to detect meantime to contain, And then what's your IR onboarding? What's really interesting, mean time to detect in some of these, you have
some customers, or let's just say some EDR product vendors, that if that EDR product saw a malicious file and ate that malicious file within three seconds of it landing on disk, they would count that as part of their SLAs. They would say, yes, I'm supposed to respond in 20 minutes for a SEV1. But we're always responding in less than less than a minute. And the only reason they can say that less than a minute is because they're taking credit for what the product will do normally the same way as if someone would take credit if antivirus killed a file that's on something.
It's ridiculous, but too many people don't understand the details from it. So when they're able to say they were able to respond in seconds, that's bullcrap. There is no human vetting of it. There's no contextualization of it. There's no QA of it. They're just pushing stuff out as quickly as possible. When you look at what does all that do, okay, we have great SOC metrics. We talk about how many unfiltered events. We talk about how many deep dives we go into. We talk about How many Ready-made detections and what's the time period, but what does that do at the end of all this and how does that help and you
look at how does that save customers? We did 88 ransomware attack preventions last year, pre-encryption we were able to catch things, shut things down. So rough estimates about 135 plus million in ransom payments was prevented around the average ransom payment. Ransomware payment we're seeing is 1.5 million. and 1. 2 million worth of savings for a mid market customer. So you can see where just this efficiency on that on the bottom right here shows just how we're able to do a lot of things with a lot less
From a threat intelligence perspective, there was a 424 percent increase in small business breaches just a year last 43 percent of those were against small business. 60 percent of small businesses are victims of a cyber attack, go out of business within six months. I saw that in several of the banks that I worked at. I had a crane company that got hit with an ACH fraud and it was part of a BEC attack and they lost over $500,000 and the company went out of business. 15 people were laid off when that occurred. They didn't have a cyber insurance policy, so there's no way to get those funds back.
So you can see where some of those hits are 2. 2 million a year. Healthcare is an industry that's most at risk for most of those cyberattacks, and it says 14 percent of businesses rate their ability to mitigate attacks as highly effective, only 14 percent of them. a ransomware attack that really manifested into the real world, so Colonial Pipeline was argumentatively one of the most high profile ransomware attacks of 2021. I know I was in Charlotte when it hit and I didn't have gasoline at that time because it interrupted the pipeline. So this was an event that happened on May 7th.
DarkSide Group deployed ransomware on the organization's computerized equipment and it manages the pipeline. it looked like the Colonial Pipeline CEO revealed DarkSide attack vector was a single compromised password to an active VPN account that was no longer in use. Well, Colonial Pipeline didn't use multi factor authentication. The attackers were successful. They were able to encrypt multiple OT machines, and they were able to bring the systems down. When we look at that, that was once again, VPN credentials
being compromised, lack of MFA. This sounds like a repeat of today. Today 2024, we're getting the same thing. We're having VPN accounts, we're having firewalls being compromised because they had critical patches on them that weren't maintained. ASAs to Fortnets to checkpoints, all of them had trouble. Within VPN that was allowing these type of attacks. Normally, it, you would have other factors that would compensate for that, such as MFA. But in this case, there was nothing that was on there and the ransomware was able to run rampant.
So we asked, what are the top 10 protective policies? You definitely want to patch those systems. You got to upgrade them. You're going to implement the 3 2 1 1 backup rule, and I'm going to go over that in a minute. Thanks again. You definitely want to start looking at implementing Zero Trust. Now Zero Trust is not a product, it's a framework. So you have several products that allow you to implement and tie into that framework. But just remember, Zero Trust is a buzzword for framework. It's a really good framework. But it takes some effort and some time to really move to that network segmentation.
Very critical here. Why are the O. T. Systems are accessed via VPN on the Internet? That should have been a segmented network. You shouldn't have had that connectivity. You also look in point MDR. There was no endpoint MDR that was there on those OT systems. A lot of the OT systems can't handle them. They're too old. They're older technology. They're not able to handle an EDR. So it gets really difficult sometimes in OT where we're relegated to passive methods such as IDS sensors and so forth. and SIEM systems.
Now rapid eradication and recovery is always key. You want to focus on that for your systems. How do I eradicate something and recover? So for instance, if there's an intrusion or you have a malware incident on a desktop in a large corporation first, one of the three. First things we do is quarantine the machine. We use the EDR software to knock it off the network. You can't communicate in anywhere on the network, but you can still work with it. You can still pull process trees. You can still pull information. You can still do analysis. You can still do a lot of things in the past.
If you just turn the machine off, we lost all volatile information. You went and packed it up. It got mailed off. Who knows what was running at the time? It wasn't really good way to do that. So now we're able to use those EDr. Products. We even deploy products like Binalyze. Will you do a forensics capture bit by bit of that machine and pull that back into your repository? New cloud. So things have really changed over the last couple years. So you definitely want to do immutable and indelible storage. It's really important. Regular testing and validation.
I can't tell you how many customers only probably 10 percent actually do the regular testing and validation where they do their backups They utilize that 3-2-1 rule, the 0 rule, and they're able to actually have test infrastructure to restore it. The ones I find that are best at it are banks when I was at Whitney Bank because of all the hurricanes and we had to ensure that the mainframe came back up and running. We had alternate recovery locations. Not all businesses can afford that, but obviously 20 billion banks can afford that.
Educating your employees what to do, when to do, how to set things up. A lot of times employee education, they're the first ones to tell you something's not going on or somehow my account's logging on, or I'm getting an MFA prompt, I never logged on to that system. They're always your first line of defense to be able to call in. And then that cyber attack play book, I can't tell you how important and critical it is that you work to walk through what your incident response plan would be. Okay, so we have either a malware situation, we've been contacted there's an intrusion detection alert that goes off, there's some kind of stimulus
that tells us that there's some kind of event that we need to respond to. What do we do? Who do we notify? What actions can we take? And what preventive controls can we take to contain it? All that kind of stuff has to be thought about ahead of time. Many situations, I get called into an incident for a customer, they were never a customer of ours. They came off through some business relationship. We don't even know who they are. We put them through the sales cycle. We get contracts, we get on the phone. I have no idea how their network is set up. I have no idea how their cloud infrastructure is set up. You're literally having to start from scratch and ask, okay,
what is it you do for a living? And that takes a lot of time to get up and running. But One of the things you want to work for is towards that playbook. Who do I call when and in what situations? And and most importantly, who don't you call in these situations? You always have the tactical law enforcement type side of it, and you have the political or management level side of it and the tactical people need to understand how to communicate up, what to say. Using real words that can scare, such as the word breach. We don't say the word breach that has a legal connotation.
So you're going to say there's an incident that we're dealing with and be able to quantify it correctly. But the big one here we wanted to focus on really is that implement that 3 backup, which is Three copies of data. You wanna have it in two different types of media, so tape or optical or some other type. You have, one of 'them is offsite, one of 'them is offline. And then you'll have zero errors on a restoration test. So you restored it, you had zero errors. So that's really the rule to ensure availability of all your data.
Now I'm gonna switch focus here a little bit, and this is dark web market. Some live things that are for sale right now. You'll see on the far right here, this is the monthly threat intelligence roll up from DeepSeas. So you can always go to www. deepseas. com. You can look for that threat intelligence posting. And we do that every month. But you can see here, just there's accesses for sale. So you can see there's an actor. On a crime forum was selling RDP access to a New York based private equity company with 3.
5 billion in assets under management for $2,000. What a steal, what a deal. Yet an act on the ramp crime forum was selling domain and local admin access to a U. S. based enterprise with 10, 835 hosts in five trusts and a USD of 546. 1 million in revenue. You would not name the industry, vertical, or a price. So the way this works, these are initial access brokers, so they have compromised a network somewhere. They get as much statistics as they can, what kind of revenue, what's their what's
the, how many PCs are there, and so forth. And they sell that access to other people, and then they go find other access. They don't have to They don't have to worry about exfiltrating it, they don't need to worry about lateral movement, any custom malware, they don't have to worry about anything. They just have the access, they get it through a phishing campaign or some other means, and then they're able to sell it on these crime forums. So if you see your company, and this is always a good reason to have threat intelligence, so for all our customers, If we saw one of our customers pop here and it looked like their credentials was on a crime site here, we would notify
and say, hey, there's an admin account being sold that's for your network, it's $2,000 and it's $4,000 and so forth. We'd do an immediate response on that customer site and then poison all those admin accounts and have them reset. We'd also try and figure out if there was an intrusion, do a compromise assessment. That's always good information. So what is the traditional approach we're talking about their traditional approach before so you see here in the top You can't always start it off with that spam filtering. So we got tired of annoying emails.
We get tired of annoying Pop ups and so forth. So we have a spam filtering that looks at content makes decisions based on content, right? And then you have known rogue websites that these are c2s to a certain Unknown bad actor Or, these are rogue websites. Those are able to block any web filtering. Now, you have Legacy AV that steps up, that goes a little bit further than just the web filtering, but also does the known malwares and the known zero days. As well as fileless attacks and then exploits or something that next, or
regular legacy antivirus doesn't stop. So you have where they'll stop normal malware, legacy antivirus really does not stop zero day attacks or unknown malware. They definitely don't stop fileless attacks that run purely in memory. They need something to be written to disk in most cases. And then just a new exploits, very difficult for legacy antivirus to see that. Next gen AV was created, and you can see where it can cover a lot of those different areas. But it was still lacking in several other capabilities, which is where we moved into
the detection side of this, which is EDR. Which EDR sits on the top of this, I think of it as advanced antivirus for the most part. This allows us to communicate with these different parts of the stack, as well as manage them, quarantine the host, run incident response toolkits, and so forth off of it, right off of the EDR host. You can also do threat hunting, get very detailed on what process goes where and does what and it also can plug into different repositories, such as VirusTotal and some of your other Intel repository.
Allows you to detect security incidents. Allows you to contain that incident at that endpoint allows you to get an investigate mode So you can look at those security incidents start to correlate different events and then provide some of that remediation Guidelines, so this is how We have progressed over to EDR is being Kind of the de facto standard so you got to ask yourself. Okay, where do you where do I find out? Where I need to go for EDR. It's always been this is the standard approach you go find some website in here. It's E security planet.com.
But you go find a website, someone's done some analysis between the different EDR vendors. It'll tell you which ones have rogue system detector, which one has these different features. I love seeing do you have the ability for custom rule sets? Being an MDR, we create custom rule sets based on new threat actors. We need to be able. push that and inject that into our MDR products that we're supporting. So we'd like the custom rule sets, rogue system detection. That's always good. Rogue detection, discovery they're called different things, but essentially that allows you to find out if there's a host that's joined
to your domain that does not have EDR. A lot of times that becomes a source of your intrusion. So you want to be able to indicate how many machines have total. Then what's the Delta that have or do not have EDR on it and the rogue system detector helps you find that out now and then you'd look at the analysis of that. You can see you can break that down on several different dimensions. How does Microsoft defender friend points working compared to Sentinel one? I can tell you, when it first came out, being in cyber 24 years, in the beginning, Microsoft was a curse word, if you ever called, used that
for a tool in security, just had a horrible reputation for security. Microsoft was offended their service systems or offer workstation systems were breached commonly. So now, just to see the product move towards where, it's a really robust product. Microsoft did a tremendous job on it. I was actually quite surprised their Defender product is hooked into the kernel at a level that gives you telemetry that other products do not. It used to be slow, I think, for containment. It's all very important to understand what you get, what you don't get.
If you are interested in BEC attacks, like I want to track this email and did this person open it? Did they forward it to someone else? By default, unless you have the P2 licensing of the E5 license, you're not going to see that information. So you want to make sure you have premium level two logging turned on. That allows you to see the BEC attacks by default. You don't have that. You'll just see some cursory log information, but just like anything in Microsoft, the more granular you want to get at a data source, the more. They charge you and you have to have other licensing for them.
Sentinel One is a product we deploy a lot at at Deep Seas. We do it programmatically. It's one of those EDRs we can script through a Terraform and push out and manage through APIs has a really good interface and it's built for not only SOC MDR analyst, but it's also built for people like myself in incident responders. When looking at different threats and so forth, but this was always the traditional approach. You go look at some leading trade rag and you go see what you, what's the best product out there and so forth. Look at the environment. Try simplifying this.
This is the security landscape and it's not even all of them. This is just part of it. The one in the red box there is the CrowdStrike Microsoft, which I just highlighted before. So you can see it's just a speck of an ocean of different products and different services that do a myriad of different things. Now, how do You simplify all that, especially when we move into a world where everything is going to connect through Azure AD. So this diagram right here I stole from Microsoft. So it just shows you the hybrid identity and some of the required ports. I won't go into each of the ports here, but what I'm just hoping to
show Is that you're now authenticating not just with on-prem or a d, you're also communicating with A DFS. You're also connecting with Azure Active Directory, and that's where a lot of the applications, your SAPs, your ServiceNow, Dropbox, all that will be through that Azure date, Azure AD interface. So as you go to move towards this, it's very important to do it in a a concerned and secure manner. You'd have to plug into your network or connect to a Wi Fi or something to be able
to authenticate to that domain controller. Now, when you replicate that into Azure Cloud, now you've changed that completely. Now you have hosts off of the internet that are connecting and they're authenticating. And, you can have someone from India or from Pakistan or from Ireland connecting and trying to authenticate to your network. So you're going to see a ton of failed authentications. You're going to see A lot of MFA prompts coming to you that you didn't see before. You'll see a number of different things.
And what will happen is you end up getting locked out on one side but not on the other because lockouts and passwords like that do not synchronize back to the on prem domain controller. Now, PowerShell has got to be one of the biggest holes we see in most environments. So how do you plug that largest leak? How shifting technology infrastructure has been ripping holes in detecting response controls. Look at that. One of the areas we want to be able to see better is in PowerShell. A lot of these attacks are coming now in PowerShell. We're seeing it across the board as a heightened area
for attackers to go through. So one of the things that is some of the hardening that we want to concentrate on his transcription is one. This allows windows to capture the input and the output of PowerShell commands into text based transcription, auditing, monitoring We want to use PowerShell transcription. You turn that on through GPOs. We want to take script block logging on for Base64 encoding. And what that is essentially when you're sending PowerShell commands, and PowerShells are used legitimately by a lot of things on the network.
Used in Microsoft Defender to move a different signatures. It's moved in administrative actions for different software packages. Now, script blocking allows you to take some of your commands to ensure they don't get obscured or they set off something else. You put it into a Base64 envelope, you encode it and you're able to send your commands on. The problem with that encoding is that when it gets logged into the logs there, locally in the event log, The base 64 goes in it. It doesn't get decoded before going into the event log.
So you're just going to see this big block of string of text instead of the actual PowerShell command that was run. So you want to be able to configure the system to say decode base 64, put the original Unobfuscated PowerShell code in the event log, and the reason for that is now we can see when these events are occurring what the commands were and we don't have to use like Datashef or one of those other cyber CyberChef tool sets in order to be able to decode it. But there is some implications to it. So if you look down here in the bottom, I say there's an impact note.
The CIS computer information the CIS recommendations not enabling script block invocation over concerns related to logs being overwritten too quickly. So they're afraid of logs being overwritten too quickly and not being retained. They also worry about clear text passwords being recorded in the security logs. So there's a trade off here. So yes, if you're doing scripts when you're putting Passwords in the scripts in order to be able to run that. Could that password be recorded in a log audit file? Absolutely could, but this is a trade off.
I would still trade that off. I don't put passwords in PowerShell scripts anyway, but let's say if I did, I would have that as a trade off as I would want to see what that end unobfuscated PowerShell command would be. Now, as we move over from transcription, we move over to script execution. So this is policies determine which scripts are allowed to run on a system. To prevent unintentional script execution. So this control can be easily circumvented. Just so you know, this is not a security control.
This is just a don't shoot yourself in the foot control. So you have script execution policies. And there's four policies. You can have restricted. Bypass, remote signed, and all signed. So some of these restrictions all can be circumvented. There's about 15 or 16 different ways of doing that. Being able to circumvent these script execution policies. So once again, don't use them for security. Just use them for what they're intended to ensure they don't run on the wrong systems. Now, some of the commands you can do to see what is your execution policy.
So you can get to a PowerShell command and do the get help space about underscore execution underscore policies. That'll tell you what your script execution policies are. And that'll be one area you definitely want to focus on. But the biggest area here when it comes to PowerShell scripting or PowerShell security and hardening is constrained language mode. So constrained language mode, you want to restrict access to commands that can invoke the Windows APIs. Default restrictions include creating instances of most com objects.
user add type to load arbitrary C sharp code, Win32 APIs, and some NET methods. What this means is that my PowerShell is a very powerful language. It can do a lot of different things. It's a whole C2 infrastructure if you want to be able to use it. But it's a very powerful language. platform, but it also allows you to tie into other things to extend it even further. So into that native API, be able to call different C code. That's exactly what they use to download malware is that Add-Type.
So I'll go over that really soon. Whenever they have a code and Add-Type on the side of it, And normally you'll see a URL, you're going to point to some code over there, and it's malicious. So here's some of the quick examples of some of the tactics that we're seeing. So on the screen encoding script contained in Base64. So for those who are on the audio only on the podcast here, so I have this function called invokeEvil. And that function has a variable called $code. And I put Base64 encoded malicious URL into that variable.
And then I run that string and I convert it from Base64 to code. And then I invoke that expression. That's a very basic way that this script runs. It takes base 64, assigns it to a variable, takes that variable, does a system. text. encoding out in Unicode, and formats that base 64, and then takes it and does an invoke expression. And that is invoking a function. That's another very powerful thing that you want to see. If you see invoke expression, or add type, that's definitely a sign
of something you want to take a look at now being resourceful. Most of these anti malware engines implement base 64 and coding emulation. What they'll do is they'll see Base64 in a code and decode it and emulate what it would do if it was allowed to execute. It does a lot of those different kind of tests and controls. Since we also implement Base64 decoding emulation, we're also ahead of time. On the second part of the screen here, you'll see encoding script with an XOR function. I wanted to include this.
A lot of times these malware writers, these threat actors will throw a chunk of data like XOR chunk of data into their obfuscation. What that does is just meant to break your analysis tools, meant to be this chunk of data you got to work around to figure out. What to do with. So it's just meant to mess you up. AMSI, the Anti Malware Scanning Interface. Now this is for you developers. When you're developing your PowerShell scripts, you want to be able to have it de-obfuscated. You want to have it tested against an antivirus engine and a lot of different things. Now imagine your application allows scripting.
It can accept and execute arbitrary scripts using a scripting engine. Now, when that script is ready to be executed, your application can utilize the Windows AMSI API to scan the content. Now, by integrating the AMSI, you can effectively detect and prevent script based threats. Now, ultimately, the scripting engine needs to process plain, unobfuscated code. This is a critical moment to invoke the AMSI APIs to ensure the script is safe before execution. This is a framework.
It allows you to be able to plug into this, whether you're doing PowerShell scripts, VB scripts, other applications, you're allowed to use some of their DLLs. You're also able to tie into third party antivirus engines that may already be on to that framework. So definitely want you to check out the AMSI. capabilities. Right here is a screenshot of an encrypted hypervisor. So this was on a a malware. Royal ransomware event that occurred the they hit the ESX I Hypervisor and
it was all 120 virtual machines were down and it was pretty nasty So there's the only picture we will get off of a guy's phone But you have to remember to your ESX I your VMware Hypervisor you want to ensure that's locked down from the root passwords to as well Fury if they compromise root password, they can get into the ESX I hypervisor and then encrypt it All your virtual machines. They don't have to go one by one. They can just encrypt the server that they're all on. And takes out all 120 of them at a time.
we want to talk about, what does good look like? I thought that was important to understand what good looked like. We talked about this earlier, cybersecurity success requires technical depth and business alignment. For the longest time coming up through the ranks, there was a lot of technical alignment, technical depth, but there was no real business alignment, business didn't know what to do. Mostly with it. So the way you want to start off is you take your industry You understand what your regulations your standards and what do you have to comply with from a business perspective? What are the frameworks that are in your industry where the contracts and insurance
requirements that you have there? What is some federal regulations that are required? What are just some security standards? That you want to make sure that you adhere to whether your business has PCI requirements because they take credit cards. What you want that to do is you move up from business to the depth of business integration on that top left quadrant, and that's risk aligned. So you want to have risk, cyber risk management. You want to have strategic threat intelligence. That's always very important. Most people pass on that. And you have to have security plus business partnerships to
be able to understand that. Now that moves to that right quadrant of cyber tradecraft So that's saying I need an incident response management program. I need a cyber fusion center where I'm melding these capabilities together. I need threat detection and engineering. I need threat hunting. I need continuous attack surface management for vulnerability management, so forth. So once I have tradecraft led capabilities that I need, that goes down to product vendor enabled. That's when I start looking at of who do I need in my prevent stack, my detect
stack, my response stack, and so forth. What products align to that? But what you'll end up seeing here is you'll see the complete opposite. And I swap this around. Most environments that actually fail to bring their technology and to drive cyber risk down, they do it because of this reason right here. They go from product vendor enabled. They start off with going, I like CrowdStrike. So I'm going to put CrowdStrike by the prevent. Now I'm going to go up to the top left and I'm going to see what Tradecraft can that product fit into?
Okay, I'll have to figure out what box that goes into. Okay, now I'm going to figure out where CrowdStrike goes into Cyber Risk Aligned And then into my regulations. What a backwards way of doing it. No wonder we're never successful doing this backward way. Once again, moving backwards, we want to be able to start off with our compliance, what are our risks, and we're not going to go the opposite. Now, how does that all come together in cybersecurity? How do you, at the deep seas level, how do you pick these services together
to deliver them in a comprehensive way to hundreds of customers versus the ability just to deliver. For yourself. So we structure that in this manner. It helps deliver services on our customer side, but this is just the most logical way of thinking about it anyway. So you have the platform based services, which is that outcome based managed service, like continuous 24x7 coverage, your threat detection orchestration, your behavior analytics, threat hunting. We do that through that 24x7 MDR. Managed detection and response for endpoint, network, OT, email, SIEM, and of
course you're logging through ThreatWatch. Now that's that blue box. Those are those technical capabilities that align. Now you have that really deep dark blue box over there. That's your OT assessments. Those are for organizations that are manufacturing, pharmaceutical, they have an operational technology environment, they have to account for we have capabilities there that are aligned as well. You're welcome. And then from a incident response perspective, so we have incident response. We have a retainer that we use through our partners. We have an internal incident response capability, but it's really aligned towards servicing other incident response companies.
We do not want to be a deferred company ourself. We're focused on providing platform based services to those type of companies. Now vSISO, that's a, that's an offering, that's one I run. We do virtual CISO advisory really three major flavors there. So you need a strategic advisor for only a few hours. A month versus you need someone who's riding shotgun with you on the program driving strategic change and remediation. Or do you need us to run the office of the ciso and be that entire capability
staff augment for deployed labor? So that's one of our our bread and butter services that we have there, and that all aligns towards and helps us with the goal. Of how does that get all put together? So when we build a cyber fusion center for a customer, we start to build these discrete functionality together with each other through playbooks, and those playbooks get implemented through technology. So you can see up at the top left here, you have the CISO function. The ciso puts in a request for intelligence. That intelligence goes to the CTI.
So what is a request for intelligence? Hey, I would like to understand what are the risks that my industry have and what are the risks I have, particularly given my. city, my geographical operating environment, giving my technology stack and a number of other factors. CTI helps to give contextualization to threat reports that are coming in and systems that may be affected. So right now there's vulnerability assessments that come out from every major vendor. Imagine having to pour through all those to figure out what's actionable, what's not. That's what your A. S. R. Function is or attack surface reduction.
Within attack surface reduction, you have harding of operating systems and servers and desktops and network equipment. But in ASR, you also have the patching and the software management pieces which are critical. You have incidents and you have C Search where there's a critical vulnerability, such as log4j or SolarWinds or one of those big ones that goes over to the vulnerability management team. And you can see that being escalated escalated to them. And then all that plays into a playbook where you have who
contacts who, when, where, and why. Always trying to get to that program delivering reduction and mean time to detect. This is where you'd have before where you have this big long line here at the top. Mean time to detect is the time that anomalous traffic is generated in an environment by the time that an alert is triggered manually. That time that comes over towards us. The alert there is deciphered in the CFC. CFC. CFC. And then it's made available, aligned, and then dispositioned where you have
a true positive or a false positive. Now they go into a notification period. Then that threat notification is acknowledged, then it's mitigated, and then we're in recover. So a lot of times, we'll come into a customer's environment, this is all broken, and the process doesn't even finish most of the time. So you want to be able to analyze that, use a platform to get to where afterward you have just a very streamlined approach towards how do you handle low level, high level threats. level one, level two events that are occurring. You use a product like Carbon Black, it's chatty as can be.
There's thousands of alerts that are popping out all the time. It's really hard to narrow and tune that down. We had to do a lot of tuning on that platform. Now, what are the top areas of focus? What we should focus on? That first one for me, Azure AD migrations, migration trip wires, this is happening a lot. So architecture change is not understood well enough to account for. for monitoring sensors, data flow, and tool rationalization. That's definitely one within that Azure migration column.
Then you have the second one is key key cloud security components are missing or overlooked. There's a rush to cloud for authentication, infrastructure, exposing complexity, exposing the company, O365 attacks, I went over that. A little bit earlier. MFA is still not universally deployed. I thought that would have been a no brainer. We would have had that a long time ago. But no, we still have MFA challenges. Now, the number two on the slot here is firewalls are getting breached regularly.
We're seeing ASAs, we're seeing checkpoints, we're seeing Fortnets. They're getting breached regularly here. Not keeping up with patch management and not having a good architecture for it is really the key here. There's a lot of security configurations people don't turn on. They turn them off. So really having someone knowing what they're doing, I always suggest like a firewall management service that's able to take that 24 by 7. They're monitoring the configuration, updating it, and so forth. When they do massive upgrades because of some patch, you at least know there is a team behind you that's doing it.
And so that's always very critical. PowerShell, number three, PowerShell lockdown. Restrictions are not enabled and attackers can easily run freely. We've seen a lot of this. Logging is not turned on by default. Logging configuration needs to decode Base64. And then you need to consider using digital signatures for certificates to verify those scripts in your environment. Also we talked about ad type and language type. Lockdown in earlier slides.
Now, new technology. Number four is new technology threats to detection. Artificial intelligence, forensics, artifacts model compromise, that kind of stuff. Poisoning and AI model. If you remember that story about that Google AI bot that became racist because it kept being fed racist comments. And so it developed that persona. So you can see where poisoning models is a possibility. And it does happen. Then you have a new shift in technology. We're having DNS over HTTP. New protocols, DOH, DOT. Now there's real risks here because normally in an IP network, you use
DHCP, you get your IP address, it assigns you your default gateway, it assigns you your subnet mask, and it assigns you your DNS servers. And that's so you know how to get out of your network, you know how to do name resolution, and so forth. So every time you go to any website or need any name resolution, UDP 53 over to your DNS server does it and we're able to collect those DNS logs to be able to do threat hunting later on what machine lookups are occurring is a very valuable piece of information. However, with this new protocol that's being turned on by default
now, and several of the browsers. So Firefox and Chrome, this is happening where they're turning this on. We've had two incidents that we were looking at and seeing DNS over HTTP. We didn't understand why that was happening, but it's happening at the browser level. Now you can think it makes a lot of sense. Now I can, from the provider level, not only provide you internet, HTTP, but I can also provide you your DNS settings settings in that stream. Now a lot of people From a security perspective, hate this because you're combining data and control plane over the same channel,
which you never want to have that. You want to have to control plane is separate. You're going to have the data in applications on a different kind of channel, but you will notice all of a sudden you have, I don't know, 10,000 DNS queries a month. All of a sudden goes to to 200 and you don't know why. Before you had to turn it on. Now you actually have to start to turn it off or you're not going to have that. The DNS records now move on to number five. We're still seeing remote access solution abused.
RDP is used extensively and should only be turned on in a JIt. mode. So just in time. I'll talk about that here in a minute. JIT Security controls just in time. And for instance, you don't have remote desktop access to that server full time. You go through a privileged access management request and say at Okay. I'm going to need to turn RDP on to that machine and give me the credentials I need in order to be able to do the service that I need, whatever the technical maintenance is now, once that period is over your RDP access and RDP services
removed from the server and your access is removed from the server to as well. So just in time is a much better security approach towards this rather than just having full blown RDP open everything. Okay. Always look at supply chain compromises. Continue MSP remote management products and services are the perfect target. If you look at Kaseya in 2021 they were used to spread ransomware to all their MSP customers. So everybody that we're doing business with they were able to use Kaseya to spread ransomware. So you always want to be critical of those who had access tools.
Make sure there's a prompting. And make sure that they can't just have access at any time. Number six is configuration drift and technology debt. We're still seeing cloud change management chaotic. I saw where we had a penetration on a server. We had a compromise of a server over RDP that was never supposed to be exposed to the Internet. It was accidentally given an outside IP address in Azure and assigned to it. And it became fully exposed to the Internet in that manner. And my day, you have to expose a server to the Internet.
You had to go pull the Cat5 cable out of the network interface card, go around to the front switch, and go plug it in there, and assign an outside IP address. But now you can just assign an address to an object, and it's very powerful, and so it does things that were unintended. So you've got to be careful about production change management. Definitely look at the Azure roles. They're awfully extensive. So you want to make sure people are put in the right permissions group and not giving extensive writes. But really start to tear at them because there's a lot of Azure rules to get to know.
Privilege access mismanagement. Excessively high user roles and permissions. Admins not following best practices. And then access reviews not being conducted. I've seen admins checking their email with their domain admin credentials and clicking on emails. So what do you think happens when you click on a phished email when you have domain admin? You're going to get compromised. Everyone's going to get owned. So we can only, in many cases, give security principles to the security admins to run for these companies, but we can't make them do it in some cases. So we've definitely got to be careful of administrative control.
We want to have a privileged access management system in play. Changing technology trends also is IPv6, engineering of AI. So you have people that are using generative AI in many different ways, as well as how I may use it in my podcast, where I do transcriptions and I have it write descriptions for the YouTube channel and so forth. That sounds very benign, but you can imagine if somebody was saying, please take this legal document with this very sensitive information and write this, or can you imagine someone taking. Okay.
medical record and say, Hey, write a diagnosis for this and hand it to somebody or something to that effect. There's a lot still to go on in regards. So that, but that's pretty much my presentation. I had more slides, but I really needed to keep it where it was under an hour. But if you want to find more information about this, please visit me at www. darkstack7. com and my podcast there. We'll have several links and a blog. Everybody have a good evening. Thank you. I look forward to talking to everyone soon. Look forward to some more episodes and y'all have a good evening and goodbye.
Thanks. Thanks for listening to this episode of Cybersecurity America on the Voice America Business Channel. We hope you've learned some valuable information to help you be a better executive leader and navigate today's complex world of cybersecurity. Until next week, stay secure.
What if the warning signs of a cyberattack, supply chain disruption, geopolitical crisis, or executive security threat are visible weeks before the event occurs? In episode 58, Joshua Nicholson sits down with Alex...
Artificial intelligence is reshaping cybersecurity - but in operational technology (OT), industrial control systems (ICS), and critical infrastructure, the most dangerous threats aren't coming from AI‑powered...
Episode 56: AI, Cybersecurity & the Future of Digital Resilience with Brad Hawkins AI is transforming cybersecurity at a breathtaking pace - but is it the greatest tool businesses can leverage, or the greatest threat...
Why do even the best cyber incident response playbooks fail during a real ransomware attack or data breach? Because the biggest vulnerability isn't in your systems - it's how leaders make decisions under pressure. In...
Episode 54: AI Agents, Identity Security, and the Future of Authentication with Geoffrey Mattson In this episode of Cyber Security America, host Joshua Nicholson sits down with Geoffrey Mattson, CEO of SecureAuth, to...