1 00:00:00,000 --> 00:00:05,080 We're going to start our next talk in just one minute. It's going to be by Russell, and 2 00:00:05,080 --> 00:00:09,440 it's going to be on effective log and event management. Thank you. 3 00:00:16,260 --> 00:00:24,140 All right, thanks, guys. This is great. The turnout here is amazing. I hope everybody 4 00:00:24,140 --> 00:00:30,380 sticks around the Blue Team Village. You know, check out the CTF and everything else that's 5 00:00:30,380 --> 00:00:37,220 going on. So I'm here today to talk about effective log and events management. I work 6 00:00:37,220 --> 00:00:42,460 for a small federal government contractor in the D.C. area, and we run systems and have 7 00:00:42,460 --> 00:00:48,880 to maintain FISMA ATO. And so my department is actually responsible for IT ops and for 8 00:00:48,880 --> 00:00:54,120 security, because it's a small company, like I said. So for us, monitoring and monitoring 9 00:00:54,140 --> 00:00:59,160 log and events management, it's essential for IT ops to ensure availability, performance, 10 00:00:59,560 --> 00:01:04,340 and utilization, as well as for information security, you know, and for compliance, to 11 00:01:04,340 --> 00:01:08,540 detect malicious activity and show that we actively monitor our environment and review 12 00:01:08,540 --> 00:01:12,740 our logs to satisfy the audit and compliance requirements. So in the presentation today, 13 00:01:12,880 --> 00:01:17,080 I'm going to share with you the process that my team and I have developed to effectively 14 00:01:17,080 --> 00:01:22,640 manage logs and security events in our environment. Because we're not a large business, we had 15 00:01:22,640 --> 00:01:23,560 to develop a process. 16 00:01:24,140 --> 00:01:24,300 ... IC11 Five- для 17 00:01:24,300 --> 00:01:28,700 rather than purchasing a big시면ing SIM. And we prefer to manage everything almost 18 00:01:28,700 --> 00:01:34,360 entirely internally rather than hiring vendors and outsourcing. You know, to retain knowledge. 19 00:01:34,880 --> 00:01:40,160 So there are going to be lots of examples in the presentation of tickets, actual tickets 20 00:01:40,160 --> 00:01:44,360 output from our environment. So I was going to invite everyone to move forward to see 21 00:01:44,360 --> 00:01:49,540 but we're pretty packed. But I'm actually happy here that the setup with the slides 22 00:01:49,540 --> 00:01:53,900 and the wall, you'll be able to see pretty well what I'm talking about. So I'm going 23 00:01:53,900 --> 00:01:57,800 going to do a quick overview of what we do and why, and then I'll get into lots of examples 24 00:01:57,800 --> 00:02:01,620 to show you. It's a lot of slides. I'm going to go pretty fast because it's a short talk, 25 00:02:01,980 --> 00:02:05,320 and I'm probably not going to have any time for questions. If you want to chat, I'm going 26 00:02:05,320 --> 00:02:09,160 to hang around for a while. I'll just move to the back of the room. Please feel free 27 00:02:09,160 --> 00:02:13,100 to come up. We can talk about what I do, what you do, pros and cons. It's all good. 28 00:02:15,780 --> 00:02:20,640 Briefly, why is monitoring important? Monitoring improves your IT operations and your knowledge 29 00:02:20,640 --> 00:02:24,620 and visibility into your environment. It improves your situational awareness and knowing 30 00:02:24,620 --> 00:02:29,400 what your baseline statistics are, i.e., what is normal. The more you monitor and review 31 00:02:29,400 --> 00:02:33,020 your IT ops, the better your situational awareness and knowledge of what's normal will be. 32 00:02:33,760 --> 00:02:38,280 Second, monitoring is important to information security in order to identify and detect malicious 33 00:02:38,280 --> 00:02:43,720 activity and breaches, and proper logging is critical to incident response. Third, monitoring, 34 00:02:43,900 --> 00:02:49,900 particularly documented daily review, is required for many compliance requirements. According 35 00:02:49,900 --> 00:02:50,620 to the latest Veritas, it's important to monitor and review your IT ops, and it's 36 00:02:51,240 --> 00:02:51,880 important to monitor and review your IT operations. Fourth, monitoring, particularly documented 37 00:02:51,880 --> 00:02:56,340 The graphics came out last week. You can find a link to it on Twitter. Internal log 38 00:02:56,340 --> 00:03:01,380 review is the least used method for discovering breaches in 2017. I find that astounding. 39 00:03:01,420 --> 00:03:05,600 I don't know if you do, but I find that astounding. According to their data, the number one 40 00:03:05,600 --> 00:03:12,320 method for discovering breaches in 2017 was reported by an external customer, followed 41 00:03:12,320 --> 00:03:17,540 by employee, then fraud detection, then third parties, such as external monitoring 42 00:03:17,540 --> 00:03:20,620 services. So why aren't organizations identifying breaches from internal security services? 43 00:03:20,620 --> 00:03:25,220 I suspect it's because fewer are dedicating the resources it takes to adequately perform, 44 00:03:25,900 --> 00:03:29,660 but without it, you're exposing your business reputation and allowing breaches to go undetected. 45 00:03:30,220 --> 00:03:35,500 A recent FireEye report said that it takes 146 days for breaches to be detected. Other 46 00:03:35,500 --> 00:03:40,420 reports have said anywhere from 99 to 500 or more days. Monitoring is critical for incident 47 00:03:40,420 --> 00:03:43,780 detection. You don't want to wait for a customer or Brian Krebs to notify you that you've had 48 00:03:43,780 --> 00:03:49,760 a breach. So daily manual review of log exceptions is a key to security operations and incident 49 00:03:49,760 --> 00:03:50,160 detection. 50 00:03:51,220 --> 00:03:56,620 If this is new to you, you're asking, well, how do I go about daily log review? Well, first 51 00:03:56,620 --> 00:04:01,240 you have to decide what to log and monitor. So this is a diagram from a blog post by Jessica 52 00:04:01,240 --> 00:04:05,340 Payne called Monitoring What Matters, and this is what Microsoft's incident response 53 00:04:05,340 --> 00:04:10,280 team often finds when they're called in to do IR. Many organizations either log way too 54 00:04:10,280 --> 00:04:14,240 much without the proper context or not enough, nothing other than the system default logging 55 00:04:14,240 --> 00:04:18,720 capability. You need to decide what logs to gather and review based on your business needs 56 00:04:18,720 --> 00:04:20,600 and not the, you know, and the resources you need. So this is a diagram from a blog 57 00:04:20,620 --> 00:04:20,640 post. 58 00:04:20,640 --> 00:04:22,900 This is first of all the log source you have to analyze them. And then you have to set 59 00:04:22,900 --> 00:04:27,300 up tools to manage and process your logs so you're not drinking from a fire hose. So these 60 00:04:27,300 --> 00:04:31,720 are some of the log sources you should focus on. Your server logs, windows event logs 61 00:04:31,720 --> 00:04:37,040 and syslog, security tool and network device logs, maybe even web proxy logs, DNS request 62 00:04:37,040 --> 00:04:41,780 logs, lots of information in there, right. And logs from your applications, especially 63 00:04:41,780 --> 00:04:46,760 if you're hosting systems, tracking log ins and user activity, looking for other anomalies. 64 00:04:47,160 --> 00:04:50,600 And logs from endpoint devices, using tools like Windows sysmon or you know, your kind of 65 00:04:50,620 --> 00:04:56,020 mobile device management products. So in determining your monitoring strategy, you need to determine 66 00:04:56,020 --> 00:04:59,620 what's critical to the business. And that can vary depending on the type of business 67 00:04:59,620 --> 00:05:03,780 you are, right? A retail business is going to have really different needs and resources 68 00:05:03,780 --> 00:05:09,320 to spend on monitoring than a government contractor or an information security company. This may 69 00:05:09,320 --> 00:05:13,940 be determined for you, depending on compliance requirements, if you have to meet PCI, HIPAA, 70 00:05:14,060 --> 00:05:18,380 FSMA, GDPR, et cetera. The hard work is in tuning the monitoring system to your environment. 71 00:05:19,320 --> 00:05:24,020 And this is where a log management system or a log correlator or SIM comes in. They 72 00:05:24,020 --> 00:05:28,880 allow you to centralize your log data, correlate, index, and ultimately do stuff with your logs, 73 00:05:28,980 --> 00:05:33,300 like writing searches to track activity from a specific user or IP address, and turn the 74 00:05:33,300 --> 00:05:38,780 log data into actionable information. So at my company, we use Splunk. There are plenty 75 00:05:38,780 --> 00:05:44,440 of products in this market, including the Blue Team Village sponsor, GreyLog. Splunk 76 00:05:44,440 --> 00:05:48,360 is free for indexing up to a gig a day. I believe GreyLog is free for up to five days. 77 00:05:48,360 --> 00:05:52,860 So you don't have to buy a license to use these tools. It obviously depends on how 78 00:05:52,860 --> 00:05:56,980 large your environment is. But after that, they usually tend to charge you based on how 79 00:05:56,980 --> 00:06:01,460 much log data you ingest per day. So at its core, these tools are log aggregators 80 00:06:01,460 --> 00:06:05,060 and indexers. They give you the ability to search and correlate log data or just look 81 00:06:05,060 --> 00:06:09,400 for stuff. There are also lots of dashboards you can download or purchase to help you analyze 82 00:06:09,400 --> 00:06:14,060 the data from different vendors. And then you can write searches to produce the results 83 00:06:14,060 --> 00:06:18,340 that you need to review. You can save those searches. And then you can 84 00:06:18,360 --> 00:06:24,180 run them on a schedule, like a cron or a scheduled task. So when you run those searches, 85 00:06:24,480 --> 00:06:31,040 you then send the results in an email to some type of ticket management system. You're going 86 00:06:31,040 --> 00:06:36,400 to write searches to look for things like daily VPN logins, admin logins, root logins, 87 00:06:36,480 --> 00:06:42,220 etc. Once you have a log management system and you've tuned the searches, you need to 88 00:06:42,220 --> 00:06:46,640 set up a process to review them. And this is where you need to use a ticketing system. 89 00:06:46,800 --> 00:06:48,340 So we use RT. Has anyone heard of RT? I don't know if you've heard of it, but it's a good 90 00:06:49,600 --> 00:06:53,580 name. Okay, great. A few people have. So RT, it's a web-based ticketing system or issue 91 00:06:53,940 --> 00:06:58,160 tracking system, as they call it. It's actually written in Perl, believe it or not. And it 92 00:06:58,160 --> 00:07:03,380 was first released in 96, but it's still actively maintained. It's a great, lightweight, free 93 00:07:03,380 --> 00:07:09,400 ticketing management system. These tickets have standard information like you would see 94 00:07:09,400 --> 00:07:13,360 in most issue tracking systems, like when it was created, the owner, the priority, etc. 95 00:07:14,420 --> 00:07:18,320 And the search results screen, you know, you can search based on most of the ticket features. 96 00:07:19,860 --> 00:07:25,320 So our log in events management process is pretty simple. You configure logging and send all of your 97 00:07:25,320 --> 00:07:30,520 logs to your indexer. Then you develop and automate the running of searches that produce output of 98 00:07:30,520 --> 00:07:35,180 data that you care about, like administrator logins. Then you email those results into a 99 00:07:35,180 --> 00:07:40,060 ticketing system, automate it on some kind of schedule, and then you review them on a daily 100 00:07:40,060 --> 00:07:47,080 basis. Here's a workflow diagram. So I can't see it on my screen, so I'm going to look over here. 101 00:07:48,340 --> 00:07:52,120 Like I talked about, on the far left, you've got all your logs, right? Servers, routers, switches, 102 00:07:52,400 --> 00:07:57,440 infrastructure, databases. You're feeding them into some type of correlator. We're just using 103 00:07:57,440 --> 00:08:02,680 Splunk, that's why that's there. So with the data that's there, we develop searches. We have 104 00:08:02,680 --> 00:08:07,760 some one to five minute or like real time searches that look for high severity issues. And when 105 00:08:07,760 --> 00:08:13,440 those come up, they actually send alerts to our team and, you know, we'll go look and figure out 106 00:08:13,440 --> 00:08:17,940 what's going on and resolve the issue. And then we have all of the daily tickets that we 107 00:08:17,940 --> 00:08:25,420 review on a daily basis. And so those are like IT ops things, like backup success and failure, 108 00:08:25,980 --> 00:08:29,920 security things, system access and authentication, even customer support tickets. Like you can 109 00:08:29,920 --> 00:08:35,620 throw everything in there. So we review those tickets, like I said, on a daily basis. If the 110 00:08:35,620 --> 00:08:40,200 ticket, you know, your original search produces way too much data, like, you know, 18 screens of 111 00:08:40,200 --> 00:08:44,220 stuff, which isn't reasonable to review every day, or there's not enough, we'll go back and modify 112 00:08:44,220 --> 00:08:47,920 the search and output criteria to continually improve the results and the performance. And then 113 00:08:49,100 --> 00:08:54,920 what's great, if you have to meet compliance requirements, like we do SSAE 16, or SOC audits, or 114 00:08:54,920 --> 00:08:58,900 if you have to meet FISMA compliance or anything else, when our auditors come out, they know about 115 00:08:58,900 --> 00:09:03,580 this process. So they ask me, you know, Russell, what's changed in the last year? What are you 116 00:09:03,580 --> 00:09:08,480 doing that's new? And then they say, okay, give me all your tickets for these five weeks. And I 117 00:09:08,480 --> 00:09:12,280 simply, like, create PDFs of everything and throw them at them. And they go through and review them 118 00:09:12,280 --> 00:09:16,460 and just ask me questions. So that's way easier than having to, like, go through and explain all 119 00:09:16,460 --> 00:09:17,920 kinds of things, showing them how you review them. So that's a great way to do that. And then, you 120 00:09:17,920 --> 00:09:23,120 review logs. Having all the history documented that you close them every day, at least for us, 121 00:09:23,200 --> 00:09:30,380 satisfies our auditors. So we use this process to generate about 50 daily tickets. Here's a list of 122 00:09:31,000 --> 00:09:35,500 the subjects for some of those tickets. Next, I'm going to start reviewing some examples in 123 00:09:35,500 --> 00:09:42,840 detail until I run out of time. So this is our VPN user's ticket. And the output here, it comes 124 00:09:42,840 --> 00:09:47,780 from our VPN endpoint. And so in the left-hand column, you see that's, you know, 125 00:09:47,920 --> 00:09:54,560 VPN endpoint. And then you've got your username, the action, timestamp, of course. And then on the 126 00:09:54,560 --> 00:10:01,260 far right, we've got the FQDN rather than the IP address. And the reason that we did that is 127 00:10:01,260 --> 00:10:05,100 because we're a pretty small company in the D.C. area. And we know where most of our people live, 128 00:10:05,420 --> 00:10:13,020 right? So we review this every day. And if we see that, you know, Todd logged in from Mexico and we 129 00:10:13,020 --> 00:10:17,500 didn't know he was in Mexico, then, you know, we're going to go ask and find out, is he on vacation? 130 00:10:17,940 --> 00:10:23,340 Or do we need to do IR with this? You know, what's going on? Even more local than that, 131 00:10:23,400 --> 00:10:27,840 you can see in some of the FQDNs, Baltimore, Maryland, Fios. I think there's one that says D.C., 132 00:10:27,840 --> 00:10:32,380 right? So people have actually become accustomed to this. They know we're looking now. And so 133 00:10:32,380 --> 00:10:36,580 when people are going on vacation, they come to us and they're like, hey, guys, I'm going on 134 00:10:36,580 --> 00:10:40,920 vacation next week. So if you see an unusual login, don't go to my boss and ask them what I'm 135 00:10:40,920 --> 00:10:46,060 doing, right? They don't like you have to go to their boss and ask, like, what is Bob doing? 136 00:10:47,920 --> 00:10:52,080 All right. This is our RDP logins daily ticket. If you don't know what RDP is, that's remote 137 00:10:52,080 --> 00:10:56,540 desktop protocol for Windows. It's the way you remotely log into a Windows machine, right? So 138 00:10:56,540 --> 00:11:01,580 here we get the time stamp again. And this one we have source IP address, but I might have 139 00:11:01,580 --> 00:11:06,400 blocked those all out. The username, the server name, whether or not they successfully logged in. 140 00:11:06,500 --> 00:11:10,400 Again, this allows us to look for what's normal versus anomalous activity. Because we're a 141 00:11:10,400 --> 00:11:13,600 pretty small environment, we actually look at all the successes every day, not just the fails, 142 00:11:13,720 --> 00:11:17,820 right? Bigger companies can't do that. It's just way too much information. But as a 143 00:11:17,920 --> 00:11:21,560 smaller company, we look at the successes as well, and we tend to know when people are logging 144 00:11:21,560 --> 00:11:25,240 in. So if we see something at an unusual time, we might go ask them, why did you log in at 3 a.m. 145 00:11:25,300 --> 00:11:29,860 last night? We never see you log in after, like, 7 o'clock. Again, you want to know what's 146 00:11:29,860 --> 00:11:34,420 normal in your environment to help you find anomalous activity, right? This is a system 147 00:11:34,420 --> 00:11:39,180 daily ticket that shows automated logins. This is a Linux box. You can see SSHD logins, but it's 148 00:11:39,180 --> 00:11:44,040 the same type of ticket. And we review these every day. This is our daily outbound attachments 149 00:11:44,040 --> 00:11:47,900 ticket. So these are e-mail attachments from our organization. This is our daily outbound 150 00:11:47,920 --> 00:11:51,840 authorization going outbound. It's sort of a high-level DLP because we can scan the names of all 151 00:11:51,840 --> 00:11:57,580 the files leaving the building and look for anomalies or things that look bad. For example, if 152 00:11:57,580 --> 00:12:01,200 it says something goes out that says salary in it from HR, maybe going to the HR person's 153 00:12:01,200 --> 00:12:05,280 personal e-mail address, we would go inquire as to what's going on there. Or an executive 154 00:12:05,280 --> 00:12:09,240 e-mailing something called, like, transfer authorization that wouldn't be normal, you'd want 155 00:12:09,240 --> 00:12:13,520 to figure out what's going on. You know, you can just watch out for unusual or potentially bad 156 00:12:13,520 --> 00:12:17,900 activity simply by reviewing this. You know, obviously this isn't a DLP system. It's not a 157 00:12:17,920 --> 00:12:21,540 solution, right? They do way more than this. But it's a good place to start if you're on a 158 00:12:21,540 --> 00:12:26,380 budget. It's also maybe a good manual process if you do have automated DLP, but you're not really 159 00:12:26,380 --> 00:12:30,400 looking at what people are e-mailing out. Again, this is going to depend on the size of your 160 00:12:30,400 --> 00:12:34,620 environment if you can do this. This is a daily OWA connections ticket. So this is actually, 161 00:12:35,220 --> 00:12:38,420 right, your iPhone or your Android device. If you're running Exchange in your environment 162 00:12:38,420 --> 00:12:44,540 yourself, you can produce this output. And this is showing IP address people, IP addresses people 163 00:12:44,540 --> 00:12:47,160 are connecting from and their device ID. 164 00:12:47,920 --> 00:12:52,740 So what would be interesting here? Maybe a large number of device IDs when we know the person 165 00:12:52,740 --> 00:12:58,300 has, like, a phone and an iPhone and not more than that. Or maybe the same IP or range of IPs 166 00:12:58,300 --> 00:13:02,820 trying to log in as lots of different users, especially ones that don't exist in our 167 00:13:02,820 --> 00:13:08,000 environment. This is an example of a proxy violations alert. So this isn't a daily. This is 168 00:13:08,000 --> 00:13:12,020 one of those real-time tickets. And this actually runs, I think, every 15 minutes. But we get 169 00:13:12,020 --> 00:13:15,320 this when a user attempts to browse somewhere to a site that's blocked by our proxy config. 170 00:13:18,080 --> 00:13:21,740 Something else we look at on a daily basis, this is our daily building access ticket. Because we're 171 00:13:21,740 --> 00:13:25,800 pretty small, again, it's not a huge amount of data. So we have a ticket I review every day that shows 172 00:13:25,800 --> 00:13:31,400 every swipe with every key card in our building. I look at it, you know, for unusual activity, like 173 00:13:31,400 --> 00:13:36,840 failed swipes into restricted areas or people trying to access things after hours. We get the 174 00:13:36,840 --> 00:13:41,040 time stamp for the swipe, the keyholder name, the building location and the result, access granted 175 00:13:41,040 --> 00:13:44,460 or access denied. It's a quick way to look for unusual activity. And I've talked to other folks 176 00:13:44,460 --> 00:13:47,880 and they say, you know, there's no way I can't look at that. It's too much. And maybe they'll look at 177 00:13:47,920 --> 00:13:51,220 fails or they get automated alerts when someone tries to go to the data center and doesn't have 178 00:13:51,220 --> 00:13:57,320 access. But if your environment isn't that large, you might want to look at who does go in for 179 00:13:57,320 --> 00:14:00,280 successes. We've spotted things that are unusual. We've had to figure out what's going on. 180 00:14:02,560 --> 00:14:08,840 So in order to monitor file integrity on servers, we use Tripwire as well as some other tools and 181 00:14:08,840 --> 00:14:12,880 generate daily tickets to review the output from those. Like this is an example daily Tripwire 182 00:14:12,880 --> 00:14:17,760 ticket. We actually separate them so we get a ticket every day for Linux servers, a ticket every 183 00:14:17,760 --> 00:14:24,580 day for Windows and a ticket for Solaris, if anyone knows what Solaris is. It shows changes 184 00:14:24,580 --> 00:14:31,560 since the last baseline. So these are file changes and things like changes to reg keys. This is our 185 00:14:31,560 --> 00:14:36,800 daily DFS ticket. DFS for the uninitiated is the Windows distributed file system. It's basically 186 00:14:36,800 --> 00:14:42,060 Windows file shares, but it's distributed across multiple servers. And so here we're looking for, 187 00:14:42,200 --> 00:14:46,340 we're looking at certain shares. We don't look at all of the changes to DFS because even a small 188 00:14:46,340 --> 00:14:47,740 company, that's huge. You know, it's really a lot of data. But we're looking at all of the changes 189 00:14:47,760 --> 00:14:53,700 and it's really noisy. But we look at like the HR documents or proposals folder, things like that, 190 00:14:53,800 --> 00:14:58,320 and look for unusual activity. This is again maybe more for like insider threat type of review, 191 00:14:59,740 --> 00:15:03,100 but it shows us if people are snooping around and trying to get access to things that they 192 00:15:03,100 --> 00:15:08,720 shouldn't. We monitor logs from our network security devices and tools such as our firewalls, 193 00:15:08,720 --> 00:15:13,000 routers, intrusion prevention and detection, and web application firewalls and from our 194 00:15:13,000 --> 00:15:17,440 vulnerability scanners. So this is an IPS daily ticket. It shows the number of IPS 195 00:15:17,760 --> 00:15:22,620 alerts per signature or control type. We use this to look for different patterns in the type of alerts 196 00:15:22,620 --> 00:15:29,280 our IPS is detecting. This is a real time alert from an IDS. It matched a signature for an exploit 197 00:15:29,280 --> 00:15:36,640 kit. I think it was Angler. And so you see we get time stamped, right, the destination IP, the URI. 198 00:15:37,840 --> 00:15:41,820 And when we get these real time alerts, we take a quick look at them and use them to determine if we 199 00:15:41,820 --> 00:15:46,020 need to, you know, dive into IR or do any more investigating. Obviously you get a lot of false positives. 200 00:15:47,760 --> 00:15:51,900 So endpoints are arguably the most important asset to monitor because that's where your users can do stuff. 201 00:15:52,620 --> 00:15:57,700 We use a standard commercial antivirus product for one layer of detection and it automatically sends us text and 202 00:15:57,700 --> 00:16:03,640 generates a ticket when an AV signature is hit. We also conduct a daily review of pattern file updates and the 203 00:16:03,640 --> 00:16:09,980 status of agents. But most valuable in our environment, we've deployed Sysmon across all of our workstations and 204 00:16:09,980 --> 00:16:15,820 Windows servers. And Sysmon is configured to alert us to potential malicious behavior on endpoints based on 205 00:16:15,820 --> 00:16:17,260 search queries that we've configured. 206 00:16:17,760 --> 00:16:21,780 This is an antivirus alert from one of our endpoints, notifying us of possible malware infection. 207 00:16:23,400 --> 00:16:32,840 For Sysmon, we use the Swift on security config as a baseline and we modified it for our environment, mostly excluding the items that don't apply to us. 208 00:16:34,760 --> 00:16:41,400 Before Sysmon, our endpoint visibility was pretty limited with no ability to monitor behavior and activity on endpoints. 209 00:16:42,180 --> 00:16:46,380 We deployed Sysmon and Splunk forwarders to the endpoints. 210 00:16:47,760 --> 00:16:55,020 You know, it sends all the data from Sysmon into Splunk and we run searches to generate alerts on malicious activity and also for daily review. 211 00:16:57,380 --> 00:17:00,500 We're working on integrating the MITRE ATT&CK framework into this as well. 212 00:17:01,640 --> 00:17:05,500 So we have Sysmon alerts generated for all of these types of activities. 213 00:17:06,520 --> 00:17:10,380 Unauthorized image activity. You can read them all there. I'm going to go through a few slides. 214 00:17:11,060 --> 00:17:17,500 This is an unauthorized image activity alert. So this was triggered by, I think this is an image launching 215 00:17:17,760 --> 00:17:23,160 command.exe. This is a Sysmon suspicious child process alert. 216 00:17:23,820 --> 00:17:27,680 This is looking for malicious processes coming out of office docs. 217 00:17:29,900 --> 00:17:32,740 This is an example of a Sysmon potential network outbreak. 218 00:17:33,180 --> 00:17:38,240 So this is triggered when one endpoint connects to more than four destination IPs in a five-minute period. 219 00:17:38,520 --> 00:17:44,000 So we tuned this for our environment. This is more than the normal number of outbound connections. 220 00:17:44,160 --> 00:17:47,680 So that's the number we landed on for deciding, you know, we want to see 221 00:17:47,760 --> 00:17:50,400 those so we can go look and see if this is an indicator of compromise. 222 00:17:52,780 --> 00:17:56,140 This is an example of a Sysmon suspicious RegServer32 process. 223 00:17:56,460 --> 00:17:59,460 If you didn't know, RegServer32 can load remote malicious script files. 224 00:17:59,920 --> 00:18:01,760 This is right out of the MITRE ATT&CK matrix. 225 00:18:03,600 --> 00:18:09,000 We also monitor output data, including print jobs, rights to optical media, and USB storage device activity. 226 00:18:09,460 --> 00:18:12,920 This is a daily Windows print jobs ticket. This shows us all the Windows print jobs, 227 00:18:13,600 --> 00:18:17,740 including the username, the source PC, the note pages, the printer, and the time of the job. 228 00:18:17,760 --> 00:18:19,220 And the document name. 229 00:18:19,440 --> 00:18:23,480 So most of the TAP, this is kind of like looking for anomalies, looking for insider threat, 230 00:18:23,640 --> 00:18:26,220 looking for people trying to print things and steal them, things that they shouldn't be. 231 00:18:28,660 --> 00:18:30,460 This is a Sysmon USB usage alert. 232 00:18:30,880 --> 00:18:34,180 So from Sysmon, we generate these whenever there's a USB storage device activity. 233 00:18:34,580 --> 00:18:37,320 In this case, it's a Kingston Data Traveler thumb drive. 234 00:18:37,640 --> 00:18:42,600 So we block USB mass storage devices, but before we set up these alerts with Sysmon, 235 00:18:42,800 --> 00:18:44,720 we want to get log data when use was attempted. 236 00:18:45,100 --> 00:18:47,060 So with Sysmon, we now can get that. 237 00:18:47,760 --> 00:18:47,980 And we can then review. 238 00:18:49,440 --> 00:18:52,880 Lastly, this is an example of a Sysmon Attempted Removable Media Right to DVD, 239 00:18:53,200 --> 00:18:55,560 notifying us of an ISO burning program being launched. 240 00:18:56,060 --> 00:18:58,840 Again, we block removable media, but we still want to know about the attempt. 241 00:19:00,880 --> 00:19:02,020 So what about cloud monitoring? 242 00:19:02,580 --> 00:19:07,900 Well, we have a Splunk for AWS app, which ties directly into AIM and pulls down AWS logs. 243 00:19:08,280 --> 00:19:12,660 So with these, we're looking for the same types of things, just in the AWS cloud instead of on-prem. 244 00:19:13,100 --> 00:19:17,120 That's why every action within AWS is based on an API call. 245 00:19:17,260 --> 00:19:17,740 That's why every action within AWS is based on an API call. 246 00:19:17,740 --> 00:19:19,380 User additions, permission changes, et cetera. 247 00:19:19,960 --> 00:19:24,220 We create rules to almost like an IDS, looking for abnormal behavior. 248 00:19:24,620 --> 00:19:29,200 And we pull from CloudWatch, CloudTrail, AWS Config, and VPT flow logs. 249 00:19:29,920 --> 00:19:33,360 So briefly, this is the AWS app in Splunk. 250 00:19:33,440 --> 00:19:37,500 It provides a dashboard giving you a nice high-level overview of user activity. 251 00:19:39,880 --> 00:19:45,940 This is a custom search rerun that reports on AWS console authentications, both failures and successes. 252 00:19:48,160 --> 00:19:48,700 So this is a custom search rerun that reports on AWS console authentications, both failures and successes. 253 00:19:48,700 --> 00:19:52,580 To wrap up, again, this is all the slides showing our log and events management process. 254 00:19:53,040 --> 00:19:54,580 So I'll leave this here for a couple of minutes. 255 00:19:55,300 --> 00:20:01,080 You know, implementing this process, as I've described, this will enable you to understand what normal ITOps look like, 256 00:20:01,580 --> 00:20:05,180 maximize your detection capabilities, and it'll help you perform incident response. 257 00:20:05,540 --> 00:20:08,300 Also, very important, again, compliance requirements for your auditors. 258 00:20:08,680 --> 00:20:15,220 You can implement this with the tools that I mentioned, Syslog, Splunk, RT, or any other combination of log management and ticketing system. 259 00:20:16,660 --> 00:20:17,720 So that's it. I just want to say thanks. 260 00:20:17,740 --> 00:20:21,940 leave that there for everyone if you want to take a look at it and I'll be right back. Thank you.