aruba_networks:controller:arubaos_dhcp_fingerprinting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aruba_networks:controller:arubaos_dhcp_fingerprinting [2020/09/22 23:08] – aperez | aruba_networks:controller:arubaos_dhcp_fingerprinting [2020/09/22 23:25] (current) – aperez | ||
---|---|---|---|
Line 56: | Line 56: | ||
+ | ---- | ||
+ | |||
+ | **DHCP FINGERPRINTING WITH Aruba Instant** | ||
+ | |||
+ | With organizations encouraging corporate users to bring their own device to work; IT staff faces the challenge of differentiating between the devices. Aruba Instant’s Mobile Device Access Control can differentiate devices based on: | ||
+ | |||
+ | a) DHCP Fingerprinting | ||
+ | |||
+ | b) EAP Type | ||
+ | |||
+ | This guide provides background information on DHCP fingerprinting and walks through the configuration, | ||
+ | |||
+ | DHCP is a 4-step client – server exchange through which the client obtains an I.P. address and other network parameters such as gateway I.P. address, DNS server from the Server. Below diagram is an overview of client-server transaction. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Along with the actual request; the DHCP messages carry “DHCP Options” – a set of configuration parameters and other control information. | ||
+ | |||
+ | Below is an example of DHCP Options from a Windows 7 client’s DHCP Discover. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | As it can be seen in above example; all the DHCP Options are of the format:: [Option][Length][Value] where option is the Hex value of the Option number. Example :: Option 61 would be 3D in Hex. | ||
+ | |||
+ | |||
+ | Aruba Instant’s DHCP fingerprinting uses only the Option & Value. Example:: DHCP Fingerprint | ||
+ | |||
+ | |||
+ | The DHCP Fingerprinting is based on inspecting the DHCP options of DHCP Discover & Request i.e. client initiated DHCP traffic. | ||
+ | |||
+ | **Which Options are Useful?** | ||
+ | |||
+ | Below is the list of DHCP options which can be used for role derivation. | ||
+ | |||
+ | · Not all devices send all options. Example :: Apple Devices don’t send Option 60 | ||
+ | |||
+ | · Option 12 is configurable by end-user i.e. less reliable. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Environment: | ||
+ | |||
+ | The following software and hardware are used in this document to illustrate the concept and configuration steps. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Role assignment via DHCP-Option is available under Access tab of SSID configuration. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The role assignment can be validated by checking the Clients tab of the User Interface. In the below example; the first two clients have matched a rule and been assigned corresponding rule (Win7 & MLion). The third didn’t match any rule and was assigned the default role. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Note: When there are multiple rules which a client would matches; the first rule is used to derive role. Hence; the rules must be ordered from most specific to least specific.** | ||
+ | |||
+ | If a VLAN is mapped to the ROLE deriver via DHCP-Option; | ||
+ | |||
+ | Below is a table which includes fingerprints for major operating systems. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | **Sample Scenarios** | ||
+ | |||
+ | **GIVE SPECIAL PRIVILEGE TO A SPECIFIC USER** | ||
+ | |||
+ | There maybe instances where one specific user / set of users (example :: CEO’s cellphone) must be treated differently. | ||
+ | |||
+ | **WINDOWS DEVICES** | ||
+ | |||
+ | **Rule for Windows XP, Vista and 7** | ||
+ | |||
+ | All three OS versions send MSFT 5.0 for Option 60. | ||
+ | |||
+ | DHCP-Option value equal to 3C4D53465420352E30 can be used to classify all three latest Windows Client OS versions (i.e. XP, Vista & 7). | ||
+ | |||
+ | **Rule for Windows Vista and 7 alone** | ||
+ | |||
+ | DHCP-Option value equal to 37010f03062c2e2f1f2179f92b can be used to classify Windows Vista & 7 OS devices. | ||
+ | All Windows Devices from Windows 95 | ||
+ | |||
+ | A starts-with “37010f03062c2e2f" | ||
+ | |||
+ | **APPLE DEVICES** | ||
+ | |||
+ | iOS Devices | ||
+ | |||
+ | DHCP-Option value equal to 370103060f77fc can be used to classify iOS devices | ||
+ | |||
+ | **All Apple Devices** | ||
+ | |||
+ | A rule with DHCP-Option value starts with 370103060f77 can be used to classify all iOS and Mac OS X devices. | ||
+ | |||
+ | There can be two cases a) Clients hitting the wrong rule b) Client not hitting the rule. | ||
+ | |||
+ | For the case client hitting the wrong rule; ensure the rules ordered from most specific rule to least specific. This would ensure the client hits the right rule i.e. first match. | ||
+ | |||
+ | For the case of client not hitting the rule; we would need to validate if the DHC-Option value used in configuration is right. | ||
+ | |||
+ | With logging level set to debug for User category; Instant would be able to the DHCP fingerprint and role derivation information. | ||
+ | |||
+ | To enable debugging; navigate to Settings --> Show Advanced Options --> Syslog --> User --> Debug. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | With debugging enabled; the required information is available under “AP Log User” option under Support tab. | ||
+ | |||
+ | Optionally; the output can be filtered using “DHCP”. Below example shows role derivation for a client which matched “Win7” rule. | ||
+ | |||
+ | {{: | ||
+ | |||
aruba_networks/controller/arubaos_dhcp_fingerprinting.1600834136.txt.gz · Last modified: 2020/09/22 23:08 by aperez