Miner for Google IP Address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Miner for Google IP Address

L0 Member

Just in case anyone is looking for a miner to mine for Google IP address, here is a sample miner 

 

  • Google Services Miner

age_out
default: null
interval: 257
sudden_death: true
attributes
confidence: 100
share_level: green
type: IPv4
extractor prefixes[]
indicator ipv4Prefix
prefix google
source_name google.range
url https://www.gstatic.com/ipranges/goog.json

 

  • Google Cloud Miner

age_out
default: null
interval: 257
sudden_death: true
attributes
confidence: 100
share_level: green
type: IPv4
extractor prefixes[]
indicator ipv4Prefix
prefix google
source_name google.cloud
url https://www.gstatic.com/ipranges/cloud.json

2 REPLIES 2

L1 Bithead

I'm novice to configuring minemeld, do you have the full layout of the configuration, such as output and processor used? 
any guidance is appreciated. 

Thanks.

Thanks. I figured it out..

Because it is a Json format i copied the existing miner prototype, aws.AMAZON, which uses the CLASS, minemeld.ft.json.SimpleJSON. 

original strings are; 

age_out:
default: null
interval: 257
sudden_death: true
attributes:
confidence: 100
share_level: green
type: IPv4
extractor: prefixes[?service=='AMAZON']
fields:
- region
- service
indicator: ip_prefix
prefix: aws
source_name: aws.AMAZON
url: https://ip-ranges.amazonaws.com/ip-ranges.json

**** 

Per the previous suggestion, I replaced the following

extractor: prefixes[]       <<< changed
fields:                           <<< removed
- region                        <<< removed
- service                       <<< removed
indicator: ipv4Prefix      <<< changed
prefix: google               <<< changed
source_name: google.cloud   <<< changed
url: https://www.gstatic.com/ipranges/cloud.json     <<<<<< changed

 

As for the aggregator, I created a new prototype from  stdlib.aggregatorIPv4Generic and removed the following unnecessary lines; 

- actions:
- drop
name: drop all
whitelist_prefixes:
- wl

 

For the output, I created a new prototype from  stdlib.feedHCGreen and removed the following unnecessary lines; 

conditions:
- confidence > 75
- share_level == 'green'
name: accept confidence > 75 and share level green
- actions:
- drop
name: drop all

 

Hope this helps. 

-DR

 

  • 3747 Views
  • 2 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!