Microsoft Research Detours Package VS chromium

Compare Microsoft Research Detours Package vs chromium and see what are their differences.

Microsoft Research Detours Package

Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form. (by microsoft)

chromium

The official GitHub mirror of the Chromium source (by chromium)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Microsoft Research Detours Package chromium
17 224
4,871 17,574
2.1% 2.6%
2.7 10.0
about 1 month ago 3 days ago
C++
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Microsoft Research Detours Package

Posts with mentions or reviews of Microsoft Research Detours Package. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-12.
  • AMD's Anti-Lag feature is getting gamers banned from Counter-Strike 2
    1 project | news.ycombinator.com | 17 Oct 2023
    Nit: AFAIU there is no literal modification of machine code going on—instead the import address table (IAT, the Windows counterpart of Linux’s GOT) is patched (the Windows tradition calls this “detoured”, from the quite popular Microsoft hack[1] that does it).

    [1] https://github.com/microsoft/Detours

  • Any sufficiently advanced uninstaller is indistinguishable from malware
    11 projects | news.ycombinator.com | 12 Sep 2023
    You essentially replace a function with your own. The project is at https://github.com/microsoft/Detours.

    I’ve created a PowerShell module that wraps this library to make it easier to hook functions on the fly for testing https://github.com/jborean93/PSDetour. For example I used it to capture TLS session data for decryption https://gist.github.com/jborean93/6c1f1b3130f2675f1618da5663... as well as create an strace like functionality for various Win32 APIs (still expanding as I find more use cases) https://github.com/jborean93/PSDetour-Hooks

  • #rescuerift
    3 projects | /r/Rift | 27 May 2023
    But the client is much different now, and most of that won't work anymore. The client is heavily obfuscated and you can't use a packet sniffer, the communications are encrypted, you CAN however use things like Microsoft Detours to peek at communications
  • Hooking 🪝
    1 project | /r/learnprogramming | 11 May 2023
    If you mean is there an API to perform hooking, then I think the answer is no. There are libraries for doing this, including the official MS one: https://github.com/microsoft/Detours
  • It looks like League of Legends' source code has leaked and is up for sale online
    1 project | /r/pcgaming | 25 Jan 2023
    That's how things like steam or Nvidia overlays work, or fraps or OBS hook the output buffer; you can use official packages published by Microsoft for that, such as Detours.
  • Having too many (1,000+) Microsoft Edge tabs open can break File Explorer in Windows 10
    1 project | /r/edge | 21 Jan 2023
    Inject a DLL into the process. The DLL hooks two API functions, RoGetActivationFactory() and RoActivateInstance(), using Detours library. When a WinRT class ID is passed in, compare it with WindowsUdk.UI.Shell.WindowTabManager, and if equal, return an error code.
  • Is it possible to edit the XAML of the Win11 Taskbar?
    2 projects | /r/Windows11 | 18 Jan 2023
    3. Manual hooking (Not recommended): It's possible to use some hooking library like Microsoft Detours to hook the functions responsible for creating the UI layout. I highly unrecommend this method as it's the most method prone to be broken by any change Microsoft does.
  • Is there a tool that you can attach to a game EXE file directly and it ll show you incoming and outgoing traffic for only that file?
    1 project | /r/REGames | 10 Nov 2022
    Reference: https://github.com/microsoft/Detours
  • Debugging C with Cosmopolitan Libc
    1 project | news.ycombinator.com | 24 Oct 2022
  • Using Landlock to Sandbox GNU Make
    10 projects | news.ycombinator.com | 7 Aug 2022
    > With regards to chroot, I stand corrected. I knew it was a tree of symlinks, but I thought it was also more than that because symlinks alone don't seem like a sandbox. Honestly, Cosmopolitan's system appears to be more of a sandbox than that.

    To be totally clear: the tree of symlinks thing is a fallback, used only when lacking platform support or when sandboxing is explicitly turned off [0]. On Linux, the normal sandboxing strategy is to use namespaces, like most container runtimes. On Mac it apparently uses sandbox-exec (some opaque Apple tool), as was mentioned above. Chroot, being both non-POSIX, requiring root access on many systems, and not providing the necessary facilities is not really a great fit -- which I assume is why it's not used.

    There was experimental Windows sandbox support at one point [1] based on how MS does it for BuildXL (their own build tool for giant monorepos) [2]. Unfortunately it doesn't seem to be maintained, and under the hood it's kinda ugly -- it actively rewrites code in-memory to intercept calls to the Win32 APIs [3], which was apparently the cleanest/best way MS could come up with. However, from Bazel's POV it works in a roughly similar way -- you spawn subprocesses under a supervisor, which is in charge of spinning up whatever the target process is with restrictions on time/memory usage/file access.

    On the "sandbox in the interpreter" thing: what kind of checks are you envisioning? It seems like putting checks at that level would end up leaving a lot out -- the goal of any build system is to eventually spawn an arbitrary process (Python, gcc, javac, some shell script, etc.) and so even with extensive checks in starlark you'd end up with accidental sandbox breaks all over the place. For pure starlark rules you could e.g. check that there are no inputs from /usr, but even then if gcc does it implicitly, you're SOL. Or am I thinking of the wrong kind of checks?

    [0] https://bazel.build/docs/sandboxing#sandboxing-strategies

    [1] https://github.com/bazelbuild/bazel/issues/5136#issuecomment...

    [2] https://github.com/microsoft/BuildXL/blob/master/Documentati...

    [3] https://github.com/microsoft/Detours/wiki

chromium

Posts with mentions or reviews of chromium. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-06.
  • Demystifying the Shadow DOM
    1 project | news.ycombinator.com | 9 Apr 2024
    One of the unexpected use of shadow DOMs for me was a document generated for image resource URLs [1], because the HTML standard apparently specifies the exact DOM structure of the generated document except for the `` element [2].

    [1] https://github.com/chromium/chromium/blob/f02ca73/third_part...

    [2] https://html.spec.whatwg.org/multipage/document-lifecycle.ht...

  • Detect when your installed Chrome extensions have changed owners
    8 projects | news.ycombinator.com | 6 Mar 2024
    Recently my favorite open source mouse gestures extension SmartUp Gestures was taken over by some shady entity (with github no longer being updated of course).

    I opened Chrome ticket that they should ask to re-enable extension when ownership changes. They just closed the ticket replying with this link:

    https://chromium.googlesource.com/chromium/src/+/main/extens...

    :(

  • Supermium – Chromium fork for Win 2003 and newer
    6 projects | news.ycombinator.com | 3 Mar 2024
    Hmm. It looks like files with the .lnk or .pif file extension can only be downloaded on a user gesture: https://chromium.googlesource.com/chromium/src/+/39841e54180...

    So it can't be done silently. Although, I do wish the type was marked "DANGEROUS" a la dll files.

  • New Linux glibc flaw lets attackers get root on major distros
    7 projects | news.ycombinator.com | 4 Feb 2024
    On Linux, Chromium uses setuid or user namespaces to restrict the access of sandboxed components and seccomp-bpf to reduce the kernel attack surface.

    Check out the Chromium docs on this topic: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/l...

  • Microsoft Edge ignores user wishes, slurps tabs from Chrome without permission
    7 projects | news.ycombinator.com | 31 Jan 2024
    You can also disable JIT in Firefox by setting javascript.options.baselinejit to false in about:config, although you won't get CET.

    [1] https://github.com/chromium/chromium/blob/12c232c43ce7324d30...

  • Apple Announces Changes to iOS, Safari, and the App Store in the European Union
    6 projects | news.ycombinator.com | 25 Jan 2024
    Chromium targets iOS already: https://chromium.googlesource.com/chromium/src/+/main/docs/i...
  • We build X.509 chains so you don't have to
    5 projects | news.ycombinator.com | 25 Jan 2024
  • Google Is Tracking You Even in Incognito Mode, New Disclaimer Is Up
    3 projects | news.ycombinator.com | 21 Jan 2024
    For the sake of completeness, I've traced the evolution of the notice over time:

    From 2008-07-26: "Going incognito doesn't affect the behavior of other people, servers, or software. Be wary of: / • Websites that collect or share information about you / • Internet service providers or employers that track the pages you visit / • Malicious software that tracks your keystrokes in exchange for free smileys / • Surveillance by secret agents / • People standing behind you" (https://chromium.googlesource.com/chromium/src/+/09911bf300f...)

    From 2013-12-07: "Going incognito doesn't affect the behavior of other people, servers, software, or people standing behind you." (https://chromium.googlesource.com/chromium/src/+/c5e36c57178...)

    From 2013-12-13: "However, you aren't invisible. Going incognito doesn't hide your browsing from your employer, your internet service provider, or the websites you visit." (https://chromium.googlesource.com/chromium/src/+/70821506825...)

    From 2014-02-27: "However, you aren't invisible. Going incognito doesn't hide your browsing from your employer, your internet service provider, governments and other sophisticated attackers, or the websites you visit." (https://chromium.googlesource.com/chromium/src/+/ab54bd65701...)

    From 2014-04-29: "Going incognito doesn't hide your browsing from your employer, your internet service provider, or the websites you visit." (https://chromium.googlesource.com/chromium/src/+/eb09a62ef40...)

    From 2016-01-15: "However, you aren't invisible. Going incognito doesn’t hide your browsing from your employer, your internet service provider, or the websites you visit." (https://chromium.googlesource.com/chromium/src/+/b7dac1a6a79...)

    From 2017-02-27: "Your activity might still be visible to: / • Websites you visit / • Your employer / • Your internet service provider" (https://chromium.googlesource.com/chromium/src/+/cfe102adddc...)

    From 2017-03-29: "Your activity might still be visible to: / • Websites you visit / • Your employer or school / • Your internet service provider" (https://chromium.googlesource.com/chromium/src/+/7ca3ccf74e8...)

    (Note that some of these were behind a feature flag for a few months.) Also, it looks like they've been intending to modify the new-tab page text for Incognito windows for some time, as part of the "Revamped Incognito NTP" project. You can view the modified text with 'chromium --enable-features=IncognitoNtpRevamp':

    From 2021-08-13: "What Incognito doesn't do / Incognito does not make you invisible online: / • Sites know when you visit them / • Employers or schools can track browsing activity / • Internet service providers may monitor web traffic" (https://chromium.googlesource.com/chromium/src/+/e6ae57ba385...)

    From 2022-01-25: "What Incognito doesn't do / Incognito does not make you invisible online: / • Sites and the services they use can see visits / • Employers or schools can track browsing activity / • Internet service providers can monitor web traffic" (https://chromium.googlesource.com/chromium/src/+/8b349f6c984...)

  • What Progressive Web App (PWA) Can Do Today
    5 projects | news.ycombinator.com | 8 Jan 2024
    Blink can now be compiled for iOS, but without JIT or WASM:

    https://chromium.googlesource.com/chromium/src/+/main/docs/i...

    https://bugs.chromium.org/p/chromium/issues/detail?id=141170...

  • People like me are why you shouldn't run a hosting company
    3 projects | news.ycombinator.com | 22 Dec 2023
    I think its weird that Vercel has this limit. There is no practical reason I can think of for having such a limit on URL characters that is so small. Chrome suggests a 2MB limit[0] for example. The platform itself doesn't have one, and Firefox I believe if memory serves (I can't find the source for this claim atm) is 1 MB effectively, and I don't think Safari is any lower than that either (and may well be more inline with Chrome on this, at 2 MB)

    [0]: https://chromium.googlesource.com/chromium/src/+/master/docs...

What are some alternatives?

When comparing Microsoft Research Detours Package and chromium you can also consider the following projects:

Mhook - A Windows API hooking library

ungoogled-chromium - Google Chromium, sans integration with Google

orbit - C/C++ Performance Profiler

WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

pe-sieve - Scans a given process. Recognizes and dumps a variety of potentially malicious implants (replaced/injected PEs, shellcodes, hooks, in-memory patches).

termux-packages - A package build system for Termux.

pmaudit - "Poor Man's Audit" (lightweight build-auditing script)

bromite - Bromite is a Chromium fork with ad blocking and privacy enhancements; take back your browser!

samurai - ninja-compatible build tool written in C

brave-browser - Brave browser for Android, iOS, Linux, macOS, Windows.

WidescreenFixesPack - Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.

gecko-dev - Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html