Specifying/modifying the MAC of a virtual adapter

From: Jojo Munkey (Jojo_munkey@hotmail.com)
Date: 02/01/03

  • Next message: Ryan: "Proposal?"
    From: "Jojo Munkey" <Jojo_munkey@hotmail.com>
    To: <pen-test@securityfocus.com>
    Date: Sat, 1 Feb 2003 03:37:20 -0500
    
    

    Hello to all you guys/gals, I have a couple questions about changing the
    Media Access Code for a virtual adapter [and a physical adapter] in a
    Windows XP environment.

    I am aware of a tool that can make use of the NdisReadNetworkAddress
    function, or rather, the particular registry extention in which it resides.
    My problem originates from the fact the adapter I need to redesignate is a
    virtual adapter miniport, so it doesn't initialize the 6-byte MAC the same
    way as a physical adapter. Is there a way I can change the MAC for this
    virtual device via a Windows DDK function call, or a way to edit the 6-byte
    code that is stored in the stack?

    I suspect the second way will be much easier, but getting access to a
    running memory register, I have little experience with that. Any
    tips/tools/pointers would be greatly appreciated. [I wish it was as simple
    as my Linux box, one line would have been it..]

    Arthur
    Jojo_Munkey@hotmail.com

    ----------------------------------------------------------------------------
    This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
    Service. For more information on SecurityFocus' SIA service which
    automatically alerts you to the latest security vulnerabilities please see:
    https://alerts.securityfocus.com/



    Relevant Pages

    • Re: ndis passthru basic question
      ... For Passthru there will be a virtual adapter "running" for each adapter that Passthru is bound to. ... On a system with one hardware NIC there may be other software-only NICs and there may be virtual NICs created by other components. ...
      (microsoft.public.development.device.drivers)
    • ndis passthru basic question
      ... ndis passthru. ... "This driver exposes a virtual adapter for each binding to a real or ... virtual NDIS adapter." ...
      (microsoft.public.development.device.drivers)
    • RE: NDIS IM driver DriverEntry called repeatedly with Window 2003
      ... I suspect that when you create a vlan on an adapter some ... kind of vlan virtual adapter is being created (by a lower ... above) your IM driver ... ...
      (microsoft.public.development.device.drivers)
    • Virtual adapter, change IP address through registry, enable/disable?
      ... I have a virtual adapter based on the NetVMini sample from the XP DDK. ... - internally set my connection status to "disconnected" (this is what my ... - make registry changes, as above ...
      (microsoft.public.development.device.drivers)
    • Re: PCI/ ChannelCHK error in Laptop
      ... My IBM Thinkpad Laptop is not displaying. ... Most equipment problems center around the motherboard, the RAM on a motherboard or on an adapter, or the cache memory on a motherboard or on an adapter. ... Remove any extra memory modules that are in the computer, leaving only the least amount that is required for the computer to start and run Windows. ...
      (comp.sys.laptops)