Latest / CyberCode Academy / Course 12 - Maltego Advanced Course | Episode 1: Maltiggo Transforms, Sets, and Essential Menu Actions
Transcript
- 0:00Speaker 1: Welcome to the deep dive. Today. We're really opening up
- 0:03Speaker 1: the engine bay of modern investigation. When you think about
- 0:06Speaker 1: high stakes work, you know, cybersecurity, o sind analysis, the
- 0:12Speaker 1: goal is always the same. You've got this ocean of raw,
- 0:15Speaker 1: noisy data, IP addresses, accounts, file hashes, whatever, and you
- 0:19Speaker 1: have to turn it into a clear picture, a structured
- 0:22Speaker 1: picture of connections.
- 0:23Speaker 2: Yeah, and fast, exactly. And the human mind is great
- 0:27Speaker 2: at spotting patterns, it really is, but it just crumbles
- 0:30Speaker 2: under the sheer volume of gata we're talking about now.
- 0:32Speaker 2: So the real challenge is speed and precision. How do
- 0:37Speaker 2: you find that one specific link, say, between an email
- 0:39Speaker 2: address and a piece of infrastructure, quickly enough for it
- 0:42Speaker 2: to actually matter.
- 0:43Speaker 1: That is the perfect question. That's exactly what we're diving
- 0:45Speaker 1: into today. We're focusing on the absolute fundamentals that make
- 0:48Speaker 1: these systems work, These automated functions that people call transforms.
- 0:52Speaker 1: We need to get into what they are, how analysts
- 0:54Speaker 1: organize them, and maybe most importantly, the shortcuts they use
- 0:57Speaker 1: every day to keep things moving.
- 0:58Speaker 2: A transform is well, think of it like a specialized
- 1:01Speaker 2: little micro robot. It takes one piece of data, an
- 1:05Speaker 2: entity like a domain name, and it automatically runs a
- 1:08Speaker 2: query to find out what's connected to it. And the
- 1:11Speaker 2: real skill of an investigator isn't having a thousand of
- 1:13Speaker 2: these things, it's knowing which five to run at exactly
- 1:17Speaker 2: the right moment.
- 1:18Speaker 1: Okay, let's unpack that engine then, starting with how you
- 1:20Speaker 1: actually run them. It seems obvious, but you have to
- 1:23Speaker 1: select something first, right, Yeah, you need to give it
- 1:25Speaker 1: an input.
- 1:25Speaker 2: You do, the transform has to start somewhere, and this
- 1:28Speaker 2: is where the design is pretty clever. Whether you write
- 1:32Speaker 2: clicks to get that context menu or you use a
- 1:34Speaker 2: dedicated panel in the application, the software does this crucial
- 1:38Speaker 2: filtering for you. It will only show you functions that
- 1:41Speaker 2: are relevant to the specific type of data you've though acted.
- 1:44Speaker 1: That filtering is so important. It must cut down on
- 1:46Speaker 1: all the noise. Yeah. So if I have an entity
- 1:48Speaker 1: that's say a person, I'm not going to see options
- 1:51Speaker 1: for for a.
- 1:52Speaker 2: Reverse DNS look up for example. Yeah, exactly. But if
- 1:55Speaker 2: you select something more complex, like a domain entity, that
- 1:59Speaker 2: list of Livant functions can get really, really long, and
- 2:02Speaker 2: that can be overwhelming.
- 2:03Speaker 1: So that's where the organization comes in.
- 2:05Speaker 2: That's where it has to come in to manage those
- 2:07Speaker 2: long lists, you group them into what we call transform sets.
- 2:10Speaker 2: That's your first layer of defense against clutter. And then
- 2:13Speaker 2: there's a second layer that comes in when you start
- 2:16Speaker 2: integrating external data sources, which are often called hub items.
- 2:20Speaker 1: Oh okay, so if I install a third party threat
- 2:24Speaker 1: intelligence feed, that whole package is a hub item.
- 2:27Speaker 2: That's it, and the menus will then sort first by
- 2:31Speaker 2: that hub item and then by the transform sets inside it.
- 2:34Speaker 2: It's a hierarchy. It lets you quickly find the tools
- 2:37Speaker 2: from your high quality, trusted sources versus, you know, the
- 2:40Speaker 2: more generic public ones.
- 2:42Speaker 1: That makes sense, so you can go straight to your
- 2:44Speaker 1: specialized malware package.
- 2:45Speaker 2: For example, right, and in that malware hub item you
- 2:48Speaker 2: might have specific sets for say, file hashing and network footprinting.
- 2:52Speaker 2: The analyst just knows instinctively where to go, and.
- 2:55Speaker 1: When you're in those menus, navigating quickly is key. How
- 2:59Speaker 1: do you tell the difference between a folder and something
- 3:01Speaker 1: you can actually run?
- 3:02Speaker 2: There are visual cues. A group or a set will
- 3:06Speaker 2: usually have a lighter background color, maybe a little plus
- 3:09Speaker 2: icon next to it that tells you to click to
- 3:12Speaker 2: drill down deeper. The actual runnable transform will look different,
- 3:16Speaker 2: usually a much darker almost black background and a little
- 3:20Speaker 2: play icon on.
- 3:21Speaker 1: The right, so you know, click here to execute, click
- 3:23Speaker 1: the name.
- 3:24Speaker 2: Or click the icon and it runs. But this is
- 3:26Speaker 2: where we have to put up a big warning sign.
- 3:28Speaker 2: Sometimes you'll see an option to run all the transforms
- 3:31Speaker 2: in a set all at once. It might have a
- 3:33Speaker 2: double play icon. This bulk action is dangerous.
- 3:37Speaker 1: Wait, really, I would think that's a huge time saver. Yeah,
- 3:41Speaker 1: but you're saying it's a risk. If I run that
- 3:43Speaker 1: on something with a lot of connections, like a big
- 3:44Speaker 1: company's email address, Am I going to get rate limited
- 3:48Speaker 1: or just I don't know, crash the graph?
- 3:50Speaker 2: You will, precisely. It's the definition of high risk, high reward.
- 3:55Speaker 2: It can spit out hundreds, maybe thousands of new entities
- 3:59Speaker 2: and seconds. If you don't have really robust high limit
- 4:02Speaker 2: data sources set up, you'll hit those rate limits instantly.
- 4:06Speaker 2: And yes, you could overwhelm the system's ability to even
- 4:09Speaker 2: draw the graph. You only use that book function if
- 4:11Speaker 2: you are absolutely certain of the scope of what you're targeting.
- 4:14Speaker 1: So a single wrong click could cost you hours and
- 4:16Speaker 1: cleanup hours easily.
- 4:18Speaker 2: Strategic caution is everything there.
- 4:20Speaker 1: Okay, So, assuming we're being careful analysts can customize this
- 4:24Speaker 1: organization right, create their own.
- 4:25Speaker 2: Sets absolutely, and they should. Customization is where the real
- 4:29Speaker 2: efficiency gains are. An analyst working on say network defense,
- 4:33Speaker 2: could make a custom set called initial recon and just
- 4:36Speaker 2: drag their top five whois lookups, ip checks and so
- 4:40Speaker 2: on into one bucket. It turns three four clicks into
- 4:43Speaker 2: just one.
- 4:43Speaker 1: And there are a couple of system generated sets that
- 4:46Speaker 1: help out too, right, I think there's an all set.
- 4:48Speaker 2: Yeah. The all set is a convenience thing. If you've
- 4:50Speaker 2: got a bunch of different groups. It just shows you
- 4:52Speaker 2: every single available transform for what you've selected, all in
- 4:56Speaker 2: one long list. It ignores the structure for a moment.
- 4:59Speaker 1: And what about the A favorite.
- 5:00Speaker 2: Set AH Favorites is special. It's a hidden set that's
- 5:03Speaker 2: based on your own usage. If you start a transform,
- 5:06Speaker 2: you use a lot, it goes in there. But here's
- 5:08Speaker 2: the catch that trips people up. The favorite set only
- 5:11Speaker 2: shows up if you've starred transforms that are relevant to
- 5:14Speaker 2: the specific type of entity you have selected right now.
- 5:17Speaker 2: It's context aware.
- 5:18Speaker 1: That's a subtle but important detail. And there's one more
- 5:21Speaker 1: shortcut right at the top, something called machines. It sounds intense.
- 5:27Speaker 2: It is intense and powerful. You'll see it at the
- 5:29Speaker 2: very top of the menu, sometimes in red to make
- 5:31Speaker 2: it stand out. A machine is just a pre configured workflow,
- 5:35Speaker 2: a sequence of multiple transforms that run in a specific order,
- 5:38Speaker 2: maybe with some logic built in. It's the highest level
- 5:41Speaker 2: of automation. One click can set off a thirty step investigation.
- 5:45Speaker 1: Wow. Okay, so that's the heavy artillery that brings us
- 5:49Speaker 1: perfectly from the transforms themselves to the other tools you
- 5:53Speaker 1: use to manage the workflow, the entity management shortcuts. If
- 5:57Speaker 1: transforms are the weapons, these are the tools that let
- 6:00Speaker 1: you move around the battlefield and clean things up.
- 6:02Speaker 2: That's a great way to put it. If you look
- 6:04Speaker 2: at that right click menu again at the bottom, there's
- 6:06Speaker 2: a little row of common functions. There are just shortcuts
- 6:09Speaker 2: to things you can find elsewhere, but they're the ones
- 6:12Speaker 2: you use constantly.
- 6:13Speaker 1: Some are obvious, like cut, copy, delete, but even copy
- 6:17Speaker 1: has a trick up its sleeve. There's an option to
- 6:19Speaker 1: copy as graph mL. What's that about.
- 6:22Speaker 2: Copying as graph mL? That's graph markup language is huge.
- 6:26Speaker 2: It means you're not just copying the little picture on
- 6:28Speaker 2: the screen, You're copying the entity, all of its data,
- 6:31Speaker 2: its properties. It's links the whole structure to your clipboard.
- 6:36Speaker 2: You can then paste that into a completely different graph
- 6:38Speaker 2: or even another tool, and it maintains all that rich data.
- 6:42Speaker 2: It's about data portability.
- 6:44Speaker 1: Okay, that's a pro move. What other quick actions are there?
- 6:46Speaker 2: You have Type actions, which is basically a quick look up.
- 6:49Speaker 2: It'll send the entiti's value straight to Google or Wikipedia
- 6:52Speaker 2: for a quick check, and send to URL, which lets
- 6:56Speaker 2: you push the data to some external service you might have,
- 6:59Speaker 2: and one that's surprisingly useful, clear or refresh images for
- 7:04Speaker 2: things like profile pictures exactly, social media profile pictures, website favicans,
- 7:10Speaker 2: things that change. This tells the system to ignore its
- 7:14Speaker 2: local cash and go grab the latest version from the source.
- 7:17Speaker 2: Just remember that only works if you're not in a
- 7:19Speaker 2: stealth mode, because you're making a direct call out to
- 7:22Speaker 2: that server.
- 7:23Speaker 1: Got it. Okay, Now for the big ones, the real
- 7:24Speaker 1: productivity boosters. The first one you mentioned is copy to
- 7:28Speaker 1: new graph. This sounds essential.
- 7:31Speaker 2: It is the single most important tool for keeping your
- 7:33Speaker 2: investigations sane. Imagine your main graph has thousands of entities.
- 7:38Speaker 2: It's complex. Now you want to experiment on just five
- 7:41Speaker 2: of them. If you run some aggressive, slow or risky
- 7:44Speaker 2: transform right there on your main graph. You could clutter
- 7:47Speaker 2: everything or worse, trigger something that stalls your whole workflow.
- 7:50Speaker 1: So the routine is you select your little cluster of interest,
- 7:55Speaker 1: you copy them to a new clean graph, a blank canvas,
- 7:59Speaker 1: and there you can run anything you want, no consequences,
- 8:02Speaker 1: no risk to the main investigation. That's a game changer,
- 8:05Speaker 1: it is.
- 8:06Speaker 2: It's an isolation chamber. You do your messy work there
- 8:10Speaker 2: and then the workflow loop closes. Once you find something
- 8:14Speaker 2: valuable in that side graph, you select it, copy it
- 8:17Speaker 2: and paste it back into your main investigation.
- 8:19Speaker 1: And the system is smart about that. When you paste
- 8:21Speaker 1: it back in, it knows that the IP address you're
- 8:24Speaker 1: pasting is the same one you copied out.
- 8:25Speaker 2: It does, and it triggers a merge function. It asks you, hey,
- 8:29Speaker 2: I see you already have this entity. Do you want
- 8:30Speaker 2: to merge them? But here's the crucial part. It also
- 8:33Speaker 2: asks you which entities properties should win.
- 8:37Speaker 1: Ah, So you have to decide if the new information
- 8:39Speaker 1: you just found is more important than the old information.
- 8:42Speaker 2: You have to you tell the system, yes, merge them,
- 8:45Speaker 2: and make the properties from this new entity the preferred ones.
- 8:48Speaker 2: That ensures your latest most accurate data persists.
- 8:51Speaker 1: Okay, next life saver change type. You mentioned how important
- 8:56Speaker 1: the entity type is for filtering. What if the system
- 8:59Speaker 1: gets it wrong. Say something comes back as a DNS name,
- 9:02Speaker 1: but you the expert, no, it's really a website.
- 9:05Speaker 2: And it happens more than you'd think. And if it's
- 9:08Speaker 2: stuck as a DNS name, you might not have access
- 9:10Speaker 2: to crucial website specific transforms like uh, look up exterial links.
- 9:15Speaker 2: Your investigation just hits a wall.
- 9:17Speaker 1: So change type lets you manually reclassify it. But that
- 9:21Speaker 1: feels like it relies one hundred percent on the analyst's
- 9:23Speaker 1: own expertise. What if you get it wrong.
- 9:25Speaker 2: That's the risk, but it's a necessary one. You should
- 9:28Speaker 2: only do it when you're sure, when your own external
- 9:31Speaker 2: research confirms the mismatch. When you use it correctly, though,
- 9:34Speaker 2: you instantly unlock a whole new set of tools for
- 9:37Speaker 2: that entity. It lets the human override the machine when
- 9:40Speaker 2: the machine gets it wrong.
- 9:41Speaker 1: It's a powerful override. Then there's the manual merge function.
- 9:45Speaker 1: This is for cleanup, cure cleanup.
- 9:47Speaker 2: You have a website entity and a DNS name entity
- 9:50Speaker 2: on your graph, and you know they're the same machine.
- 9:53Speaker 2: You select them both, hit merge and they collapse into one.
- 9:56Speaker 2: It pulls all the links from both into the new
- 9:59Speaker 2: single entity. It's just essential for keeping your graph readable.
- 10:03Speaker 1: And lastly, a simple one attach just.
- 10:05Speaker 2: A quick shortcut. It lets you link files, notes, screenshots,
- 10:09Speaker 2: any kind of evidence directly to an entity. You can
- 10:13Speaker 2: even tell it to display an attached image right on
- 10:16Speaker 2: the graph instead of the normal icon, which is great
- 10:19Speaker 2: for visual evidence.
- 10:20Speaker 1: So if we boil it down, the four big strategic
- 10:23Speaker 1: advantages here seem to be copy to new graph for
- 10:26Speaker 1: that risk free experimentation, change type for unlocking the right
- 10:30Speaker 1: tools when data is misclassified, merge for tiding up duplicates,
- 10:35Speaker 1: and attach for quick evidence logging.
- 10:37Speaker 2: Master those four routines and you go from just being
- 10:40Speaker 2: someone who looks at data to someone who architects a workflow.
- 10:43Speaker 2: It's about being really precise with your data management so
- 10:45Speaker 2: you can be aggressive with your.
- 10:46Speaker 1: Collection, which brings us to a final thought for you
- 10:49Speaker 1: to consider. Imagine you found a critical but sensitive piece
- 10:53Speaker 1: of data, maybe a financial transaction ID linked to an adversary.
- 10:57Speaker 1: You need to run a bunch of slow proprietary transform
- 11:00Speaker 1: on it, but you absolutely cannot risk messing up your
- 11:03Speaker 1: primary investigation graph. If you use that copy paste routine
- 11:07Speaker 1: to test and then integrate the results, which two functions
- 11:11Speaker 1: are absolutely mandatory when you paste back. And why is
- 11:14Speaker 1: getting the property preference right so critical for the success
- 11:18Speaker 1: of that whole operation.
- 11:19Speaker 2: Think about that whole cycle, the isolation, the experiment, and
- 11:22Speaker 2: then the seamless controlled return of that new data. How
- 11:26Speaker 2: do you bring it back home without making a mess
- 11:28Speaker 2: or losing what you already had. It's all about that
- 11:30Speaker 2: controlled integration