EvilZone
Programming and Scripting => Other => : schizophrenic September 11, 2012, 12:07:34 PM
-
How to install and call a callgate to access I/O ports without teh privileged instruction exception? >:( >:( >:(
-
IF NOBODY ANSWER I'LL HAVE A HYSTERICAL ATTACK! >:(
-
If you want to access IO ports you will have to do it from ring 0. With all that "call gate" stuff I suppose you mean an interface from userland to kernel.
I don't know a lot about this, but I suppose you will have to code a driver or kernel module. Then, use it from your userland app.
-
IF NOBODY ANSWER I'LL HAVE A HYSTERICAL ATTACK! >:(
You're lucky ca0s is so patient. That was pretty immature I'm surprised you got a response.
-
You're lucky ca0s is so patient. That was pretty immature I'm surprised you got a response.
This.
He got a response because I posted without reading his second message.
-
How to install and call a callgate to access I/O ports without teh privileged instruction exception? >:( >:( >:(
How to install and call a callgate to access I/O ports without teh privileged instruction exception? >:( >:( >:(
I'm surprised you got an answer at all with a first post like this...how bout some pleases and thank yous? Where are your manners?! Just cause your (theoretically) anonymous on the internet doesn't mean you should be rude and demanding. Anyone who wants to ask for our help in the future, take heed. Honeyed words will get you much farther than rudeness.
Sorry for straying off topic, its just people being rude on the.net is one of my pet peeves...
-
I am asking for create and call a callgate because i am writing a trojan that access directly the hardware of display adapters and hard disks controllers but i want to create the trojan without a driver because i want that this trojan work at every OS! I am desesperate because i need to call a callgate but i got the access violation exception when i try to call far the callgate. Why it happen?
-
if i hear the word callgate again, ill shoot a toddler.
Learn how to ask, not demand.
-
but i want to create the trojan without a driver because i want that this trojan work at every OS!
The c-word-that-shall-not-be-named-for-the-sake-of-toddlers-everywhere is specific to x86 architecture which already limits your "every OS" list. Access to this (GDT etc) is restricted from userland on most OSs, regardless of user permissions which explains your error. Assuming no driver the only other way is to find an exploit that gives you the access. There where some of these some years ago (2.4 kernel or \Device\PhysicalMemory from about 2006 or so) but they were patched. But I'm no expert in such things, all of the above is from a few minutes of Googling.
-
You don't have enough skill. Learn more, then try again.
-
:( Why you say that i don't have enough skill! I already have enough skill in x86 asm and PC architecture that's why i don't need to learn more! >:(
I already install teh call gate but when call far the callgate i got a access violation exception at ffffffff!
-
:( Why you say that i don't have enough skill! I already have enough skill in x86 asm and PC architecture that's why i don't need to learn more! >:(
I already install teh call gate but when call far the callgate i got a access violation exception at ffffffff!
man, you talk like a child. you use emoticons like a child. and if you think you don't need to learn more, then why are you asking for help? if you knew it all you wouldn't need our help. I suggest some intensive googling sessions as Nexus seems to have found quite a bit with 5 mins of googling and he doesn't even claim to be an expert. So im sure with your expertise Google should be able to solve your problem for you in a heartbeat.
I know this isn't resolved...but can someone please lock it?