{"id":777,"date":"2009-04-08T09:42:05","date_gmt":"2009-04-08T13:42:05","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=777"},"modified":"2009-04-08T09:42:05","modified_gmt":"2009-04-08T13:42:05","slug":"how-to-identify-a-remote-device","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/how-to-identify-a-remote-device\/","title":{"rendered":"How to identify a remote device&#8230;"},"content":{"rendered":"<p>A relatively easy way to get a Mac address&#8230; On an unknown device without having physical access to the computer or device.\u00c2\u00a0 The only caveat is that the device must be on the local network, if it is not on the same subnet, you will not be able to get the MAC address of the device.<\/p>\n<p>So, assume you have some unknown device hanging off your network. How you came to know about it irrelevant. Maybe you noticed some unusual protocols or traffic volume, maybe you suddenly lost connectivity to an entire segment. The next step is finding out what the device is. Is it a regular PC? Some sort of server? A switch, or perhaps a router?<\/p>\n<p>Who made it?<\/p>\n<p>One of the first &#8211; and easiest &#8211; things to find out about a device is who made it. All you need for this is the MAC address (or at least its IP address, for starters), which you can then check against the IEEE&#8217;s Organization Unique Identifier listings at<a href=\"http:\/\/standards.ieee.org\/regauth\/oui\/index.shtml\"> http:\/\/standards.ieee.org\/regauth\/oui\/index.shtml.<\/a> If you only have the IP address, you can easily obtain its MAC address. Provided you&#8217;re currently on the same switched LAN and VLAN as your target device, all you need to do is create some traffic between yourself and your target. A simple ping will suffice. Then, retrieve the MAC address corresponding to its IP from your system&#8217;s ARP cache.<\/p>\n<p style=\"padding-left: 30px;\">C:\\&gt; ping -n 1 192.168.10.16<br \/>\nPinging 192.168.10.16 with 32 bytes of data:<\/p>\n<p>Reply from 192.168.10.16: bytes=32 time=4ms TTL=64<\/p>\n<p>Ping statistics for 192.168.10.16:<br \/>\nPackets: Sent = 1, Received = 1, Lost = 0 (0% loss),<br \/>\nApproximate round trip times in milli-seconds:<br \/>\nMinimum = 4ms, Maximum = 4ms, Average = 4ms<\/p>\n<p>C:\\&gt; arp -a 192.168.10.16<\/p>\n<p>Interface: 192.168.4.2 &#8212; 0x2<br \/>\nInternet Address\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 Physical Address\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 Type<br \/>\n192.168.10.16\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 00-0c-41-45-a9-d6\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 dynamic<\/p>\n<p>For a Macintosh, the ARP command would be:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 arp 192.168.10.16\u00c2\u00a0\u00c2\u00a0 (<strong>no -a<\/strong> <strong>flag<\/strong>)<\/p>\n<p>Now head over to <a href=\"http:\/\/standards.ieee.org\/regauth\/oui\/index.shtml\">http:\/\/standards.ieee.org\/regauth\/oui\/index.shtml.<\/a> The first three segments of the mac address identify the hardware manufacturers identity&#8230;\u00c2\u00a0 For example, 00-30-48 is manufactured by Sun Micro Computer&#8230;\u00c2\u00a0 The 00-0c-41 is made by &#8220;Cisco-Linksys&#8221;.\u00c2\u00a0 If the Mac address starts with &#8220;00-50&#8221;, it is an IAB, otherwise it is an OUI.<\/p>\n<p>What is an OUI?\u00c2\u00a0 It is an Organization Unique Identifier, in otherwords, it identifies what manufacturer made the product.\u00c2\u00a0 An IAB, is similar but has a small block for unique IDs&#8230;<\/p>\n<p>Once you have the manufacturer, it should be easier to be able to identify the mysterious hardware&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A relatively easy way to get a Mac address&#8230; On an unknown device without having physical access to the computer or device.\u00c2\u00a0 The only caveat is that the device must be on the local network, if it is not on the same subnet, you will not be able to get the MAC address of the <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/how-to-identify-a-remote-device\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[12,23,5,25,11],"tags":[65],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/777"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=777"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/777\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->