Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. my thread doesnt work

my thread doesnt work

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsonhelpquestionworkspace
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krauze
    wrote on last edited by
    #1

    Ive successfully injected my .dll file, using the native API NtCreateThreadEx(), into the system process, such as lsass.exe. But its strange that my codes in the .dll file just dont work. However, if I inject it into user processes, such as explorer.exe, that .dll file can work perfectly. So I just cannot get around this prob. Can anyone help? Thanx in advance! My developing environment is: VC2008 and Vista.

    J 1 Reply Last reply
    0
    • K Krauze

      Ive successfully injected my .dll file, using the native API NtCreateThreadEx(), into the system process, such as lsass.exe. But its strange that my codes in the .dll file just dont work. However, if I inject it into user processes, such as explorer.exe, that .dll file can work perfectly. So I just cannot get around this prob. Can anyone help? Thanx in advance! My developing environment is: VC2008 and Vista.

      J Offline
      J Offline
      Joe Woodbury
      wrote on last edited by
      #2

      Under Vista and Windows 7, security was increased for this kind of thing.

      K 1 Reply Last reply
      0
      • J Joe Woodbury

        Under Vista and Windows 7, security was increased for this kind of thing.

        K Offline
        K Offline
        Krauze
        wrote on last edited by
        #3

        Im wondering whether you could explain it to me in greater details .

        J I 2 Replies Last reply
        0
        • K Krauze

          Im wondering whether you could explain it to me in greater details .

          J Offline
          J Offline
          Joe Woodbury
          wrote on last edited by
          #4

          Vista and Windows 7 prevent code injection from lower to higher privileged processes for security reasons. http://msdn.microsoft.com/en-us/library/bb756960.aspx[^]

          1 Reply Last reply
          0
          • K Krauze

            Im wondering whether you could explain it to me in greater details .

            I Offline
            I Offline
            Iain Clarke Warrior Programmer
            wrote on last edited by
            #5

            Krauze wrote:

            Im wondering whether you could explain it to me in greater details .

            Just imagine if it was easy to do what you want to do. Now, I realise that you are a Saint who spends all winter bringing the homeless blankets and dinner, a regular Nobel peace prize winner [*], but I have an uncomfortable truth to give you... Not all computer people are as nice as you. Some of them are even bad people. And not just CPallini either! Iain. [*] A special prize to whoever recognises where I stolereused these lyrics from.

            I am one of "those foreigners coming over here and stealing our jobs". Yay me!

            N 1 Reply Last reply
            0
            • I Iain Clarke Warrior Programmer

              Krauze wrote:

              Im wondering whether you could explain it to me in greater details .

              Just imagine if it was easy to do what you want to do. Now, I realise that you are a Saint who spends all winter bringing the homeless blankets and dinner, a regular Nobel peace prize winner [*], but I have an uncomfortable truth to give you... Not all computer people are as nice as you. Some of them are even bad people. And not just CPallini either! Iain. [*] A special prize to whoever recognises where I stolereused these lyrics from.

              I am one of "those foreigners coming over here and stealing our jobs". Yay me!

              N Offline
              N Offline
              Niklas L
              wrote on last edited by
              #6

              It has to be Leann Womack! (Either I'm right and just know this kind of stuff, or Google is wrong)

              home

              I 1 Reply Last reply
              0
              • N Niklas L

                It has to be Leann Womack! (Either I'm right and just know this kind of stuff, or Google is wrong)

                home

                I Offline
                I Offline
                Iain Clarke Warrior Programmer
                wrote on last edited by
                #7

                You are correct. It really is a classic song! Full of perky jealousy! I already owe you a beer - you really should leave that southern region and come up where the real folk live so I can buy you two. Iain.

                I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                N 1 Reply Last reply
                0
                • I Iain Clarke Warrior Programmer

                  You are correct. It really is a classic song! Full of perky jealousy! I already owe you a beer - you really should leave that southern region and come up where the real folk live so I can buy you two. Iain.

                  I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                  N Offline
                  N Offline
                  Niklas L
                  wrote on last edited by
                  #8

                  Now that's the type of message I would rate a 5. Not due to the geographical insinuations. Nor the musical references. I don't really know, but it just appeals to me.

                  home

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups