Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. A question for the Windows experts here.

A question for the Windows experts here.

Scheduled Pinned Locked Moved Uncategorized
2 Posts 2 Posters 0 Views
  • 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.
  • gabrielesvelto@mas.toG This user is from outside of this forum
    gabrielesvelto@mas.toG This user is from outside of this forum
    gabrielesvelto@mas.to
    wrote last edited by
    #1

    A question for the Windows experts here. Microsoft documentation claims that `DuplicateHandle()` can only duplicate pseudo-handles that belong to the process itself (such as the one returned by `GetCurrentProcess()`). However [1] contains an explicit warning that having `PROCESS_DUP_HANDLE` permissions to another process allows you to duplicate the pseudo-handle of that process. This grants you a handle with full permissions to that process. So which is which?

    [1] https://learn.microsoft.com/en-us/windows/win32/procthread/process-security-and-access-rights

    dysfun@social.treehouse.systemsD 1 Reply Last reply
    1
    0
    • gabrielesvelto@mas.toG gabrielesvelto@mas.to

      A question for the Windows experts here. Microsoft documentation claims that `DuplicateHandle()` can only duplicate pseudo-handles that belong to the process itself (such as the one returned by `GetCurrentProcess()`). However [1] contains an explicit warning that having `PROCESS_DUP_HANDLE` permissions to another process allows you to duplicate the pseudo-handle of that process. This grants you a handle with full permissions to that process. So which is which?

      [1] https://learn.microsoft.com/en-us/windows/win32/procthread/process-security-and-access-rights

      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systems
      wrote last edited by
      #2

      @gabrielesvelto vibes-based security

      1 Reply Last reply
      0
      • R relay@relay.infosec.exchange shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

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