Why do you want to block the modem? AOL reported that last year, they had
200,000 customers sign up for dial-up access. Is it a security issue? Or
is it just that you don’t want people to use a modem? Without knowing the
problem, there’s no way to know how to answer the question.
SLIP, the Serial Line Internet Protocol, is an IP-over-modem protocol that
has been around since the early 1990s, and lots of people use it.
If you don’t want people to use a modem, don’t install one. If somebody
has one, it might just be because that is their only access to the
Internet, and they are not going to appreciate your attempt to isolate
them.
It also sounds like you are saying that you don’t want people to access
the modem except through your software. Why is it critical to deny the
use of the modem to programs other than yours? Note that if your software
opens a serial pirt, it has already denied access to any other software,
and this behavior is already built in.
Or, it sounds like a project was initiated, has achieved completion, and
due to a serious design oversight now has a problem for which this
proposed solution is nothing but a bad hack. All that discussion about
networks and virtual ports doesn’t explain how blocking access to the
device solves any problem.
I continue to be amazed and/or appalled at the number of people who seem
to want to disable and cripple machines. One response to the “I want to
disable sendinput to my game to prevent people from using macros”
rightfully pointed out that any number of physically handicapped people
would be denied access by such mechanisms. I just observed that it would
be a waste of time. So how does blocking a USB modem stop anyone from
using a modem that isn’t USB-based?
The New Hackers Dictionary (a repackaging of the MIT Jargon File) offers
the definition:
copy protection - A class of methods for preventing incompetent pirates
from stealing software and legitimate customers from using it. Considered
silly.
I think this can equally apply to the class of questions about “how do I
stop X from happening?” where X is considered a normal behavior by some or
most computer users.
Tell us what goal you want to achieve, and ask how to achieve that goal.
If you ask how to block access to a modem, it means you have decided that
is going to solve your problem. If this is a security issue, I suspect
that there are a couple dozen ways to bypass this once you have spent far
too much time and money implementing it. Don’t ask the question in terms
of an implementation choice (such as a filter driver). State the problem,
and ask if there is a technically-feasible solution to it. The solution
might be a filter driver, or it might be something else. Or it might
simply not be possible. But the people who can answer this question need
to know what the problem is, and why it is a problem. All you told us was
that you need to “block access” to a modem (and perhaps just the one model
you mentioned) and that a couple attempts failed.
I once consulted at a secure site. Their approach to security was epoxy
glue. They glued the keyboard and mouse connectors in place, and then
filled in all the other USB connectors with epoxy. It was expensive to
replace a failed keyboard or mouse (labor cost, primarily) but it was the
only acceptable way to achieve the goal. If you can’t maintain physical
security (not plugging a USB modem in is a good implementation) then the
rest is pointless.
joe
Hello,
I have got HUAWEI USB modem. I need to be able to block modem devices with
my device class filter driver. After all SW was installed for this device,
I observed several new devices in system. One is in modem class, another
one is virtual COM port and last one is virtual network adapter. Then
there is user mode application, which can connect modem to provider’s
network.
If I block device in modem class or disable it in device manager, network
is still functional, also connect/disconnect. It seems that object is not
used at all. If I disable virtual COM port or virtual network adapter,
then network is off. I observed that user mode application communicates
with one of COM port driver’s DO. So if I disable COM port, application
reports device is not available and I am not able to connect to network.
My question is how can I block modems with device class filter driver? If
I register as class filter driver in class Modems, then it has no impact.
On the other side if I register in class Ports, then I block all LPC and
COM ports, since I can not find the virtual one for modem. The same for
Network class, I can not find the right network adapter of modem. Is there
any solution for that?
Thanks.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer