Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
jonasLyk's profile
Jonas L
Jonas L
Jonas L
@jonasLyk

Tweets

Jonas L

@jonasLyk

viking @the_secret_club

Joined February 2015

Tweets

  • © 2021 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Jonas L‏ @jonasLyk Jul 26

      Lets start with why file rename/move is such a strong exploitation primitve: Remember this: A files ACL get set when the file gets created. Its result ACL is depending on creation parent it inherit and creaters default ACL- unless specific ACL is specified on creation

      1 reply 0 retweets 8 likes
      Show this thread
    2. Jonas L‏ @jonasLyk Jul 26

      Unpriv users can create folders in C:\ .- they will be owner. There is no Recovery folder , so its easy to set things up so the file rename will be done a file we control

      1 reply 0 retweets 4 likes
      Show this thread
    3. Jonas L‏ @jonasLyk Jul 26

      So if i create a file- I am owner , if then SYSTEM moves it into system32- I am still the owner, no files have been created, so no ACL changes.

      1 reply 0 retweets 5 likes
      Show this thread
    4. Jonas L‏ @jonasLyk Jul 26

      There is a special condition here- that is, when this happens, we are not logged in yet... This makes some techniques impossible... So actually for real this calls for some serious creativity. lets ignore nat for now though.....

      1 reply 0 retweets 4 likes
      Show this thread
    5. Jonas L‏ @jonasLyk Jul 26

      What we wanna do is to redirect the files desination so in will get moved to a location we could not do our self. That location should then be trusted in a way that allows us to get the file executed under a higher privileged account.

      1 reply 0 retweets 6 likes
      Show this thread
    6. Jonas L‏ @jonasLyk Jul 26

      I still think my go to method for that works... when windows error reporting service runs as system it tries to load a not existing phoneinfo.dll from system 32. If not then every fucking gui process still desperately try to load the not existing edgegdi.dll .....

      1 reply 0 retweets 10 likes
      Show this thread
    7. Jonas L‏ @jonasLyk Jul 26

      The rename operation do not change the files destination though... How can we redirect the file move to another folder when we cannot transform the folder the existing file is in as it is not empty?

      1 reply 0 retweets 4 likes
      Show this thread
    8. Jonas L‏ @jonasLyk Jul 26

      Well... we dont have to! if we intially make the folder point to c:\temp\ the service will try to move c:\temp\file.exe to c:\recovery\file_s.exe

      1 reply 0 retweets 4 likes
      Show this thread
    9. Jonas L‏ @jonasLyk Jul 26

      if we then make an oplock on the file it open first- we can time it so that when we get the oplock callback, we know its now to change the junction folder so it now points to system32.

      1 reply 0 retweets 4 likes
      Show this thread
    10. Jonas L‏ @jonasLyk Jul 26

      We could also point the folder at "\RPC Control\" and in there make one symlink for source and one for destion. like this:pic.twitter.com/vqccARCQHA

      1 reply 0 retweets 6 likes
      Show this thread
      Jonas L‏ @jonasLyk Jul 26

      But this is all a crazy fantasy because in realitity it is impossible to create those symlinks or those oplocks- cuz they dont survive a reboot and we are not logged in yet.....

      3:30 PM - 26 Jul 2021
      • 3 Likes
      • Doctor Who 688AttackSub GRX78FL🛸
      1 reply 0 retweets 3 likes
        1. This Tweet is unavailable.
        2. Jonas L‏ @jonasLyk Jul 26

          We could also create the ntfs symbolic links on the recovery partition... Still needs admin though

          1 reply 0 retweets 6 likes
          Show this thread
        3. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2021 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info