开发者

Keylogger for non jailbroken iOS

Is it possible to record user keystrokes in the virtual keyboard of an iphone? (Like a spy/malware application?)

I know that other applications cannot run in background for indefinite t开发者_Python百科ime, but they can run for a finite period like 10 minutes. Question is that can, within this time frame, they listen to keyboard notifications and capture user's input?


No. Code would be

[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(textFieldDidChange:) name: UITextFieldTextDidChangeNotification object: nil];

but that only works within your program. NSDistributedNotificationCenter is not available in iOS, and even then, it wouldn't be active by default.

Also, Apple would prevent any means of keylogging on a technical level to start with.


Is it possible to record user keystrokes in the virtual keyboard of an iphone?

Yes, since the device allows the [malicious] program to access the accelerometer (which does not have a permission). See TapLogger: Inferring User Inputs On Smartphone Touchscreens Using On-board Motion Sensors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜