Leveraging Custom Actions in NetWitness Investigator
August 30, 2010 Malware Analysis, Network Forensics, Network Visbility, pentesting, Situational Awareness 1 CommentOne of the lesser-known features that was recently introduced in NetWitness Investigator are Custom Actions. Have you ever been analyzing a pcap in Investigator and thought “I wish there was an easy way to push this information into another system…”. Custom Actions is a flexible extension system that will allow you to do just that. Here are just a few examples of what can be accomplished:
- Automatically search your favorite search engine for a meta element.
- Push meta into other systems for additional analysis or automation action.
- Point and click searching of your favorite threat intelligence source.
Scenario: You are a senior incident responder at your organization, and one of your company’s help desk analysts reports strange behavior from an executive’s workstation. Luckily, this analyst is on his game and has provided you with a network capture from the workstation, which you import into Investigator for analysis. What are some tasks that I might want to do with this investigation?
- Perform an nmap scan of the executive’s workstation to ascertain what services are listening on the network.
- Perform a Google search of observed filenames.
- Perform a threat intelligence search of the target domain using the URLvoid service.
- Click on the Edit drop-down menu, and select Custom-Actions
Once you are here, you’ll see a GUI overview of the custom action system with a few examples. You may have a few in the list that were installed by default.
cmd.exe /K c:\PROGRA~1\nmap\nmap.exe -PN -sV –top-ports 1000 192.168.2.245
cmd.exe /K c:\PROGRA~1\nmap\nmap.exe -PN -sV –top-ports 1000 ${VALUE}
- Right click on the target IP and Select “NMAP Version Scan” from the list of Custom Actions.
- Watch it go!
http://www.google.com/search?q=dog
http://www.google.com/search?q=${VALUE}
For Task 3, we are going to use the same basic concept to search URLvoid.com for a domain’s presence on blacklists. Just like Google, we’ll start with a search on URLvoid:
http://www.urlvoid.com/scan/cnn.com
http://www.urlvoid.com/scan/${VALUE}
Once these have been added, we can then use them to quickly investigate our scenario:
Using the nmap scan custom action, we find that our executive’s workstation at 192.168.2.246 is listening only on ports that it should be per our company’s security policy. We see that our Google custom action reveals that the involved filenames are related to a known ZeuS trojan infection, and we know by our URLvoid results that this command and control server now appears to be down. This PC is compromised, so we then declare an incident and proceed with our incident response plans.
As you can see, custom actions are very easy to implement. These are simple examples, but with some effort, tools, a favorite scripting language, etc., the sky is the limit. You could do things like:
- As a Penetration Tester, launch a metasploit attack against a target IP with a right click.
- As a Firewall Administrator, add a firewall rule with a custom action feeding a script.
- As an Incident Responder, quickly add a domain name to a threat database.
Do you have a good idea or example for a custom action? Post about it in the NetWitness Community, we’d love to hear about it!
Happy Hunting!




