{"id":6747,"date":"2019-09-06T23:54:19","date_gmt":"2019-09-06T23:54:19","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=6747"},"modified":"2019-09-07T00:01:21","modified_gmt":"2019-09-07T00:01:21","slug":"potential-tricks-using-new-apis","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2019\/09\/06\/potential-tricks-using-new-apis\/","title":{"rendered":"Potential tricks using new(?) APIs"},"content":{"rendered":"\n<p>Every once in a while I go on a hunt for new APIs. This is an impossible task, because I often discover APIs that are 10 years old, but I have never heard of them. Windows APIs are a bit of an art, a bit of a madness. <\/p>\n\n\n\n<p>I recently came across a description of the <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/synchapi\/nf-synchapi-sleepconditionvariablecs\">SleepConditionVariableCS<\/a> API.  Same goes with <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/synchapi\/nf-synchapi-sleepconditionvariablesrw\">SleepConditionVariableSRW<\/a>. Since both of them have a &#8216;Sleep&#8217; in name, I theorize that they could be used to bypass some of the sandboxes that hook many common &#8216;Sleeping&#8217; APIs and modify values passed to them &#8216;on the fly&#8217;, to speed up the analysis.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every once in a while I go on a hunt for new APIs. This is an impossible task, because I often discover APIs that are 10 years old, but I have never heard of them. Windows APIs are a bit &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2019\/09\/06\/potential-tricks-using-new-apis\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[43],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6747"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=6747"}],"version-history":[{"count":3,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6747\/revisions"}],"predecessor-version":[{"id":6751,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6747\/revisions\/6751"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=6747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=6747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=6747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}