Skip navigation
Fancy Defender evasion? Yet another method, nearly bare hands:
0:00 / 2:08

Fancy Defender evasion? Yet another method, nearly bare hands:

Grzegorz Tworek

@0gtweet39K followers

Visit on X
590 likesDownloadOriginal post

74,144 views

Fancy Defender evasion? Yet another method, nearly bare hands: 1. Export CurrentControlSet to a file 2. Edit path in a file 3. Import a file as new ControlSet 4. Change "Select" values to new one 5. Reboot 6. Enjoy 😎 A side effect of my "Registry internals" session yesterday 😅

11 Comments

Comments from the original post on X (Twitter)

  • Grzegorz Tworek's profile picture

    @0gtweet

    BTW if you think about responsible disclosure, the answer is quite simple: @msftsecresponse closes immediately reports related to Defender if you do not provide "Short explanation on how an attacker could use the information to exploit another user remotely".

    16 likes

  • imag0r's profile picture

    @imag0r

    You can get around pretty much all AVs this way. Addressing it would be super expensive performance wise. There’s really no good way to stop admins from doing nasty things.

    3 likes

  • Grzegorz Tworek's profile picture

    @0gtweet

    One RegNotifyChangeKeyValue() watching the Select key.

    2 likes

  • Daniel Mielczarek's profile picture

    @D4nM1elcz4r

    is that method work only on admin account or non-priveleged also?

    1 like

  • Grzegorz Tworek's profile picture

    @0gtweet

    Admin only, due to two reasons: 1. RegSaveKey() / RegRestoreKey() restrictions, 2. Permissions on HKLM\SYSTEM and HKLM\SYSTEM\Select

    10 likes

  • Advanced Persistent Dread's profile picture

    @theart42

    @UK_Daniel_Card really cool!

    1 like

  • Advanced Persistent Dread's profile picture

    @theart42

    could we run our own program instead? e.g. nsmpeng.exe ? snd would that have additional benefits?

    1 like

  • Grzegorz Tworek's profile picture

    @0gtweet

    Sure. You can add your own service after restoring the key. Or just edit paths in the binary file. Whatever is easier for you.

  • spencer's profile picture

    @techspence

    Lol nice

    1 like

  • Br3akp0int's profile picture

    @tccontre18

    @Sug4r7 this is awesome! I also have similar research in this persistence topic and I’m planning to release it later this aug.but I might release it soon because of this great research! 😊👍

    1 like

  • Grzegorz Tworek's profile picture

    @0gtweet

    @Sug4r7 And what about publishing your research in parts? :)

    1 like