how to get User behavior of accessing Internet - Windows Mobile Development and Hacking General

Dear All:
I have a project involved to know about the event of accessing Internet.
such as ,Dialing ,GPRS Attach,wap downloading success rate,and loading duration. all these parameter can give a result of network quality. Does anyone know how to start it? Does any API or function can got it?
Thanks.

Does anybody know?

Related

Midlet programming and the XDA2 Camera

Hi,
Has anyone had any luck with writing Midlets for the XDA2? I'm trying to write one use the camera as a webcam (Yes, I know, a bit ambitious for my secomd midlet!)
I'm using this line:
Code:
Player vPlayer = Manager.createPlayer("capture://video");
I get a MediaException, meaning '...a Player cannot be created for the given locator.' (quoted from MMAPI JavaDoc).
Also, calling the Manager.getSupportedProtocols() method for 'mpeg/video' returns an empty list, as does calling Manager.getSupportedContentTypes() for 'capture://video'.
Has anyone else managed to access the XDA2 camera from a Midlet? If so, what is the trick?!!
cheers
Paul
I don't think anybody's managed to get access to it from native eVC++ let alone midlets, and IA style aren't revealing anything about how their app does it, so I wouldn't hold your breath for a solution... Bloody closed APIs.
Knackers!! :evil:
Cheers anyway! I'll keep poking and see what happens....
Paul
i suspect that their applications take pretty much control direct without using the winCE api
because when i start the cam my clock which it still display stop being 24h and turn to the AM/PM confusement

Registry Setting for O2 XDAII

Hi,
Basically I need to ensure that BEFORE the user accesses a certain web page that the below registering key is ALWAYS set to a value of "00000001"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\MyGPRSConnection
I want to put an icon on my pocket pc such that when I click it it sets the reg key for me - so essentially I need a "script" or "bat file" to do this.
Looking for "modreg.bas" on the web points me towards writing something in embedded VB. I've never done this before and don't have a clue where to begin.
Whats the IDE I would develop it in? Has anyone any code to do this? any help appreciated. [/quote]

Hook CreateProcess() function call

Hey,
is it possible to make a hook on the CreateProcess() function call
under WM5?
I want to develope a process blocker app. Currently I poll the process list
with CreateToolhelp32Snapshot() every second but this will
make to much cpu load and drains battery.
Has anybody experience in hooking functions on WM5?
Thanks!
Houser
Hi houser.
Sorry I don't have a link but if you look up mamiac's posts here you should find a source code for hooking CreateFile and some other functions.
I am fairly sure it can be adapted to hook other API as well.
I haven't seen mamiac on this forum for a long time, but he has his own site (once again sorry, I do not remember the address), check it out or try contacting him directly.
Thanks levenum,
have found the post about CreateFile hook from mamaich.
I will try to adapt this to CreateProcess.
Houser
I have found W32_CreateProc definition in psyscall.h and the API
set is SH_WIN32. But the API set has no server process where I can
inject my dll to. How can this work? Has anybody a hint for me?
Thanks!
Houser

Handy Sniffer v2.0

Hi IT people,
Handy Sniffer v2.0 has been released! It is cardinally altered.
11 protocol parsers are included and now anybody can develop new packet analyzers (.dll).
Unregistered version has a little restrictions but has no trial period.
You can find the program and module sample on our site.
http://winm-soft.atspace.com
Good Luck!
Great Release
Congratulations Alex, you managed to make cellular trafic capture, it's great news! Sorry that i didn't replyed to you about 1.6 but I had some personal problems that time. Anyway when we might expect WM5/6 version?
HS2 is specially designed for WM2003, WM5, WM6 and maybe smartphones (not tested). If there are some artifacts, ect. write me about it. I have WM5 and WM6 devices and HS2 and EDh work well. Play it! It is very great If anybody makes some additional protocol parser. Any ideas? Maybe some Instant Messenger protocol?
One more sample module
This is a sample module that can process each packet captured by sniffer. It replaces the main program module ("modules\hs_ether.dll") and calculates some Rx statistics. Maybe its source can be interested for somebody.
The link not work, now!
I clicked the previous link and all is ok. Copy is here.
Greetings AlexB,
I downloaded your program which sounds great. I installed the SDK certs and tried to get hsniffer running but it fails with an error message:
"Cannot activate the driver!" and then quits.
I'm using a HTC Kaiser with the latest official WM6 ROM from HTC.
If I start the program a second time, it starts without this error and if I click File->Tools->Adapters I get my adapters listed. Trying to start a capture generates the following error message: "Cannot get adapters list!"
Any hints? Did I miss something?
Hi c0rnholio,
I do not know why on some devices the sniffer cannot load the driver module (Windows\hsdriver.dll). The error 2 happens (ActivateDeviceEx, GetLastError, ERROR_FILE_NOT_FOUND) and next you see "Cannot activate the driver!". After this message the program works (you can open sample files) but cannot perform sniffing functions those need driver functionality. I think after this message the main window was behind and after next run you simply bring program window to top.
If anybody knows what causes such driver loading error I will be grateful for help. The program and driver are signed with SDK privileged certificate and it unfortunately does not help... **** happens.
Fixed it. The problem was that a GPRS connection was already established. After closing the existing connection the driver could be loaded and everything is working fine.
It is VERY strange! OK, if anybody ask me why HS does not work I'll say ask c0rnholio how need to do...
Hi,
i'm trying the new Handy sniffer into my TouchHD (Blackstone) but i can only get ARP packets (which are broadcasted). I also installed sdkcert as site advice, but nothing changes.
Alex, can you write down a list of devices which can capture in promiscuous mode?
In particular, how about Trinity and Blackstone?
Thanks!
sorry for my ignorance but what is the purpose of this? can i connect using gprs for free?
No, it's not for that purpose.
Handy Sniffer "Sniffs" (listen to) the traffic into a network. If working in "promiscuous mode" it can track down (and show to user) all the traffic (data in form of TCP packets) inside that network.
What's is supposed to?
There are many uses for this kind of tool, some legal and some ... "not legit".
While "sniffing" traffic of a given network, you can detect if someone is doing a unrightful use of the network, if an intrusion is being made, but also you can see passwords and other sensible data (like personal data).
It's like having a big hear cabable of listening network traffic. By itself, it can do nothing. It's up to the user to be capable of understanding packets of captured traffic.
So, forget a "stole the passwords" button. You'll not find it
woring with the HD2?
Hi, I have the HTC HD2, and I want to know if it was working with my phone?
I have actualy tried it, but the result was not good... (I only get ARP...).
thanks for any help
good for you guys, with my the HTC Kaiser I don't get anything...how do you do/set up the program
Thanks,
DOMy

Paranoid user (QuickGPS, eTrust Antivirus vs..)

Hi everyone,
I will be a little paranoid over here so don't take it hard on me =)
I've been using a i-mate k-jam for a long time and switched to touch hd on january. Interestingly the biggest similarity and annoyance for me was the softwares pre-installed to download some sort of data over internet and bugging every week to download new signatures/data and bugging even more if you fail to download.
eTrust found out to be useless and I can't really pinpoint why most handheld GPS devices doesn't really require to update this kind of information (Please correct if I'm wrong).
We might assume the transaction is a simple wget/http download which wouldn't carry any other information to the other party that someone from that IP downloaded something. But if there is a handshaking or at least some kind of a http post is inplace, it could be also sending a unique device idea which would let the guys in Taiwan track our devices our a map.
As I said I'm just being paranoid and making almost a conspiracy theory here but still the possibility exists.
So how can we be sure they are not sending any information out?
We can set up a proxy and mirror incoming traffic from a source ip (phones ip) and dump it with wireshark. Then we will need to define the proxy on our phone and click download.
Is there a wireshark/ethereal kind of packet capture software which can run on these devices? It could ease the job.
Reverse engineering the code? Not experienced in that but It should be quite small when the you think the job it supposed to do.
Any comments, thoughts, help, information - greatly appreciated.
BR, Kaya
You can disable Quick GPS if you want because it isn't necessary for the GPS.
It just speeds up the process of finding satellites.
why don't you just use a nokia 3210? that way you should be pretty safe lolol
philocritus said:
why don't you just use a nokia 3210? that way you should be pretty safe lolol
Click to expand...
Click to collapse
Only if you leave BT off JK
I've sort of resigned myself to the fact that using a smartphone exposes someone to a lot of security gaps. The best advice is to keep your bluetooth off / in hidden mode, as this is one of the easiest ways to get at your handheld's data. Moving up the paranoia scale, you can use that NoData program to disable your data connection except for when you really need at - that will prevent most third-party programs from dialing home. And if you're really worried about being tracked, I'd recommend just shutting off your phone when you have something private to do.

Categories

Resources