Juniper Networks ScreenOS
Juniper Networks ScreenOS, formerly known as Juniper NetScreen Firewall, is real-time firewall hardware among a series of security devices that you can access through your local internet, or through the Juniper web console.
You can configure Juniper ScreenOS’ Integrated Services Gateway (ISG) to send syslog to your InsightIDR Collector in order to collect firewall events.
To collect ScreenOS ISG events from Juniper:
To configure syslog forwarding from your ScreenOS device:
- Sign in to your Netscreen Management console.
- In the left menu, expand the Report Settings tree and select the Syslog page.
- If you are using an older version of ScreenOS, navigate by Configuration > Report Settings > Syslog.
- Check the Enable Syslog box to enable syslog.
- Click the + plus button to add a new host.
- In the “Config” window, enter the IP address of your InsightIDR Collector.
- In the “Port” field, enter the unique port on your Collector that will accept these firewall logs.
- In the “Security Facility” dropdown, select the Local0 option. This option logs every single security event to syslog.
- In the “Facility” dropdown, select the Local1 option, which will capture events from all of the following levels:
- Local1 = Info
- Local2 = Notify
- Local3 = Warning
- Local4 = Error
- Local5 = Critical
- Local6 = Alert
- Local7 = Emergency
- In the “Transport” dropdown, select TCP as your option.
- Click the OK button. The syslog host will appear in the table.
- Click the Apply button to finish the configuration.
Create a Firewall Event Source
Now create the Juniper Networks ScreenOS event source in InsightIDR to ingest the logs.
To do so:
- From your dashboard, select Data Collection on the left hand menu.
- When the Data Collection page appears, click the Setup Event Source dropdown and choose Add Event Source.
- From the “Security Data” section, click the Firewall icon. The “Add Event Source” panel appears.
- Choose your collector and select Juniper Netscreen as your event event source. You can also name your event source if you want.
- Choose the timezone that matches the location of your event source logs.
- Optionally choose to send unfiltered logs.
- Configure your default domain and any advanced settings.
- Select Syslog as your data collection method, enter the port you specified in the Juniper configuration, and select TCP as your protocol.
- Download the Rapid7 Certificate and install it following the Juniper configuration here: https://kb.juniper.net/InfoCenter/index?page=content&id=KB4777.
- Click the Save button.
Verify the Configuration
After you finish creating the event source in InsightIDR, you should see logs appear in Log Search.
InsightIDR expects logs with the following format:
1<133>netscr_pri_01: NetScreen device_id=nsisg2000a [Root]system-notification-00257(traffic): start_time="2014-04-11 14:11:08" duration=0 policy_id=1245 service=syslog proto=17 src zone=Global dst zone=Global action=Deny sent=0 rcvd=390 src=184.108.40.206 dst=220.127.116.11 src_port=50000 dst_port=500 session_id=0 reason=Traffic Denied23<133>netscr_pri_01: NetScreen device_id=nsisg2000a [Root]system-notification-00257(traffic): start_time="2014-04-11 14:10:58" duration=9 policy_id=2051 service=http proto=6 src zone=Partners dst zone=DMZ action=Permit sent=817 rcvd=2293 src=18.104.22.168 dst=22.214.171.124 src_port=4000 dst_port=8080 src-xlated ip=126.96.36.199 port=4000 dst-xlated ip=188.8.131.52 port=8080 session_id=123456 reason=Close - TCP FIN4
The sample logs are from the Integrated Security Gateway (ISG) 2000a series of ScreenOS 6.0 devices.