Author Topic: CALLGATE  (Read 6506 times)

0 Members and 1 Guest are viewing this topic.

Offline schizophrenic

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -1
    • View Profile
CALLGATE
« on: September 11, 2012, 12:07:34 pm »
How to install and call a callgate to access I/O ports without teh privileged instruction exception? >:( >:( >:(

Offline schizophrenic

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -1
    • View Profile
Re: CALLGATE
« Reply #1 on: September 12, 2012, 03:22:36 pm »
IF NOBODY ANSWER I'LL HAVE A HYSTERICAL ATTACK! >:(

Offline ca0s

  • VIP
  • Sir
  • *
  • Posts: 432
  • Cookies: 53
    • View Profile
    • ka0labs #
Re: CALLGATE
« Reply #2 on: September 12, 2012, 04:18:56 pm »
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.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: CALLGATE
« Reply #3 on: September 12, 2012, 08:01:37 pm »
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.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline ca0s

  • VIP
  • Sir
  • *
  • Posts: 432
  • Cookies: 53
    • View Profile
    • ka0labs #
Re: CALLGATE
« Reply #4 on: September 12, 2012, 11:05:44 pm »
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.

Offline Daemon

  • VIP
  • Baron
  • *
  • Posts: 845
  • Cookies: 153
  • A wise man fears a gentle mans anger
    • View Profile
Re: CALLGATE
« Reply #5 on: September 13, 2012, 01:14:10 am »
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...
This lifestyle is strictly DIY or GTFO - lucid

Because sexploits are for h0edays - noncetonic


Xires burns the souls of HF skids as a power supply

Offline schizophrenic

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -1
    • View Profile
Re: CALLGATE
« Reply #6 on: September 13, 2012, 11:07:25 am »
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?

Offline Chronic x

  • Peasant
  • *
  • Posts: 91
  • Cookies: 24
  • Former GMOD.
    • View Profile
Re: CALLGATE
« Reply #7 on: September 13, 2012, 11:16:24 am »
if i hear the word callgate again, ill shoot a toddler.
Learn how to ask, not demand.
Can't Stop The Crooks

Offline Nexus

  • Serf
  • *
  • Posts: 24
  • Cookies: 9
    • View Profile
Re: CALLGATE
« Reply #8 on: September 13, 2012, 02:35:20 pm »
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.

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: CALLGATE
« Reply #9 on: September 14, 2012, 03:57:42 am »
You don't have enough skill. Learn more, then try again.
>>>import this
-----------------------------

Offline schizophrenic

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -1
    • View Profile
Re: CALLGATE
« Reply #10 on: September 14, 2012, 09:52:33 am »
 :( 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!

Offline Daemon

  • VIP
  • Baron
  • *
  • Posts: 845
  • Cookies: 153
  • A wise man fears a gentle mans anger
    • View Profile
Re: CALLGATE
« Reply #11 on: September 14, 2012, 10:05:40 am »
:( 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?
This lifestyle is strictly DIY or GTFO - lucid

Because sexploits are for h0edays - noncetonic


Xires burns the souls of HF skids as a power supply